Skip to Content
0
Former Member
Feb 28, 2011 at 08:09 AM

data base

17 Views

With SQL 2005

I have created a table TAB2

create table TAB2

( name varchar(30), age char(10))

I want to insert data in a table TAB2, i am doing

insert into TAB2 values ("Ajay", 15)

but it is showing error mssg:

The name "Ajay" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.

How should I go for it.