a guest Jun 25th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- drop procedure if exists SomeProc;
- create or alter procedure SomeProc
- as begin
- a = CONVERT(bit, 1),
- b = CONVERT(int, 2)
- drop table if exists SomeTable;
- select *
- into SomeTable
- from openrowset
- 'EXEC SomeProc'
- select * from SomeTable;
- from sys.all_columns
- where object_id = OBJECT_ID('SomeTable');
RAW Paste Data