Click here to Skip to main content
16,011,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i wrote a program about database on SQL for setting up a data table ,the compiler showed a error ' there is a mistake near 'drop '' I can't find out the reason for the program isright,the wrriten is right. Please help me slove this problem.
create schema test authorition zhang
create table tab1 (col1 smallint,
col2 int,
col3 char(20),
col4 numberic (10,3)
);
drop schema zhang restrict
Posted

Check the syntax of DROP SCHEMA[^]

Besides, you should start from here http://www.w3schools.com/sql/[^]
 
Share this answer
 
There is no such datatype - "numberic"
try "numeric" datatype instead.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900