Database MCQS - QUESTION DETAILS

Which statement is used to delete records from a table in SQL Server?
A. DELETE FROM table;
B. REMOVE * FROM table;
C. TRUNCATE TABLE table;
D. DROP TABLE table;

'DELETE FROM table;' is used to delete records from a table in SQL Server.

Similar Questions

Which MySQL statement is used to create a unique constraint on a column?






Which SQL Server statement is used to add a new row to a table?






What is the purpose of the Oracle SYS_GUID() function?






Which SQL Server statement is used to remove a user's privileges?






Which MySQL statement is used to change the structure of an existing table?






In SQL Server, what is the purpose of the SEQUENCE object?






In Oracle, what is the purpose of the DBMS_OUTPUT.PUT_LINE() procedure?






Which Oracle function is used to find the current user?






Which SQL function is used to find the length of a string?






Which MySQL statement is used to grant all privileges to a user?