Viewing 15 posts - 961 through 975 (of 1,988 total)
November 13, 2017 at 12:42 pm
Is it possible something modified [RISE].[dbo].[tb_CompaniesToRun] while the process was running? Since you're requerying that table every time you loop it's possible something was modifying those SP names while it was...
November 10, 2017 at 9:27 am
ManicStar - Thursday, November 9, 2017 11:44 AMPizza
Windowsill
November 9, 2017 at 11:53 am
Try changing the format of the input file from fixed width to ragged right, you shouldn't need a pre process step.
November 8, 2017 at 4:10 pm
November 8, 2017 at 2:40 pm
This might work better as a preprocess step as this kind of logic generally lends itself better to scripting languages if you don't have an easy way to identify header...
November 8, 2017 at 12:32 pm
Yes if you know the login/logins at fault you can certainly script out the grant/deny permissions on the objects in question.
November 8, 2017 at 10:14 am
November 8, 2017 at 8:42 am
Assuming Anl2 is actually a nvarchar type you need to put the 01 in single quotes '01' , what's happening is SQL Server is seeing 01 as a number so...
November 7, 2017 at 1:26 pm
I would definitely recommend number 3, let the OS handle the actual file management that's part of what it's there for after all. In the database store whatever meta data...
November 7, 2017 at 11:21 am
Maybe the DBA's didn't quite understand what you were asking? You are correct however if you already knowing certain columns will be unique adding more columns to that combination will...
November 6, 2017 at 2:41 pm
Just?
SELECT 'SELECT '+c.name+' FROM '+s.name+'.'+t.name+' WHERE FirstName = ''Desmond'''
FROM sys.columns c
INNER JOIN sys.tables t on c.object_id=t.object_id
INNER JOIN sys.schemas s on t.schema_id=s.schema_id
November 6, 2017 at 11:17 am
Viewing 15 posts - 961 through 975 (of 1,988 total)