Viewing 15 posts - 9,931 through 9,945 (of 49,571 total)
GilaMonster (2/24/2014)
Does the user executing that have permissions to create explicit tables in TempDB? Why permanent tables and not temp tables?
February 24, 2014 at 12:50 am
Ok, and what statement is failing where?
Does the user executing that have permissions to create explicit tables in TempDB? Why permanent tables and not temp tables?
February 24, 2014 at 12:42 am
Without seeing the script, no idea.
What report are you asking about the script for?
February 24, 2014 at 12:18 am
JohnNash (2/12/2014)
just wanted to check going forward (if data increases) will be a performance problem.
Honestly, there's no way to answer that question. Depends on too many factors.
Write the code, test...
February 24, 2014 at 12:12 am
Jim Arko (2/23/2014)
When using dynamic T-SQL you need to concatenate the variables.
SET @sqlstring = 'UPDATE table SET column = ' + @variable
Sure, if you want a nice little SQL Injection...
February 23, 2014 at 10:52 am
So why don't you post your thoughts and we can comment on them? As it is, it looks like homework and rather vague to boot.
February 23, 2014 at 10:49 am
Define 'not working'?
If you have a full database backup, there's nothing special that needs doing, at most all the files need the WITH MOVE clause, but nothing different between mdf...
February 21, 2014 at 1:41 pm
ALTER DATABASE (db_name) SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
Otherwise it waits for existing connections to disconnect and it's willing to wait forever.
And unless the DB was suspect, you don't need or...
February 21, 2014 at 12:56 pm
Ditch DTA. If you read the articles, I show how to identify the worst performance problems of what's in the trace, how to dig into the procedures and what you...
February 21, 2014 at 12:56 pm
Dird (2/21/2014)
Edit: I found out why it stops, DTA uses C: to store it's workings...is there any way to make DTA's temp folder be on a different drive?
Please don't tell...
February 21, 2014 at 9:24 am
ChrisM@Work (2/21/2014)
GilaMonster (2/20/2014)
February 21, 2014 at 9:15 am
Errr.... a copy-paste of an entire thread? Is there a problem/question here?
February 21, 2014 at 12:59 am
Step 1, parameterise that query
Step 2, read up on the .NET parameters collection and use it.
Step 3, read up on all the horrors of SQL injection attacks that you've now...
February 21, 2014 at 12:18 am
Please post new questions in a new thread. Thank you.
February 21, 2014 at 12:10 am
Viewing 15 posts - 9,931 through 9,945 (of 49,571 total)