Viewing 15 posts - 1,471 through 1,485 (of 6,036 total)
Create a job which will be recording status of xp_cmdshell into a table, say, every minute and enable it after each recording.
Analysing the records you may be able to figure...
April 28, 2016 at 8:06 am
cunningham (3/28/2016)
April 27, 2016 at 10:37 pm
ram302 (4/26/2016)
April 27, 2016 at 6:44 pm
Jeffery,
I made the following script from the pieces you've posted:
DECLARE @BatchIDas int
,@PreparedStatementas varchar(8000)
,@SourceServerName NVARCHAR (128)
,@SourceDBName NVARCHAR (128)
,@SourceSchemaName NVARCHAR (128)
,@PKTableName NVARCHAR (128)
,@Alias NVARCHAR (128)
, @PKColumnName NVARCHAR (128)
,@FKColumnName NVARCHAR (128)
,@ETLMappingIDAS int
,@SQL1as...
April 27, 2016 at 6:16 pm
Sorry, cannot see where did you answered this:
Does PRINT LEN (@preparedStatement) return >4000 ever?
Do you actually submit lengthy string to the UPDATE?
April 27, 2016 at 2:28 pm
BSavoie (4/27/2016)
Thanks for the response SSCertifiable. The order by also needs to choose the greater of AddDt & UpdateDt. I'll definitely try and get the nullability squared away.
As you said,...
April 27, 2016 at 2:19 pm
BSavoie (4/26/2016)
Only if there's a bug in the code.
Considering, ORDER BY clause is not the place where we fix bugs (if you cannot rely on quality of the code, a...
April 27, 2016 at 5:34 am
Jeffery Williams (4/26/2016)
Set @preparedStatement = @preparedStatement + ' ' + @sql1...
April 27, 2016 at 5:14 am
Can you post the full UPDATE statement?
Conversion could be caused by anything:
CASE, ISNULL, concatenation with NVARCHAR, etc.
Actually, inspect the execution plan - you may find where implicit conversion is...
April 26, 2016 at 10:33 pm
Logically - can UpdateDt be possibly less than AddDt?
April 26, 2016 at 5:25 pm
Rod at work (4/26/2016)
April 26, 2016 at 4:47 pm
Grant Fritchey (4/26/2016)
April 26, 2016 at 4:33 pm
davidlester.home (4/25/2016)
April 25, 2016 at 5:40 pm
Bhushan Kulkarni (4/25/2016)
Staging tables can be heap apart from tables storing configuration data which is very less in size.
I once saw a configuration data table which was occupying > 6GB...
April 25, 2016 at 5:13 pm
Thanks for posting the script.
You may not need many views from the same table.
Will a view like this work for you?
CREATE VIEW dbo.PersonProfile
AS
SELECT t.PersonID, 'Degree', t.Degree
FROM dbo. t
WHERE t.Degree...
April 21, 2016 at 11:49 pm
Viewing 15 posts - 1,471 through 1,485 (of 6,036 total)