Viewing 15 posts - 211 through 225 (of 522 total)
One possible reason is ANSI_NULLS setting is different between 2000 and 2005 when the SP is created becuase you used @NextRO = null
Try to change it to @NextRO IS NULL
February 6, 2006 at 8:20 am
You need to use dynamic sql. First, build your name list firts by whatever way you want, then use the list to build the query. The pesuo code is like:
SELECT...
January 26, 2006 at 7:13 am
Yes. It's the single quotes. After removing it, it works. Thank you very much.
January 26, 2006 at 6:57 am
It's not necessary. Some DDL command and SET XACT_ABORT ON can cause a transaction is terminated outside of the try catch. The transaction is in the status of uncommitable, which...
January 25, 2006 at 8:23 am
Yes, I know the syntax is clear in the BOL. But it may depends on the provider.
Can you try the code in my original post on your machine, and let me know...
January 24, 2006 at 7:31 am
I can see the database option when I create a C# project. It may related to the install order of SQL server 2005 and VS 2005 (I am not sure)....
January 17, 2006 at 7:49 am
One more thing. EM and 2005 SSMS are client side app. EM cannot be used to connect to a 2005 server (you will get error). 2005 SSMS can connect to...
January 17, 2006 at 7:05 am
When you install SQL 2005 on a machine that has sql 2000, you can upgrade the sql 2000 instance or install a new sql 2005 instance. If you upgrade the...
January 17, 2006 at 7:01 am
it's supported. I tried and worked fine for me
January 16, 2006 at 2:48 pm
Can you check your sql sever version by running "select @@version" in query analyzer? It seems you are running sql server 2000 rtm without any service pack.
January 16, 2006 at 2:33 pm
What I said is local variables (including table variable @TableName). As for local temporary table (#Table), if you define the local temporary table inside a trigger, the scope of the...
January 16, 2006 at 7:40 am
UPDATE A SET ColC=B.ColC
FROM Tbl1 A INNER JOIN Tbl B
ON A.ColA=B.ColA AND A.ColB=B.ColB
January 13, 2006 at 7:27 am
Check whether there is a file test.trc under the c: drive in your server. If the file exists, sql server will fail to create the trace.
January 13, 2006 at 7:24 am
local variable's boundary is batch. It does not matter the calls shares the same connection or not if the calls are not from the same batch.
In client side, if you...
January 12, 2006 at 7:56 am
Viewing 15 posts - 211 through 225 (of 522 total)