Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exec (@SQLScript)
- Print @SQLScript
- End
- GO
- GO
- if obj is not null
- drop procedure
- go
- CREATE PROC
- @al varchar(16),
- @rule varchar(128)
- END CATCH
- GO
- GO
- If Exists (Select * From Table)
- Go
- Set @Start = DateAdd(m, 1, @Start)
- End
- GO
- GO
- Exec (@SQLScript)
- Print @SQLScript
- End
- GO
- if obj is not null
- drop procedure
- go
- CREATE PROC
- @al varchar(16),
- @rule varchar(128)
- END CATCH
- GO
- If Exists (Select * From Table)
- Go
- Set @Start = DateAdd(m, 1, @Start)
- End
- GO
Add Comment
Please, Sign In to add comment