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 Inserting Values in to a table within the SQL Server forums, part of the Databases category; Hi Guys, I am new to this forum & new to database field aswell. May be this is a silly question from me but i am struck with this issue. ...
|
|||||||
| SQL Server SQL Server is a Database Management System(DBMS) by Microsoft |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi Guys,
I am new to this forum & new to database field aswell. May be this is a silly question from me but i am struck with this issue. I am trying to execute a insert statement and the query keep on executing looks like its not gonna end. Even if i select * from the table which i am trying to insert values it still says 'Executing Query'. Can anyone can help me with this. Regards, Kishor |
| The Following User Says Thank You to kish_db For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Inserting Values into a table
create table st(roll number(3),name varchar2(20),course varchar2(20));
inserting values into the table st insert into st values(1,'DAVE',null); insert into st values(2,'PETER','oracle'); null - if u want to insert empty value into the column don't put null in quotes,it will become value to check whether values inserted into table select * from st; |
|
|||
|
Re: Inserting Values in to a table
Syntax of inserting values into a table :
insert into table {table name} values(2,'John',10,'lahore'); After this the values get inserted into the various coulmns of the table in question. For checking the results please use the Select * from {table} query. Give me a shout if you have a doubt. Thanks! |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Add a new column to a table and insert values | Ajit Kumar Maharatha | Oracle | 11 | 12-12-2008 10:58 AM |
| Capturing values from a Table | chennaprashanth | QTP | 1 | 09-19-2008 08:18 AM |
| How to get values from one table | paoan1 | Oracle | 2 | 12-12-2007 05:49 AM |
| Link values to table | mapino | Data Warehousing | 0 | 10-16-2007 06:46 AM |
| Inserting column in existing table | svigneshwari | Oracle | 4 | 07-30-2007 10:31 AM |