|
-
Feb 3rd, 2008, 09:05 PM
#1
Thread Starter
Frenzied Member
[2008] SQL Command, delete all values in a column, in a table
I have seen this sort of code:
Dim del As New SqlCommand("DELETE FROM Table1")
or
Dim del As New SqlCommand("DELETE FROM Table1 WHERE ID = 3")
(Delete From is the same as Delete * From as I have read in my tutorial)
but I want to do this:
Dim del As New SqlCommand("DELETE FROM Table1 IN COLUMN stringValues")
So it delete's all items added to stringValues.
Can anyone help me with this, I have searched for this with no success.
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|