-
insert into
I am inserting information into a table and the problem keeps saying I have an error. Where?
This is what I am writing -
Insert Into Employees
(firstname, lastname, title, age, salary)
values ('Jonie', 'Weber', 'secretary', 28, 19500.00);
-
What is the exact error message?
Probably the data type and values you passed don't match.
-
sql error message
The message I am receiving is:
Error occured.
Recheck your SQL statement.
Hopes this helps you in figuring out what I am doing wrong.
My table is
create table employees
(firstname varchar(15)
lastname varchar(20)
title varchar(20)
age number(3)
salary number(7,2));
-
your insert statement worked fine in ms-access and also in sql server.
what DB you are using?
-
Is your database case sensitive?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|