Viewing 15 posts - 4,186 through 4,200 (of 5,393 total)
You have to wite it as SELECT @variable = Field:
select @user-id = USerID where firstname = (SELECT SUBSTRING(@@UserName, 1, CHARINDEX(' ', @@UserName) - 1))
...
-- Gianluca Sartori
June 16, 2010 at 6:56 am
Grant Fritchey (6/16/2010)
I swear, about a third of our IT staff could fall into a bottomless pit and we wouldn't notice for a week.
Do we work for the same company?...
-- Gianluca Sartori
June 16, 2010 at 6:13 am
It does, indeed. The point is that many employers want their employees to sign NDAs or non-compete, but they don't know that this has to be explicitly paid. If those...
-- Gianluca Sartori
June 16, 2010 at 6:13 am
Your query hasn't changed, but maybe data did.
Are data volumes the same?
Are statistics up to date?
There's lots of things you could look into, I just named the first ones that...
-- Gianluca Sartori
June 16, 2010 at 6:06 am
Drop the primary key, or add to it all the fields that actually make up the key, if this applies.
Is there a better primary key fo that table?
-- Gianluca Sartori
June 16, 2010 at 6:04 am
Steve-3_5_7_9 (6/16/2010)
GilaMonster (6/16/2010)
Steve-3_5_7_9 (6/16/2010)
-- Gianluca Sartori
June 16, 2010 at 6:01 am
Dave Ballantyne (6/16/2010)
Damn Damn Damn, ive mislaid my sql magic wand.http://www.sqlservercentral.com/Forums/FindPost937995.aspx
Perhaps if i shouted at the server .....
Great! "I can't change the query, but, please, make it go faster!"
-- Gianluca Sartori
June 16, 2010 at 3:01 am
Totally different subject: I get 1 notification every 10 or 20 posts on THE THREAD.
Are you experiencing the same?
Maybe too many people subscribed.
-- Gianluca Sartori
June 16, 2010 at 2:25 am
Paul White NZ (6/16/2010)
WOOT!
:w00t:
Thanks to everyone that posted congratulations. 🙂
I'm thinking Italy should be no problem now. Do they even play football/soccer over there...
-- Gianluca Sartori
June 16, 2010 at 2:22 am
Jeff Moden (6/15/2010)
CirquedeSQLeil (6/14/2010)
Gianluca Sartori (6/14/2010)
Well done on the "Mentor" thread, Gail.Hope he stops.
It seemed to me that the argument was coming from one side today. It appeared that...
-- Gianluca Sartori
June 15, 2010 at 10:34 am
scott.pletcher (6/15/2010)
-- Gianluca Sartori
June 15, 2010 at 8:54 am
Paul White NZ (6/15/2010)
Jan Van der Eecken (6/15/2010)
Paul, Good Luck to New Zealand in their game against Slovakia in less than 4 hours from now.
Thanks Jan, I think we're just...
-- Gianluca Sartori
June 15, 2010 at 7:51 am
Well done on the "Mentor" thread, Gail.
Hope he stops.
-- Gianluca Sartori
June 14, 2010 at 8:53 am
It's not very clear to me.
Try posting some sample data and the desired output.
You could also try reading the article linked in my signature line, it will help you rephrasing...
-- Gianluca Sartori
June 14, 2010 at 8:47 am
Viewing 15 posts - 4,186 through 4,200 (of 5,393 total)