Click here to Skip to main content
15,905,607 members
Home / Discussions / Database
   

Database

 
GeneralJoin Pin
Robert197420-Apr-04 8:10
Robert197420-Apr-04 8:10 
GeneralRe: Join Pin
-Dr_X-20-Apr-04 9:47
-Dr_X-20-Apr-04 9:47 
GeneralRe: Join Pin
Robert197420-Apr-04 10:19
Robert197420-Apr-04 10:19 
GeneralCorrection Pin
Jeff Varszegi21-Apr-04 7:38
professionalJeff Varszegi21-Apr-04 7:38 
GeneralSQL statement execution plan (SQL Server 2000) Pin
Xiangyang Liu 刘向阳20-Apr-04 4:35
Xiangyang Liu 刘向阳20-Apr-04 4:35 
GeneralRe: SQL statement execution plan (SQL Server 2000) Pin
Mike Dimmick20-Apr-04 6:11
Mike Dimmick20-Apr-04 6:11 
GeneralRe: SQL statement execution plan (SQL Server 2000) Pin
XiangYangLiu20-Apr-04 22:16
sussXiangYangLiu20-Apr-04 22:16 
GeneralRunning Oracle SQL DDL from the IDE Pin
Ranjan Banerji20-Apr-04 4:13
Ranjan Banerji20-Apr-04 4:13 
I have a Database project in which I put all my DDL code. I have a database connection for this project connecting to an Oracle database. Unlike when I am using SQLServer, my scripts do not run properly when I right click on a script file and say run.

If I have a simple select * from table then it runs. However the DDL such as:

CREATE TABLE "CMD"."TBL_BLAH" (
"BLAH_ID" VARCHAR2(38) NOT NULL,
"DESCRIPTION" VARCHAR2(50) NOT NULL,
PRIMARY KEY("BLAH_ID")
)
/

I get an error saying:

ORA-00922: missing or invalid option

The same runs on sqlplus.

Ok, so now I removed the / and it owrks. But I have a new problem. The DDL is actually:

CREATE TABLE "CMD"."TBL_BLAH" (
"BLAH_ID" VARCHAR2(38) NOT NULL,
"DESCRIPTION" VARCHAR2(50) NOT NULL,
PRIMARY KEY("BLAH_ID")
)

GRANT SELECT ON "Q"."TBL_BLAH" TO "BLAH_BLAH";

And now I get the same error again. Anyone know how to set these scripts up so that they can be run from the IDE?

Thanks.
GeneralRe: Running Oracle SQL DDL from the IDE Pin
RichardGrimmer21-Apr-04 2:27
RichardGrimmer21-Apr-04 2:27 
GeneralRe: Running Oracle SQL DDL from the IDE Pin
Ranjan Banerji27-Apr-04 4:10
Ranjan Banerji27-Apr-04 4:10 
GeneralRe: Running Oracle SQL DDL from the IDE Pin
RichardGrimmer27-Apr-04 4:38
RichardGrimmer27-Apr-04 4:38 
GeneralVisual Admin Tool for MSDE Pin
Michael P Butler20-Apr-04 2:37
Michael P Butler20-Apr-04 2:37 
GeneralRe: Visual Admin Tool for MSDE Pin
RichardGrimmer21-Apr-04 2:29
RichardGrimmer21-Apr-04 2:29 
GeneralRe: Visual Admin Tool for MSDE Pin
Michael P Butler21-Apr-04 2:54
Michael P Butler21-Apr-04 2:54 
GeneralRe: Visual Admin Tool for MSDE Pin
mtone5-May-04 4:55
mtone5-May-04 4:55 
GeneralNamed Commands in ADO from C++ Pin
[James Pullicino]20-Apr-04 1:19
[James Pullicino]20-Apr-04 1:19 
GeneralRe: Named Commands in ADO from C++ Pin
Mike Dimmick20-Apr-04 3:29
Mike Dimmick20-Apr-04 3:29 
Questioncan this query be optimized Pin
Anonymous19-Apr-04 22:55
Anonymous19-Apr-04 22:55 
AnswerRe: can this query be optimized Pin
Chris Meech20-Apr-04 5:33
Chris Meech20-Apr-04 5:33 
GeneralRe: can this query be optimized Pin
-Dr_X-20-Apr-04 10:06
-Dr_X-20-Apr-04 10:06 
GeneralRe: can this query be optimized Pin
Anonymous20-Apr-04 20:37
Anonymous20-Apr-04 20:37 
GeneralRe: can this query be optimized Pin
Chris Meech21-Apr-04 1:57
Chris Meech21-Apr-04 1:57 
QuestionHow to get 'IRowsetFind' interface in oledb sdk ! Pin
Member 74634419-Apr-04 18:43
Member 74634419-Apr-04 18:43 
GeneralSQL Server - Information Schema Pin
bdi00719-Apr-04 14:20
bdi00719-Apr-04 14:20 
GeneralATL/MFC in Extended Stored Procedures Pin
Jim Cutler19-Apr-04 6:29
Jim Cutler19-Apr-04 6:29 

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.