Viewing 15 posts - 4,261 through 4,275 (of 5,394 total)
Nils Gustav Stråbø (5/20/2010)
Atif Sheikh (5/20/2010)
Dynamic SQL is the last thing to do
Dymamic SQL is the only efficient way (in my knowledge) to solve the problem with multiple optional parameters....
May 20, 2010 at 1:29 am
May 19, 2010 at 9:23 am
AndrewJacksonZA (5/19/2010)
crookj (5/19/2010)
I would also love to see the contents of the post to be included in the email.
That would definitely be a bonus since I often check my...
May 19, 2010 at 8:20 am
Unfortunately there's not a built-in tool to do that.
When I have to achieve the same thing I usually put the contants in a "global parameters" table.
To cut down the code...
May 19, 2010 at 4:07 am
Seems that people go through phases of posting and then stopping because of work.
Everybody does, but you! 😛
I'll be out the next three days. Family in town as my oldest...
May 18, 2010 at 7:39 am
The problem with first impression is that you can have only one.
May 17, 2010 at 7:49 am
No problem here, Jeff!
Your miracle is in my "cool sql stuff" folder, it won't get wasted!
May 17, 2010 at 1:14 am
Thanks for chiming in, Paul.
Your input is always welcome, especially when brings in something new!
I didn't know that syntax to specify column names for CROSS APPLY, thanks for sharing.
May 17, 2010 at 1:11 am
I love the site as it is, it's my primary resource for articles and forums.
I think I would like to see a special cathegory of articles focusing on business cases,...
May 14, 2010 at 8:55 am
As a side note, next time you ask for help, try providing a table script and sample data as I did in my reply.
You will find more people willing to...
May 14, 2010 at 7:12 am
PIVOT might do the trick for you:
DECLARE @test-2 TABLE (
SalesPart char(11),
WCDate datetime,
[Delivery Date] datetime,
Qtyint
)
INSERT INTO @test-2
SELECT '883/575/013',CONVERT(datetime,'21/03/2010',103),CONVERT(datetime,'21-MAR-10 00:00:00.000',113),4147 UNION ALL
SELECT '883/575/013',CONVERT(datetime,'21/03/2010',103),CONVERT(datetime,'22-MAR-10 00:00:00.000',113),1963 UNION ALL
SELECT '883/575/013',CONVERT(datetime,'21/03/2010',103),CONVERT(datetime,'23-MAR-10 00:00:00.000',113),2639 UNION...
May 14, 2010 at 7:09 am
Steve Jones - Editor (5/13/2010)
May 13, 2010 at 9:18 am
I read in MVP Deep Dives that Hyper-V seems to be good at performance, but I don't have hands-on experience.
My latest fight with a database engine on a virtual machine...
May 13, 2010 at 8:58 am
I think Celko does nothing to be pleasant, but Peter's reply is terrific.
May 13, 2010 at 8:37 am
I often hear people saying that VMs are great for databases, but, in my experience, this is a no-go. Probably I don't know enough about VMs to configure everything properly,...
May 13, 2010 at 8:12 am
Viewing 15 posts - 4,261 through 4,275 (of 5,394 total)