Viewing 15 posts - 45,196 through 45,210 (of 59,101 total)
Mike Levan (2/14/2009)
Guys...what do u mean by that." this probloem deos not apply to sql 7 or later"
It means that the myth of SELECT/INTO locking sysobjects so it can't be...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 11:59 am
bkDBA (2/13/2009)
I had a RBAR "discussion" with...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 11:50 am
gvsriramakrishna,
You must really like pork chops... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 11:46 am
Shawn Therrien (2/9/2009)
SELECT * FROM TestScores WHERE Score <> '0' AND ISNUMERIC(Score) = 0
Worked perfectly.
Thank you sir. Always a good day when I learn how to do away with...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 11:34 am
Vivien Xing (2/13/2009)
create table mytest (mytime int)
insert mytest values (91700)
insert mytest values (212000)
insert mytest values (90200)
insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 11:21 am
Then, I think Andrew's solution may be the best. If it was a text file input, you could simply do a BCP out using a simple SELECT and use...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 10:20 am
Wait a minute... is the goal to have every team play every other team twice (once at home and once away)? If so, just go get a bowling schedule...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 10:16 am
Andrew Reilly (2/13/2009)
But JeffNOTE: This problem does not apply to SQL Server 7.0 and later.
Heh... that's what I said... it's NOT a problem anymore.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 10:06 am
True in both cases. Thanks for the feedback, Sam.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 10:04 am
T2000 (2/13/2009)
Hey J, thanks for the reply anyway. If you can disable the dashes, I can do some more searches on this.Grtz,
T.
Cast the output as VARCHAR(DesiredColumnWidthHere).
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 10:00 am
Scope_Identity() will be null until you actually do an INSERT.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 9:58 am
TRACEY (2/13/2009)
Sorry Mode X Lock Type is KEY, STATUS GRANTSQL 2005
If the DBID for those locks is "2"... don't worry about it... that's TempDB.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 9:48 am
Mick Dugan (2/13/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 7:54 am
All of the xp/sp's kinda suck for the amount of information they give... try this...
CREATE PROCEDURE dbo.GetDirDetails
/**************************************************************************************************
Purpose:
Replacement code for the sp_GetFileDetails proc that was available in SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 7:47 am
Your example result line has no date on it and, maybe I'm being a bit thick, but I can't actually figure out what you want from your description. It...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2009 at 7:40 am
Viewing 15 posts - 45,196 through 45,210 (of 59,101 total)