Viewing 15 posts - 5,251 through 5,265 (of 7,191 total)
Run that query from a query window. I think you'll find it returns more than one result set, and that's why your task is failing.
John
July 5, 2011 at 8:59 am
You've got three options, in ascending order of preferability:
(1) Use dynamic SQL
(2) Search this site for "splitter function" and use that two break your input string into a set of...
July 5, 2011 at 5:53 am
james.murphy (7/5/2011)
This I'm sure used to work, but no longer
James, please will you elaborate on this? Are there any error messages, for example?
Also, using UPDATE FROM will give unexpected...
July 5, 2011 at 2:55 am
Sanjeev
I don't know of any way of deleting other people's temp tables. I tried it once, without success. Even if there is a way, the best option is...
July 5, 2011 at 1:55 am
v.sreelekha (6/30/2011)
I want to execute this query in some data flow...
July 4, 2011 at 7:35 am
MG Chowdary (6/26/2011)
July 4, 2011 at 1:59 am
Also, how do you run the stored procedure? In other words, please give an example of what parameters you pass to it.
Thanks
John
June 24, 2011 at 5:23 am
Ah yes, good shout. Try this:
USE <InsertYourDBNameHere>
SELECT groupid, name, filename, size * 8.0/1024/1024 AS file_size
FROM sysfiles
John
June 23, 2011 at 7:51 am
OK, let's try this a different way. Please run this and post the results:
USE <InsertYourDBNameHere>
SELECT type_desc, name, physical_name, size * 8.0/1024/1024 AS file_size
FROM sys.database_files
Thanks
John
June 23, 2011 at 7:35 am
Brandie Tarvin (6/23/2011)
I'm assuming from your description that you only have log files on this drive. Is that correct or is John correct about you having database files there too?
Sorry,...
June 23, 2011 at 7:13 am
OK, the only way to guarantee you get the same order is by putting ORDER BY datum at the end of all your SELECT statements.
John
June 23, 2011 at 6:50 am
Is your database in Full recovery mode or Simple? If Full, how often do you back up your transaction log? How much of the 135GB is data file(s)...
June 23, 2011 at 5:23 am
The sys.sql_modules system view contains the full definitions for all functions and procedures. You can look for each table name in the command or definition column (I can't remember...
June 23, 2011 at 4:48 am
It's not about percentages - it's about how much free space you have in your database. There are different rules for how much space will be released from data...
June 23, 2011 at 4:45 am
Unless you use an ORDER BY clause, SQL Server will return the rows in whichever order it deems most expeditious. Often that will be in the order of the...
June 23, 2011 at 4:42 am
Viewing 15 posts - 5,251 through 5,265 (of 7,191 total)