Viewing 15 posts - 49,291 through 49,305 (of 59,091 total)
Make your life easy... import the date#time into a single column and replace the # sign with a space in the process of converting it to a real date/time.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 7:34 pm
Drat... I forgot you said you had a header row... you'll need to add a FIRSTROW = 2 to that...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 6:50 pm
Not quite... IDENT_CURRENT('table_name') takes a table name as it's operand and has no scope other than the table itself... trigger shouldn't affect it like it can @@IDENTITY.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 6:39 pm
Here's another way using one of the "new" functions in SQL Server 2005 and a Classic Cross Tab... this example would require two Pivot clauses and a join or two,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 6:35 pm
Steve Jones - Editor (7/9/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 5:48 pm
Thanks for the feedback, Tom. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 5:32 pm
Now, there's the 64 thousand dollar question! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 5:12 pm
Sure... here's a modified example from BOL...
BULK INSERT AdventureWorks.Sales.SalesOrderDetail
FROM 'f:\orders\lineitem.tbl'
WITH
(
FIELDTERMINATOR =',',
...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 5:04 pm
Lynn Pettis (7/9/2008)
PORK CHOPS!!!!! (lol) :w00t:Couldn't resist (well, I could have, but didn't want too!)
😎
Now THAT's entertainment! 😛 Haven't tried it yet, but I understand that Pork...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 4:45 pm
GSquared (7/9/2008)
Relational Theory is a wonderful thing, but every now and again (not more than ten or fifteen times per nanosecond), it runs into this...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 4:43 pm
Tom Hamilton (7/9/2008)
I was researching cross-tab like products and your postings come as one who knows how.
I need to produce a of Cases and comma-separated list of Jurisdictions, like...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 4:39 pm
Ummmm.... I use T-SQL and CmdShell... Once in a while, I may throw a little VBS into the mix... but everything else I do when I do DBA work is...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 4:17 pm
Dugi (7/9/2008)
So if you compare one MVP(SQL - and we have some infos how to become MVP) with one Software Engineer (SQL or Oracle Database) Graduate Master or...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 2:11 pm
webrunner (7/9/2008)
In your editorial you write, "I'm not sure why I was picked."
That's very humble. But as someone who has benefited from the SQL expertise that you and many others...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 2:06 pm
I just tell it to ignore at least 1 error...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2008 at 10:19 am
Viewing 15 posts - 49,291 through 49,305 (of 59,091 total)