Redian新闻
>
推荐一款复制纯文本的浏览器插件(IE, FF) (转载)
avatar
推荐一款复制纯文本的浏览器插件(IE, FF) (转载)# Internet - 有缘千里一线牵
J*a
1
【 以下文字转载自 Immigration 讨论区 】
发信人: Josephina (黑眼睛黑头发), 信区: Immigration
标 题: 给父母办绿卡期间他们可以入境吗?
发信站: BBS 未名空间站 (Sun Sep 19 15:48:33 2010, 美东)
姐姐在给父母办绿卡,130交了几个月了。父母现在在国内,明年二月想过来。不知道
这种情况应该怎么办?可以办签证入境吗?去签证的话,怎么处理移民倾向这回事呢?
哪个好心人有类似经历请指点一下,多谢啦。
avatar
y*9
2
Hi, SQL Server friends,
I run the following script, my question is why when I set implict_
transaction on, and I issued" begin tran", then execute an insert, I will
see TRANCOUNT=2?
note: I just start to learn sql server, I may ask some silly questions now
and then, thanks for your help!
------- script start------
USE testdata
GO
IF OBJECT_ID('t1','U') IS NOT NULL
DROP TABLE t1;
GO
CREATE table t1 (a int)
GO
-- IMPLICIT_TRANSACTION OFF - autocommit mode
INSERT INTO t1 VALUES (1)
SELECT 'Tran count in transaction'= @@TRANCOUNT -- see 0
GO
PRINT ' '
PRINT '#### Setting IMPLICIT_TRANSACTIONS ON'
GO
SET IMPLICIT_TRANSACTIONS ON
GO
PRINT ' '
PRINT '#### Use implicit transactions'
GO
-- No BEGIN TRAN needed here.
INSERT INTO t1 VALUES (4)
SELECT 'Tran count in transaction'= @@TRANCOUNT -- see 1
COMMIT TRAN
SELECT 'Tran count outside transaction'= @@TRANCOUNT -- see 0
GO
PRINT ' '
PRINT '#### Use explicit transactions with IMPLICIT_TRANSACTIONS ON'
GO
BEGIN TRAN
INSERT INTO t1 VALUES (5)
SELECT 'Tran count in transaction'= @@TRANCOUNT -- see 2 --- why???!!!
COMMIT TRAN
SELECT 'Tran count outside transaction'= @@TRANCOUNT -- see 1
GO
----- script end ----
avatar
j*y
3
【 以下文字转载自 Software 讨论区 】
发信人: jackstanley (等待黎明), 信区: Software
标 题: 推荐一款复制纯文本的浏览器插件(IE, FF)
发信站: BBS 未名空间站 (Thu Sep 18 14:02:33 2008)
复制纯文本是我们做的一款叫做”Select-n-Go"的浏览器插件中的一个功能,使用很简
单,选中任何网页中的文本,不要松开鼠标直到弹出菜单出现,选择“复制纯文本”即
可。
有时候复制纯文本还是很有用的,尤其是当你需要在文档、网页、邮件之间粘贴文字的
时候。这时候那些花花绿绿的带格式的文本能把人烦死。
下载ff插件:http://www.cleeki.com/firefox.html
下载ie插件:http://www.cleeki.com/ieplugin.html
have fun and thanks!
avatar
i*a
4
it becomes 2 transactions. one is from the server automated transaction from
implicit_transaction, other is from your own begin tran

【在 y****9 的大作中提到】
: Hi, SQL Server friends,
: I run the following script, my question is why when I set implict_
: transaction on, and I issued" begin tran", then execute an insert, I will
: see TRANCOUNT=2?
: note: I just start to learn sql server, I may ask some silly questions now
: and then, thanks for your help!
: ------- script start------
: USE testdata
: GO
: IF OBJECT_ID('t1','U') IS NOT NULL

avatar
y*9
5
Got it thanks. I learned that every "BEGIN TRANS" increment @@TRANSCOUNT by
1. In my case, there are explicit one and implicit one from the insert, so
the count =2.

from

【在 i****a 的大作中提到】
: it becomes 2 transactions. one is from the server automated transaction from
: implicit_transaction, other is from your own begin tran

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。