Viewing 3 posts - 1 through 3 (of 3 total)
Hi
You can use sp_excutesql sp to create a dynamic sql
e.g sp_executesql(@sqlstmt)
note : @sqlstmt should be nvarchar(4000) maximum.
Another way is execute method.
e.g. exec (@sqlstr)
where @sqlstr contains the any executable select statement.
...
August 25, 2003 at 1:40 am
Hi!
This will solve your problem!!!
select a.id as Tableid,a.Name as TableName,b.name as colName,b.colid as colId,
d.name as constraintname,d.xtype as constrainttype , e.name
from ((((sysobjects a inner join syscolumns b
on a.id=b.id)...
August 25, 2003 at 1:36 am
HI!
what you can do in visula basic only save the field name in tag property of object. use a loop to check the value has been filled by the user...
June 1, 2003 at 7:38 pm
Viewing 3 posts - 1 through 3 (of 3 total)