Viewing 15 posts - 1 through 15 (of 21 total)
Jeff
declare @t varchar(max) = cast(replicate('1', 8000) as varchar(max)) + char(13) + char(10) + replicate('2', 8000) + char(13) + char(10) + replicate('3', 8000) + char(13) + char(10) +'z'
Another...
July 1, 2019 at 1:52 pm
version - Microsoft SQL Server 2008 R2 (SP3-GDR) (KB4057113) - 10.50.6560.0 (X64) Dec 28 2017 15:03:48 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200:...
July 1, 2019 at 1:41 pm
I continue to periodically get only the last column returned for a table definition. I thought that putting the last CASE ELSE in the "Get the columns, their definitions and...
August 10, 2016 at 9:07 am
The master, NewDB, and OldDB are all SQL_Latin1_General_CP1_CI_AS.
I restored my template database (this is the one that we restore to setup new sites) and the header said it was...
April 20, 2016 at 12:55 pm
OK, think this has it working for all of my databases now. Put the string concatenation returned from ELSE into a SELECT - ELSE (SELECT .................. ). Got the idea...
April 20, 2016 at 12:27 pm
Sorry, I should have mentioned this in the original post. I got the latest from http://www.stormrage.com/SQLStuff/sp_GetDDL_Latest.txt V314. I also tried the version that returns a table (DDLa??)....
April 20, 2016 at 10:55 am
I am getting only the last column returned when i call sp_getddl with a tablename.
create table aaa (field1 varchar(1), field2 varchar(2), field3 varchar(3))
exec sp_getddl 'aaa'
If I comment out the...
April 20, 2016 at 9:17 am
test
April 19, 2016 at 10:13 pm
Do each of the sql files execute fully before the next one starts to run?
September 15, 2015 at 10:16 am
won't you get an error if you try to kill system processes?
February 10, 2015 at 5:32 am
I am a little confused. What would be an example of the procs purpose and what it would return?
August 28, 2014 at 3:09 pm
Realize ths is an old post. But it showed up first when I was reseraching my issue. So thought that I would post my answer.
OK. got this to work...
June 23, 2014 at 11:05 am
This worked for me. I did change 'SP_CONFIGURE 'Ole Automation Procedures', 1' to 'EXEC SP_CONFIGURE 'Ole Automation Procedures', 1' and changed the SELECT statement to 'select top 1 @File =...
April 22, 2014 at 2:45 pm
What version Powershell do you need to have for TRY CATCH? I have version 1 and it would not run this.
January 23, 2014 at 12:11 pm
How do you "Put the stored procedure under a shortcut. "?
October 11, 2013 at 10:33 am
Viewing 15 posts - 1 through 15 (of 21 total)