Viewing 2 posts - 1 through 2 (of 2 total)
I don't understand why this Statemant runs in SQLServer 2008
raiserror 22004 'The system cannot find the file specified.'
I have change it in SQLServer 2012 to
raiserror (N'22004 The system cannot...
July 29, 2014 at 8:45 am
#1733241
After changing to
if@exists = 0
begin
raiserror (22004, 'The system cannot find the file specified.')
return2
end
I got the following error:
Msg 102, Level 15, State 1, Procedure sp_SDMS_getfiledetails, Line 34
Incorrect syntax near 'The...
July 29, 2014 at 7:54 am
#1733211