I try to run the cr_tb.sql file using a different start.sql and get an unknown command beginning pid number... error message unknown command beginning pid number... strange thing is that when I just copy the contents of cr_tb.sql to SQL * Also, it works fine.
unknown command beginning pid number...
What am I doing wrong? (I posted dropbox links)
The root of the problem lies in the create table frclubs . IN
create table frclubs
table definition:
create table frclubs ( -- here they are pid number(2) not null, clubid number(2) not null, constraint cPIDCLUBIDPK primary key(pid,clubid), constraint fPIDFK foreign key(pid) references friends(pid), constraint fCLUBIDFK foreign key(clubid) references clubs(clubid) );
You have two options:
Delete blank lines in the create table frclubs DDL create table frclubs ;
Allow SQL * PLUS to ignore empty lines in the script SET SQLBLANKLINES ON script SET SQLBLANKLINES ON .
SET SQLBLANKLINES ON
Source: https://habr.com/ru/post/1497614/More articles:SignalR IAssemblyLocator does not cancel - signalrjava.lang.ClassCastException: [Ljava.lang.Comparable; can't be dropped - javaJavaScript document.createElement not showing up - javascriptHow to convert line offset to timepan in c # - timezoneiOS: add "Add" button to search bar - iosRunning capybara in the controller to check for several things, but can only run once - ruby | fooobar.comerror C2143: syntax error: missing ';' before '__stdcall' - c ++How does Dropbox monitoring work? - synchronizationHow to add an object to the three.js scene inside the click event handler? - javascriptConvert AudioBuffer to ArrayBuffer - javascriptAll Articles