Viewing 15 posts - 50,641 through 50,655 (of 59,078 total)
This is the same thing that I just went through... I thought for sure that my latest article was on something very obvious. It turns out that it's not...
May 10, 2008 at 7:32 am
Michael,
You have a line of code that looks like the following...
else if @s2>=@s1 and @s2 @f1
What is the missing operator after AND @s2?
May 9, 2008 at 6:41 pm
RyanRandall (5/9/2008)
Looks like another use for the 'tally' table...
Spot on... 😛
May 9, 2008 at 6:19 pm
jprakasam (5/9/2008)
Himy location table has N number of records.
Do you mean N number of Locations?
May 9, 2008 at 6:06 pm
I agree with Sergiy... however, sometimes you gotta do what ya gotta do.
Post your code so we can try things out...
May 9, 2008 at 5:48 pm
Would "context switching" work for you? Here's the example from Books Online...
-- Switch execution context to the dan1 user account.
EXECUTE AS USER = 'dan1';
-- Execute the DBCC statement.
DBCC CHECKDB...
May 9, 2008 at 5:46 pm
HENRY DAVIS (5/9/2008)
select * from SYSOBJECTS where name = 'table_name'
--(1 row(s) affected)
select * from dbo.table_name
--Server:...
May 9, 2008 at 5:19 pm
Just a recommendation... Like you said, use ISNULL... don't mess with the default server settings on this...
May 9, 2008 at 5:02 pm
There's a couple of chances this might work... "Slim and None"... and Slim just left 😛
May 9, 2008 at 4:58 pm
Things like that can be real tough to determine... thanks for the feedback! I'll have to remember that.
May 9, 2008 at 4:47 pm
Jon Russell (5/9/2008)
May 9, 2008 at 4:44 pm
ALZDBA (5/9/2008)
Jeff Moden (5/8/2008)
Hey! What kind of bike is in your avatar?
It's a 1995 Honda NTV650. (The little brother of the Pan European)
It's current evolution is known as "Deauville".
Quit...
May 9, 2008 at 4:33 pm
srienstr (5/9/2008)
May 9, 2008 at 9:50 am
dfalso (5/9/2008)
I was also attempting to argue that there are other considerations to keep in mind than just performance when coding.
I agree... just not if the solution requires a cursor...
May 9, 2008 at 9:27 am
Viewing 15 posts - 50,641 through 50,655 (of 59,078 total)