Viewing 15 posts - 44,821 through 44,835 (of 59,101 total)
NY153 (3/4/2009)
I needed for the left JOIN, so I can get...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 11:58 pm
Chirag (3/4/2009)
You cant do the Select & Update in a single query.
Ummm... I'm pretty sure you can... see Glenn's post above. That's one of the reasons I love SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 11:34 pm
Heh... must be budget planning time again. This should do it, John.... I'm using Master.dbo.spt_Values as if it were a Tally table...
DECLARE @Description VARCHAR(20),
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 11:30 pm
GSquared (3/4/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 11:14 pm
Punketal (3/4/2009)
That worked cheers mate...one more question, say I wanna take first and last year and skip all the ones in the middle?
Just curious... why would you need to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 11:12 pm
jungnaja (3/4/2009)
I personally prefer a<>b, but we have a senior programmer at work who loves not(a=b).....not(Is Null).....not(whatever). I can't just say it's difficult to debug the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 11:09 pm
Heh... it's easy and I'll tell you... right after you tell me why you'd want to do such a thing... you know... what are the business requirements that require this...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 10:52 pm
bicky1980 (3/4/2009)
Is anyone able to send me an example of a Format file to be used in conjuction with the BCP command to create a comma delimited text file which...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 10:47 pm
daredon28 (3/4/2009)
For Exporting data
bcp AdventureWorks.Sales.SalesOrderDetail out c:\Currency.txt -c -S student\sqlserver2005
Use IN instead of OUT to import data
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 10:45 pm
... and, no... sorry... I don't know how to write a script to do it for 300 different tables auto-magically... no way to know which columns make up the "duplicate"...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 10:40 pm
SQL_Quest (3/4/2009)
beezell (3/4/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 10:33 pm
saravanantvr1984 (2/26/2009)
how can we convert date(2009-02-26) format to this format Twenty-Second May Nineteen Nineteen Eighty Two?is it possible in 2000/2005?
Heh... two way street here... why do you need to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 8:03 pm
gresford (3/2/2009)
Thanks everyone! I greatly appreciate the help. Now I have a few options to try.
Actually, I'd avoid any that use a Recursive CTE or While loop as...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 7:32 pm
Heh... guess we're not gonna find out "why" on this one... I wish that people would finally figure out that this is a two way street.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 7:18 pm
John Mitchell (3/4/2009)
And don't worry about sounding demanding - I'll always give you the benefit of the doubt if English isn't your first language.
Good... you can have them all... I...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2009 at 7:01 pm
Viewing 15 posts - 44,821 through 44,835 (of 59,101 total)