Viewing 15 posts - 3,016 through 3,030 (of 7,191 total)
He didn't pass the parameters in, though - they're all output parameters. The values were got from the tables.
John
September 25, 2015 at 10:01 am
How have you tried making the whole thing dynamic? Did you use sp_executesql? Please will you post what you tried?
John
September 25, 2015 at 9:34 am
Sean, I think he's wanting to insert the values into tblVoting, and at the same time return the inserted values as output parameters. Obviously that'll only work if that...
September 25, 2015 at 9:07 am
Are you doing transaction log backups? How often? There's no need to change to simple mode and back again - just back up the log and shrink it...
September 25, 2015 at 8:46 am
Thanks Koen. As a production DBA, I prefer the methods that don't involve BIDS/SSDT, since I don't want to be opening packages in the design tools just to deploy...
September 25, 2015 at 5:14 am
Smells like a homework question to me. Have you looked at sqlcmd? If so, what have you tried? By the way, a folder contains subfolders and/or files....
September 24, 2015 at 6:54 am
jon.wilson (9/23/2015)
Number of People receiving their second speeding ticket during this time frame
4 Jun 06 -3 Jun 07
4 Jun 07 -3...
September 23, 2015 at 8:40 am
Why do a delete followed by an insert, instead of just doing an update? What is the nature of your random performance issues? Only use READ UNCOMMITTED if...
September 23, 2015 at 4:02 am
Another option is to drop indexes instead of disabling. Drop the non-clustered index, then drop the clustered index. Do your load, then recreate the clustered indexes followed by...
September 23, 2015 at 3:54 am
OK, paste that into your favourite search engine - you should get quite a few suggestions.
John
September 23, 2015 at 3:12 am
What is in the SQLAgent.OUT file? You can find the location by right-clicking on SQL Server Agent and choosing Properties.
John
September 23, 2015 at 2:28 am
Or, given that (I think) you only have five columns, you could bubble sort:
WITH MyTable (col1, col2, col3, col4, col5) AS (
SELECT 222, 444, 555, 111, 333
)
, FirstSort (col1, col2,...
September 22, 2015 at 8:44 am
Not if you're already on service pack 3, no. Are you sure it's not referring to a Windows service pack? Do you have any other instances on the...
September 22, 2015 at 8:16 am
Thiago
What happens if you try to use the GUI to drop the table?
John
September 21, 2015 at 8:31 am
Phil
I think it would be simpler. With Execute Process, you can use sqlcmd to execute the script from wherever it is. With another Execute SQL, you'd need somehow...
September 21, 2015 at 7:49 am
Viewing 15 posts - 3,016 through 3,030 (of 7,191 total)