Viewing 15 posts - 3,166 through 3,180 (of 5,394 total)
I suppose this is a stored procedure, isn't it?
Then you expect some kind of parameter. If it is a single char parameter, you will have to split it on commas...
May 26, 2011 at 8:01 am
This should do:
DECLARE @Procs TABLE (
Proc nvarchar(50)
)
DECLARE @Diags TABLE (
Diag nvarchar(50)
)
INSERT INTO @Procs
SELECT 'VALUE1'
UNION ALL
SELECT 'VALUE2'
UNION ALL
SELECT 'VALUE3'
UNION ALL
SELECT 'VALUE4'
INSERT INTO @Diags
SELECT * FROM @Procs
SELECT S.crn,
...
May 26, 2011 at 7:46 am
Koen Verbeeck (5/26/2011)
Gianluca Sartori (5/26/2011)
5) No 401k free money
I don't know what this is. Can you explain?
You don't get free money??? :w00t: :hehe:
After all, be lucky you are not freelancing...
May 26, 2011 at 7:22 am
Looks like a good place for dynamic sql and sp_executesql.
Have you tried that?
May 26, 2011 at 7:14 am
1) No paid vacation / sick time. (Unless you incorporate and pay yourself a monthly salary, but that's still iffy if you're doing one-off jobs).
In my case it will...
May 26, 2011 at 7:05 am
Stefan Krzywicki (5/26/2011)
Gianluca Sartori (5/26/2011)
Jeff Moden (5/25/2011)
Gianluca Sartori (5/25/2011)
No way, the Summit is too far and too expensive for me.Especially now that I'm moving into freelance consulting.
You have the right...
May 26, 2011 at 6:48 am
I suspect that the best option is coding a CLR assembly to replace the characters that don't match the pattern with a space.
T-SQL is not the best tool for this...
May 26, 2011 at 4:32 am
SELECT Name, MAX([Used Food]) AS Max_Used_Food
FROM SomeTable
GROUP BY Name
May 26, 2011 at 1:58 am
You can use this script to capture tempdb usage per active session and find the offending query:
http://www.sqlservercentral.com/scripts/tempdb/72007/
Probably one of your queries is not properly tuned and spills internal objects to...
May 26, 2011 at 1:36 am
Dave Ballantyne (5/26/2011)
Gianluca Sartori (5/25/2011)
No way, the Summit is too far and too expensive for me.Especially now that I'm moving into freelance consulting.
Echo those thoughts , i could only justify...
May 26, 2011 at 1:18 am
Jeff Moden (5/25/2011)
Gianluca Sartori (5/25/2011)
No way, the Summit is too far and too expensive for me.Especially now that I'm moving into freelance consulting.
You have the right attitude, Gianluca. You'll...
May 26, 2011 at 1:14 am
Viewing 15 posts - 3,166 through 3,180 (of 5,394 total)