Truncating a table with a condition
Posted: Tue May 08, 2007 1:10 am
Hi,
I need to truncate a table based on a conditon.........For a column 'Input' There will be two values A and B. I need to truncate only for the value A.
Previously when there was no condition I used to use Stored Procedrue to truncate the entire table.........Now can I use SP with a condition to truncate the table.......
Please suggest me an
Thanks in Advance.......
Purush
I need to truncate a table based on a conditon.........For a column 'Input' There will be two values A and B. I need to truncate only for the value A.
Previously when there was no condition I used to use Stored Procedrue to truncate the entire table.........Now can I use SP with a condition to truncate the table.......
Please suggest me an
Thanks in Advance.......
Purush