Viewing 15 posts - 20,476 through 20,490 (of 22,202 total)
There are good examples in Books Online:
UPDATE dbo.Table2
SET dbo.Table2.ColB = dbo.Table2.ColB + dbo.Table1.ColB
,dbo.Table2.ColC = dbo.Table1.ColQ
FROM dbo.Table2
INNER JOIN dbo.Table1
ON (dbo.Table2.ColA...
May 2, 2008 at 1:31 pm
Also, both these are reviewed over at the SQL PASS Book Review SIG. Along with a bunch of others.
May 2, 2008 at 11:06 am
I've got two, one I've read and one I want to read:
Inside SQL Server 2005: T-SQL Querying
by Itzik Ben-Gan
It's just a wonderful book. I refer back to it regularly. The...
May 2, 2008 at 11:05 am
I'd suggest instead of spending your time trying to prop it up, you dive in and start refactoring it in bits and pieces to reduce the compile time and run...
May 2, 2008 at 11:01 am
Not arguing, just pointing out, Size06...Size24 is a pretty serious violation of 3NF. I'd think you could get the same results without that.
May 2, 2008 at 9:46 am
I'll give it a shot. If I end up in the hospital, after I get out, we're going to have a chat. 😛
May 2, 2008 at 9:28 am
dfalso (5/2/2008)
May 2, 2008 at 8:47 am
How did you know what I had planned for the week-end... 😀
I have to ask though, what's drowning breath exercise? While we do incorporate a lot of traditional stuff, including...
May 2, 2008 at 8:43 am
Use a function to turn the comma-delimited list into a table and then join against it. You'll get all the matches and it doesn't matter how long the list is....
May 2, 2008 at 7:01 am
Short answer: It depends.
Longer answer: It depends. Let's take an example. You're doing a load that's going to direct data to one of two tables, so there's an if statement...
May 2, 2008 at 6:58 am
Personal opinion, so please take with a grain of salt...
You should put the time in to learn how to do things properly in SSIS & SQL Server. That will serve...
May 2, 2008 at 6:53 am
You're in 2005 right? Although I don't advocate using ad hoc queries, if you have to, simply use NVARCHAR(MAX).
May 2, 2008 at 6:46 am
dheeraj17sharma (5/2/2008)
GETSTOCKLEDGER is just a user defined procedure with some input parameter. above i have describe just a single log which might have arise during the execution of captured statment...
May 2, 2008 at 6:42 am
dfalso (5/1/2008)
May 2, 2008 at 6:31 am
Oh, wait. I am an idiot. Here's the deal. The optimizer is smart enough to recognize that you're creating a table within the set when you execute the whole thing,...
May 2, 2008 at 6:19 am
Viewing 15 posts - 20,476 through 20,490 (of 22,202 total)