Viewing 15 posts - 151 through 165 (of 252 total)
Huh... Seems like this might have expanded into a more general VM issue than a SQL Server issue. I hammered out the procedure that was running too long;...
October 10, 2013 at 12:56 pm
RTaylor2208 (10/9/2013)
October 9, 2013 at 7:42 am
On the low-salary front, I worked as a DBA/programmer for a pretty well-off company as my first real programming job. My wage was a grand $12 an hour, but...
October 7, 2013 at 9:03 am
As far as I know of, without building your query as a string and passing it to EXEC or (preferably) sp_executesql, this isn't possible, to the best of my knowledge....
October 3, 2013 at 2:54 pm
Not a problem. I had the same problem when I was working with BCP initially; drove me batty for a bit until I realized the double quotes need to...
October 1, 2013 at 12:06 pm
Unless I'm mistaken, you just need to escape the double-quotes in your BCP string; it should change from this:
DECLARE @cmd varchar(1000)
SET @cmd = 'bcp "SELECT ''blah"blah''" queryout "C:\bcpout.txt" -w -T'
EXEC...
October 1, 2013 at 11:59 am
Rawr! I did it! Worked a full 8 hours on the stupid query that made me quite grumpy yesterday, converting it into a much better SQL statement and...
September 27, 2013 at 4:10 pm
SQLRNNR (9/26/2013)
hisakimatama (9/26/2013)
Working with the company's vendor software, and one of the reports is coming across super-slow, about 10 minutes to retrieve...
September 26, 2013 at 2:52 pm
Aaaaaaargh... And now, I need to fume :-P.
Working with the company's vendor software, and one of the reports is coming across super-slow, about 10 minutes to retrieve about 150...
September 26, 2013 at 2:39 pm
Lynn Pettis (9/26/2013)
I was notified this evening that my position state side has been cut as...
September 26, 2013 at 12:37 pm
Lynn Pettis (9/26/2013)
hisakimatama (9/26/2013)
SQLRNNR (9/26/2013)
hisakimatama (9/20/2013)
September 26, 2013 at 11:24 am
SQLRNNR (9/26/2013)
hisakimatama (9/20/2013)
September 26, 2013 at 9:38 am
Jeff Moden (9/26/2013)
Jack Corbett (9/25/2013)
GilaMonster (9/25/2013)
Someone want to add a voice of reason to this?http://www.sqlservercentral.com/Forums/Topic1493948-391-1.aspx
I'd try but that tempDB thread has worn me out.
Is that the one where...
September 26, 2013 at 8:04 am
This article should be handy:
Create the DelimitedSplit8K function as detailed in the article, and CROSS APPLY it to your comma-delimited data, like so:
SELECT * FROM YourTable
CROSS APPLY YourDatabase.YourSchema.DelimitedSplit8K(YourTable.Lastname,',')
Replace the "Your"...
September 24, 2013 at 12:41 pm
Taking a crack at this... Try this article:
With a tally table, you could whip up something like this; note that my naming is a bit sketchy, because this...
September 24, 2013 at 11:02 am
Viewing 15 posts - 151 through 165 (of 252 total)