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.

Answer Posted / suresh

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

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

609


What are diverse clauses that form a part of sql?

681


What is difference between sql and sql server?

614


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

1720


What is page in sql server?

594






What are the basic features of a trigger in ms sql server?

668


What is difference between inner join and join?

602


What is an index in a database?

618


How to transfer a table from one schema to another?

640


What are the differences between decimal and float in ms sql server?

654


What is wrong with sql server client libarary dll, ntwdblib.dll?

664


Which tcp/ip port does sql server run on? How can it be changed?

657


What is a sql join?

646


What is an identity?

645


What is default constraint?

622