Forum Moderators: open
CREATE TABLE mikey (
frampton VARCHAR
);
insert into mikey
(frampton)
values ('firstvalue');
PS. I am intent on getting the import working because once I can get my code right - I can use copy and paste macros in a text document to get the thousands of rows of data in that I need very easily.
[sqlcourse.com...]
But the code doesnt work. Have you any idea why it could be? Is the code wrong or the interpreter.
(PS. I hope the url can stay - i have no affiliation with the website and just list it here to best illustrate my problem and what i am trying)
It is possible you will get an error saying that the table "mikey" already exists. So drop it (drop table mikey) and then start over.
I would guess that the table is not available for inserting right away (or the interpreter doesn't think it is). But, as was said previously, your sql is okay.
I have got the following working as well. SO I have figured out how to add more rows to my single column.
CREATE TABLE mikey (
frampton VARCHAR (255)
);
insert into mikey
(frampton)
values ('firstvalue');
insert into mikey
(frampton)
values ('secondvalue');