Viewing 15 posts - 41,746 through 41,760 (of 59,102 total)
It's a mistake to do so. You'll be losing the date element forever. Instead of converting the BIGINT to VARCHAR etc, etc, convert it to a DATETIME and...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 3:06 pm
Bradley Jacques (10/1/2009)
Just wondering how many people actually use Common Table Expressions?
My answer is somewhere in between your two poll answers. It's like asking if someone writes derived table...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 3:01 pm
BrentMc (10/1/2009)
That's what I had too but it's the last bit where it's checking for rows that are not null that seems to take too long in a test...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 3:00 pm
Test 1 fails , 2 and 3 pass but 4 fails because the clustered index update that seth was seeing in his attempt of using a view.
Heh... I ran your...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 9:32 am
I just had a thought about this, Sally... can you add a calculated column to the table without it breaking the 3rd part app?
Another possible "trick" would be to make...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 7:55 am
naveenreddy.84 (10/1/2009)
I am running this on my local system and the file do exists in the path specified.Also, i can run this command through command prompt.
Like I said... the SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 12:25 am
I kind of figured it was something like that. I've run into that type of problem with 3rd party vendors more than once.
Anyway... glad it worked out and thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2009 at 12:23 am
It's a big complicated subject with many options. Anything I would write here wouldn't be any better than what's in Books Online. I recommend looking up "row versioning...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 11:24 pm
I'm all for POP (Proof of Principle) code... the problem is, that people don't make such code scalable to begin with. People want the code real bad and that's...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 11:07 pm
naveenreddy.84 (9/30/2009)
exec master..xp_cmdshell 'call E:\PROGRA~1\CA\SERVIC~\bin\bop_cmd.exe'
and i got following error: "The system cannot find the specified path"; but the file do exists
I need to understand...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 10:43 pm
It should work just fine as a script with the GO provided that GO starts in column 1. You cannot, however, do something of this nature in a stored...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 10:41 pm
Mark-459099 (9/25/2009)
for example
if a=0 and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 10:37 pm
Mark Marinovic (9/30/2009)
SET NOCOUNT OFF
INSERT mydb.dbo.foo
FROM 'C:\foo.txt'
WITH (
FIELDTERMINATOR =...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 10:28 pm
krypto69 (9/30/2009)
So, I never know what fields they could pick, they could pick any or all of the 400 columns.
Long...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 10:25 pm
sfletcher-933270 (9/30/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2009 at 10:07 pm
Viewing 15 posts - 41,746 through 41,760 (of 59,102 total)