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...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 13, 2005 at 1:15 am
http://www.sommarskog.se/error-handling-II.html
http://www.sommarskog.se/error-handling-I.html
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 13, 2005 at 1:08 am
See if this helps: http://www.sommarskog.se/dyn-search.html
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 12, 2005 at 6:54 am
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=61&messageid=173285 ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 12, 2005 at 6:40 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...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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... ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 12, 2005 at 2:04 am
What is the reason why you want to keep permanently this redundant information?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 12, 2005 at 2:03 am
wtf *?@3$%&"gr@| If someone complains, it's still enough time to remove it. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 12, 2005 at 1:31 am
Haha, Remi, thanks for correcting my on this. This shows how much I deal with UDF's. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
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. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 12, 2005 at 1:06 am
Viewing 15 posts - 586 through 600 (of 5,356 total)