Click here to Skip to main content
15,887,214 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to Insert a comma "," in the SQL SERVER? Pin
afronaut14-Jul-04 14:46
afronaut14-Jul-04 14:46 
QuestionHow to Insert a comma "," in the SQL SERVER? Pin
Anonymous26-May-04 11:59
Anonymous26-May-04 11:59 
AnswerRe: How to Insert a comma "," in the SQL SERVER? Pin
Garth J Lancaster26-May-04 12:56
professionalGarth J Lancaster26-May-04 12:56 
AnswerRe: How to Insert a comma "," in the SQL SERVER? Pin
Edbert P26-May-04 12:57
Edbert P26-May-04 12:57 
Generalstoring data into access Pin
DustinWehler26-May-04 8:18
DustinWehler26-May-04 8:18 
GeneralRe: storing data into access Pin
Mike Ellison26-May-04 10:45
Mike Ellison26-May-04 10:45 
GeneralRe: storing data into access Pin
afronaut14-Jul-04 14:42
afronaut14-Jul-04 14:42 
GeneralACCESS 2000 & SQL Pin
Bob Stanneveld26-May-04 5:30
Bob Stanneveld26-May-04 5:30 
Hello,

I'm trying to build a database. I'm using ACCESS 2000 to test my queries, but instead of a good start, I'm having a bad one...

When I tried to exucute one of my first queries if faild due to syntax errors. The query looks like this:

CREATE TABLE a
( col_a char(3) not null,
  col_b integer not null default('3'),

  primary key(col_a),
  foreign key(col_b) references b
    on delete no action
    on update cascade
);


The errors I say that I cant use DEFAULT and ON...

Now is my question: Is my syntax that bad, or do I need a complete DBMS (like SQL server 2000) to execute such advanced queries?

Thanks in advandce



A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.


GeneralRe: ACCESS 2000 & SQL Pin
Michael Potter26-May-04 6:51
Michael Potter26-May-04 6:51 
GeneralRe: ACCESS 2000 & SQL Pin
Bob Stanneveld26-May-04 6:57
Bob Stanneveld26-May-04 6:57 
GeneralRe: ACCESS 2000 & SQL Pin
Michael Potter26-May-04 8:19
Michael Potter26-May-04 8:19 
GeneralRe: ACCESS 2000 & SQL Pin
Bob Stanneveld26-May-04 8:29
Bob Stanneveld26-May-04 8:29 
GeneralRe: ACCESS 2000 & SQL Pin
Serge Lobko-Lobanovsky1-Jun-04 0:41
Serge Lobko-Lobanovsky1-Jun-04 0:41 
GeneralRe: ACCESS 2000 & SQL Pin
Bob Stanneveld1-Jun-04 6:02
Bob Stanneveld1-Jun-04 6:02 
General@@trancount problem Pin
williamchou25-May-04 21:01
williamchou25-May-04 21:01 
GeneralRe: @@trancount problem Pin
Venkatraman25-May-04 22:04
Venkatraman25-May-04 22:04 
GeneralRe: @@trancount problem Pin
williamchou25-May-04 22:10
williamchou25-May-04 22:10 
GeneralRe: @@trancount problem Pin
Hesham Amin25-May-04 23:51
Hesham Amin25-May-04 23:51 
GeneralRe: @@trancount problem Pin
williamchou26-May-04 0:03
williamchou26-May-04 0:03 
GeneralRe: @@trancount problem Pin
williamchou26-May-04 0:08
williamchou26-May-04 0:08 
GeneralRe: @@trancount problem Pin
Hesham Amin26-May-04 0:10
Hesham Amin26-May-04 0:10 
GeneralRe: @@trancount problem Pin
williamchou26-May-04 0:24
williamchou26-May-04 0:24 
GeneralRe: @@trancount problem Pin
williamchou26-May-04 15:54
williamchou26-May-04 15:54 
GeneralRe: @@trancount problem Pin
Hesham Amin26-May-04 21:36
Hesham Amin26-May-04 21:36 
GeneralNetworked SQL DB Pin
Jamie Kenyon25-May-04 13:39
Jamie Kenyon25-May-04 13:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.