hello
I am sure this is a simple Q, but I am not that familar with T-SQL so...
any how, I have dynamic tables taht I can fetch from this query:
SELECT NAME FROM SYSOBJECTS WHERE (NAME LIKE 'PW_OSSS%' OR NAME LIKE 'PW_OSPS%') AND TYPE = 'U';
and I need to run on them the Alter command
ALTER TABLE <dinamic table name that return from the select>MODIFY OSPS_IO_SUM NUMBER (18,6);
ALTER TABLE <dinamic table name that return from the select> MODIFY OSPS_IO_SUM NUMBER (18,6);
ALTER TABLE <dinamic table name that return from the select> MODIFY OSPS_IO_SUM NUMBER (18,6);
I would like to know how will I write the T-SQL transact (procedure) in order to be able to upgrade the column in the dynamic tables that return from the select query?
Thanks
I am sure this is a simple Q, but I am not that familar with T-SQL so...
any how, I have dynamic tables taht I can fetch from this query:
SELECT NAME FROM SYSOBJECTS WHERE (NAME LIKE 'PW_OSSS%' OR NAME LIKE 'PW_OSPS%') AND TYPE = 'U';
and I need to run on them the Alter command
ALTER TABLE <dinamic table name that return from the select>MODIFY OSPS_IO_SUM NUMBER (18,6);
ALTER TABLE <dinamic table name that return from the select> MODIFY OSPS_IO_SUM NUMBER (18,6);
ALTER TABLE <dinamic table name that return from the select> MODIFY OSPS_IO_SUM NUMBER (18,6);
I would like to know how will I write the T-SQL transact (procedure) in order to be able to upgrade the column in the dynamic tables that return from the select query?
Thanks
Comment