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

What is the difference between a Local temporary table and a Global temporary table? How is each one used?

2 Answers   HCL,


What is exporting and importing utility?

0 Answers  


How to find the date and time of last updated table?

3 Answers  


How important do you consider cursors or while loops for a transactional database?

0 Answers  


What is the New in SQL server 2008?

0 Answers  






What is dbcc updateusage?

0 Answers  


What are the benefits and tasks of object explorer? : sql server management studio

0 Answers  


What is RAID and what are different types of RAID configurations?

8 Answers   Wipro,


Explain syntax for disabling triggers?

0 Answers  


How to create a new schema in a database?

0 Answers  


there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration

0 Answers  


Please tell me some knowledge about Clustering and how to add clustering?

1 Answers  


Categories