SqlDbx
You are not logged in.
Pages: 1
Generate declare statements for a table.
Thanks for your time.
Last edited by zluis0 (2009-11-18 01:05:01)
Offline
I am not sure what you mean by "declare for a table"
Offline
For example:
--Table:
create table tb_objects(
c1 char(10),
c2 int,
c3 numeric(10, 2)
)
--Code generated:
declare @c1 char(10)
declare @c2 int
declare @c3 numeric(10, 2)
select @c1 = ''
select @c2 =
select @c3 =
Offline
Pages: 1