Let’s say the table in the database is named as
TBL_Register. The fields in this table include:
1. User_Name,
2. User_Telephone,
3. Register_Date
The field Register_Date stores the current date and time of
the registration.

Write the SQL statement that inserts the data into the
table.

Answers were Sorted based on User's Feedback



Let’s say the table in the database is named as TBL_Register. The fields in this table include: ..

Answer / suresh

insert into TBL_Register values
(@Username,@UserTeleNo,getdate())

Is This Answer Correct ?    8 Yes 0 No

Let’s say the table in the database is named as TBL_Register. The fields in this table include: ..

Answer / sachin rathi

insert into TBL_Register values
(@Username,@UserTeleNo,current_timestamp)

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More SQL Server Interview Questions

How to read 2nd highest sal from EMP table?

5 Answers   IBM, TCS,


How to create a user name in a database?

0 Answers  


Can the “if update (colname)” statement be used in a delete trigger?

0 Answers  


Hi all, can any one please tell me the difference between sql server 2008 and orace 9i

0 Answers   HP,


Do you know exporting and importing utility?

0 Answers  






What are the different types of backup avaible in SQL SErver

6 Answers   Emphasis, IBM,


What are the five major components of a dbms?

0 Answers  


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

0 Answers  


How do I find the sql server version?

0 Answers  


What do you mean by an execution plan? Why is it used?

0 Answers  


What happens to a trigger with multiple affected rows?

0 Answers  


What is difference between inner join and join?

0 Answers  


Categories