Viewing 15 posts - 25,681 through 25,695 (of 59,099 total)
sqlfriends@sql.com (8/17/2012)
I want to convert the column like as
Sometimes a better solution can be made if we know the reason why you would want to do such a thing....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 8:28 pm
dwain.c (10/9/2013)
And it can't split comma delimited strings as fast as DelimitedSplit8K.
As you said in your fine article, it's only because it was designed to do just one thing but...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 8:22 pm
dwain.c (10/9/2013)
Jeff Moden (10/9/2013)
Mike Saunders NL (10/7/2013)
I am running into a problem importing a string containing an array into a table.
My string looks like '[{mark,peters,mr}{jane,fonda,mrs}{john,doo,mr}{james,bond,mr}]'
I want to import this...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 8:19 pm
Mike Saunders NL (10/7/2013)
I am running into a problem importing a string containing an array into a table.
My string looks like '[{mark,peters,mr}{jane,fonda,mrs}{john,doo,mr}{james,bond,mr}]'
I want to import this into a temp...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 5:37 pm
diegoanckizes (10/9/2013)
That thing:EXEC('EXEC MASTER..XP_CMDSHELL ''BCP "SELECT * FROM [[db]]..[table]" QUERYOUT "C:\Users\processos\teste\TESTE.TXT" -t; -r -c -CRAW -U[user] -P[[pass]]''')
TY
You dont' need the double EXEC and you don't need the doubled-up brackets.
EXEC...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 5:08 pm
Eshika (10/9/2013)
Bellow is the code:
I think maybe not. The "C" derived table doesn't have the "townlist" column that have you in the update list. Also, why are you...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 5:00 pm
Can you post the xp_CmdShell call that you're using, please? I have a couple of ideas on the problem but I need to see that command. If it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 3:51 pm
diegoanckizes (10/9/2013)
I'm trying to create a file from a query executing xp_cmdshell with BCP command, but it does not finish. No error messages are shown. It keeps executing query forever....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 11:38 am
Eshika (10/9/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 11:36 am
PiMané (10/9/2013)
Some queries use UNIONs between two large tables. If on table was on PRIMARY FILEGROUP and the other table on my extra FILEGROUP would there be any advantage?
Unless you...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 11:29 am
mynkdby (10/9/2013)
Jeff Moden (10/6/2013)
J Livingston SQL (10/6/2013)
please see some code (still work in progress) below
the idea is to strip a csv column into separate columns:
the number of columns is indeterminate...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 9, 2013 at 8:03 am
Matt Miller (#4) (10/8/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2013 at 10:40 pm
dwain.c (10/8/2013)
EXEC (@UpdateScript)
And that is going to be highly prone to SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2013 at 8:33 pm
Tom Bakerman (10/8/2013)
It seems we've moved into the "Dating Your Employer" thread 🙂
Seems only natural... the original post was an interview question. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2013 at 3:47 pm
logitestus (10/8/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2013 at 3:36 pm
Viewing 15 posts - 25,681 through 25,695 (of 59,099 total)