03-27-2006 08:20 AM
03-27-2006 10:44 AM
I don't use the toolkit so I can't address the Update function there but if you use the SQL UPDATE command, the WHERE clause is optional. If you want to change every row to a certain value then it's UPDATE table_name SET column_name = expr.
I don't believe that SQL itself has a command to add a new column. The database you're using might have a method for doing it though. I know SQL Server does. You might be able to write a stored procedure to do this if you really need to.