Dropping : (Table structure + Data are deleted), Invalidates the dependent objects ,Drops the indexes
Truncating: (Data alone deleted), Performs an automatic commit, Faster than delete
Delete : (Data alone deleted), Doesn’t perform automatic commit
04 February 2011
Coders: UNIQUE constraints Vs UNIQUE index
Coders: UNIQUE constraints Vs UNIQUE index: "UNIQUE constraints Vs UNIQUE index"
Diff Between Function and Stored Procedure
A FUNCTION is always returns a value using the return statement.
A PROCEDURE may return one or more values through parameters or may not return at all.
A Function can be used in the Sql Queries.
A PROCEDURE cannot be used
A PROCEDURE may return one or more values through parameters or may not return at all.
A Function can be used in the Sql Queries.
A PROCEDURE cannot be used
Subscribe to:
Posts (Atom)