Viewing 15 posts - 586 through 600 (of 5,356 total)
Since DATEDIFF returns an Integer value, SQL Server tries to cast your @strSQL also to an INT, because INT has a higher precedence. What about this?
DECLARE @strSQL NVARCHAR(50)
DECLARE @MyDate DATETIME
Set...
April 13, 2005 at 1:15 am
See if this helps: http://www.sommarskog.se/dyn-search.html
April 13, 2005 at 1:07 am
Thanks Calvin, I've downloaded the book and will read it. At a first glance it's doable with a dictionary at my side.
The intellectual...
April 13, 2005 at 12:34 am
Not only that...
You can frequently observe the question why one cannot use GETDATE() inside a UDF. And equally frequent you will see someone suggesting to wrap GETDATE() inside a view...
April 12, 2005 at 6:54 am
From your sample data, is it possible that a product can appear in only one table, or do they always appear in both tables?
Without having a crystal ball in...
April 12, 2005 at 5:07 am
Thanks Phill!
Meanwhile I've read a bit closer into this copyfight thingy. Sad, but true. For now, I'll stick to this one...
April 12, 2005 at 4:12 am
It deletes ALL the data in the table without using the log file, regardless of recovery mode.
Slightly incorrect. TRUNCATE is minimally logged. The deallocation of the datapages actually is recorded...
April 12, 2005 at 2:12 am
Äh, yes?
Let's leave it here: http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=173895
April 12, 2005 at 2:04 am
What is the reason why you want to keep permanently this redundant information?
April 12, 2005 at 2:03 am
wtf *?@3$%&"gr@| If someone complains, it's still enough time to remove it.
April 12, 2005 at 1:57 am
Yeah, I don't like it, too, but it's the best I've found doing a quick search....I'll work on this.
April 12, 2005 at 1:31 am
Haha, Remi, thanks for correcting my on this. This shows how much I deal with UDF's.
April 12, 2005 at 1:15 am
Aah, now I understand. And although I personally think that's nothing but ridiculous, I have changed the avatar. I don't want to cause any trouble here.
April 12, 2005 at 1:06 am
Viewing 15 posts - 586 through 600 (of 5,356 total)