Viewing 15 posts - 286 through 300 (of 327 total)
Yes, something like that but please review the link posted above. There are many other issues that must be addressed and this article does a great job of explaining everything.
March 29, 2005 at 4:40 pm
Raiserror always returns its message directly to the client. So in this case an error in procedure ONE has already sent the error message to the client and Procedure TWO...
March 29, 2005 at 4:21 pm
Thanks to Remi and vhanda for pointing out the use of TOP 100 Percent as a fix.
As I recall the "bug" was the fact that it states "Order By" in...
March 29, 2005 at 2:53 pm
...select_statement
Is the SELECT statement that defines the view. It can use more than one table and other views. To select from the objects referenced in...
March 29, 2005 at 2:27 pm
Oh, I think your were clear. It's just that no one has an answer for you. I couldn't find anything in BOL that would help.
March 28, 2005 at 12:04 pm
It all works fine if the procedure setting the isolation level is the first procedure called and no other procedure changes the isolation level.
March 25, 2005 at 5:08 pm
First, I don't think you want to be using IDENT_CURRENT in this case becuse it will give you the latest identity value inserted for the specified table by any user...
March 25, 2005 at 10:40 am
The problem here is that if the isolation level is already higher (and you don't know it) by setting the isolation level to your desired need you may inadvertently be...
March 25, 2005 at 9:35 am
From BOL
Indicates user-provided text. The text between the /* and */ commenting characters is not evaluated by the server.
/* text_of_comment */
March 24, 2005 at 6:45 pm
Why? You don't know if the problem is RDO related and are you saying ADO is without its problems?
March 24, 2005 at 12:05 pm
Remi,
Can a stored procedure return a table to a calling sp?
thanks, ron
March 24, 2005 at 11:58 am
Just found your answer:
declare @v1 int
set @v1 = 25
set rowcount @v1
select * from MyTable Order by DateColumn
set rowcount 0
For a full explanation check this article:
March 23, 2005 at 2:39 pm
You may be able to get away with inserting a reasonable number of "TOP" rows (say 100) into a temp table with an ID column using a Cursor. Then select...
March 23, 2005 at 2:02 pm
Declare @sql varchar(1000)
set @sql = 'select top ' + cast(@num as varchar(10)) + ' * from YourTable'
exec (@sql)
You should search this site for articles about using...
March 23, 2005 at 1:27 pm
Viewing 15 posts - 286 through 300 (of 327 total)