Hi everyone,
I am trying to create an SQL Table in Qtemp, but I receive a message saying:
Customers in Qtemp not valid for operation.
The funny story is that if I run the same sentence in my programmer’s library the table is created and I do not receive any message.
This is the testing code that I am running:
Create Table qtemp/Customers
(Custno Char(9) Not Null Default Primary Key,
Cfname Char(15) Default,
Clname Char(20) Default,
Caddr Char(30) Default,
Czip Char(5) Default,
Cphone Char(10) Not Null Default,
Cemail Char(50) Not Null Default,
Cdob Decimal(8,0) Not Null Default,
Cgender Char(1) Not Null Default)
Rcdfmt Custsrec
Thanks for any help on this.
Hi everyone,
I am trying to create an SQL Table in Qtemp, but I receive a message saying:
Customers in Qtemp not valid for operation.
The funny story is that if I run the same sentence in my programmer’s library the table is created and I do not receive any message.
This is the testing code that I am running:
Create Table qtemp/Customers
(Custno Char(9) Not Null Default Primary Key,
Cfname Char(15) Default,
Clname Char(20) Default,
Caddr Char(30) Default,
Czip Char(5) Default,
Cphone Char(10) Not Null Default,
Cemail Char(50) Not Null Default,
Cdob Decimal(8,0) Not Null Default,
Cgender Char(1) Not Null Default)
Rcdfmt Custsrec
Thanks for any help on this.
El viernes, 10 de agosto de 2018, 13:53:21 (UTC-6), Efrain Gomez escribió:
Hi everyone,
I am trying to create an SQL Table in Qtemp, but I receive a message saying: >>
Customers in Qtemp not valid for operation.
The funny story is that if I run the same sentence in my programmer’s library the table is created and I do not receive any message.
This is the testing code that I am running:
Create Table qtemp/Customers
(Custno Char(9) Not Null Default Primary Key,
Cfname Char(15) Default,
Clname Char(20) Default,
Caddr Char(30) Default,
Czip Char(5) Default,
Cphone Char(10) Not Null Default,
Cemail Char(50) Not Null Default,
Cdob Decimal(8,0) Not Null Default,
Cgender Char(1) Not Null Default)
Rcdfmt Custsrec
Thanks for any help on this.
Hi Mike,
Would it be possible you to explain more details about this constraint?
Thanks,
Efrain
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 76:31:49 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,734 |
Posted today: | 1 |