What is the Magic Tables in Sqlserver2000?
Answer Posted / ashish sharma
create table uname
(
id int,
uname varchar(10)
)
create trigger insert_Uname
on uname
for insert
as
declare @nm varchar(10)
select @nm = uname from inserted
print @nm
so when we insert any record in the above table
the username will be get printed.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between data reader and data set?
Define table relations?
What are the ado.net objects?
Which name space is used to get assembly details?
What is difference between executenonquery and executequery?
What are the data access namespaces in .NET?
Which provider is used to connect ms access, oracle, etc…?
What is the difference between statement and preparedstatement interface?
What provider ado.net use by default? Explain the role of data provider in ado.net?
What are the steps you will take to improve performance?
Explain why canot we use multiple inheritance and garbage collector paralelly in .net?
What is ado.net in vb net?
What is commandbuilder in ado.net?
What are all the different methods under sqlcommand?
I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?