Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Syntax to insert data in the table within the Data Warehousing forums, part of the Databases category; Question asked by visitor Kishor How to insert value in SQL Table? I have created a table stime etime both of data type is datetime What is syntax of insert ...
|
|||||||
|
|||
|
Syntax to insert data in the table
Question asked by visitor Kishor
How to insert value in SQL Table? I have created a table stime etime both of data type is datetime What is syntax of insert the data in the table? |
| The Following User Says Thank You to Geek_Guest For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Syntax to insert data in the table
insert into <table name > column's name(column_1, column_2,....) values ('name','address',.....................);
example:- INSERT INTO EMPLOYEE_TBL (EMP_ID, LAST_NAME, FIRST_NAME, MIDDLE_NAME, ADDRESS, CITY, STATE, ZIP, PHONE) VALUES ('123456789', 'SMITH', 'JOHN', 'JAY', '12 BEACON CT','INDIANAPOLIS', 'IN', '46222', '3172996868');
__________________
-- Brijesh Jain Last edited by jainbrijesh; 05-02-2007 at 02:27 AM. |
|
|||
|
Re: Syntax to insert data in the table
Adding to the above friend's suggestion:
Use same above they mentioned the syntax. but value must be like '21-Sep-2007'
__________________
Thx SRIRAM N Hope Everything Good |
|
|||
|
Re: Syntax to insert data in the table
as our friend said the date format is must be in like '21-aug-2007' but it depends on the dbmsystem to verify which format is supported type the command
sysdate my friend sriram is it correct? ![]() please kindly mail me the correct one if it is worng
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| insert picture to table | rashinkar | Oracle | 9 | 04-25-2009 11:53 AM |
| Add a new column to a table and insert values | Ajit Kumar Maharatha | Oracle | 11 | 12-12-2008 10:58 AM |
| Display data in the form of table in Struts | Geek_Guest | JSP | 3 | 10-15-2008 02:39 AM |
| Retrieve data from emp table | Sampurna | SQL | 4 | 08-13-2008 08:07 AM |
| Syntax for Cascade Prompt | JobHelper | Data Warehousing | 0 | 12-21-2006 09:10 AM |