Microsoft
Software
Hardware
Network
Question : SQL Best way to delete multiple records from a database
If I have a table that has a million records. And I also have a text file list of one field in those records that is unique. Lets call it ID. What is the best SQL statement to do a delete for those records? Do I have to make a second lookup table or can i simple do something like:
DELETE FROM table_name
WHERE ID = {value1, value11, value34, value39}
the values are not consequtive so wondering if i can just paste all the values in the where statement or not nad what the connotation would be.
Answer : SQL Best way to delete multiple records from a database
DELETE FROM table_name
WHERE ID = in (value1, value11, value34, value39)
Random Solutions
disassociate a Label from a Text box
Outlook folders mysteriously missing
Startup the server remotely,
Server rebooting with Error code Error code 000000d1, parameter1 00000004, parameter2 d0000009, parameter3 00000000, parameter4 f737bb85.
max of date
import file lising into Access with VB
how can i in Java language update a VFP table dbf
the settings for this terminal server cannot be retrieved
SSIS dataflow task could not be created
can not add windows xp drivers into server 2008