HP NonStop SQL/MP Programming Manual page 292

For c
Table of Contents

Advertisement

SQL/MP Sample Database
Example A-1. COPYLIB File for Sample Database (page 2 of 3)
#pragma SECTION CUSTOMER
/* Record Definition for \SYS1.$VOL1.SALES.CUSTOMER
/* Definition current at 09:54:03 - 11/10/96
struct customer_type {
unsigned short
char
char
char
char
char
char
};
#pragma SECTION ORDERS
/* Record Definition for \SYS1.$VOL1.SALES.ORDERS
/* Definition current at 09:54:05 - 11/10/96
struct orders_type {
unsigned long
long
long
unsigned short
unsigned short
};
#pragma SECTION ODETAIL
/* Record Definition for \SYS1.$VOL1.SALES.ODETAIL
/* Definition current at 09:54:06 - 11/10/96
struct odetail_type {
unsigned long
unsigned short
long
unsigned long
};
#pragma SECTION PARTS
/* Record Definition for \SYS1.$VOL1.SALES.PARTS
/* Definition current at 09:54:08 - 11/10/96
struct parts_type {
unsigned short
char
long
long
};
HP NonStop SQL/MP Programming Manual for C—429847-008
custnum;
custname[19];
street[23];
city[15];
state[13];
postcode[11];
credit[3];
ordernum;
order_date;
deliv_date;
salesrep;
custnum;
ordernum;
partnum;
unit_price;
qty_ordered;
partnum;
partdesc[19];
price;
qty_available;
A-4
*/
*/
*/
*/
*/
*/
/* scale is 2 */
*/
*/
/* scale is 2 */

Advertisement

Table of Contents
loading

Table of Contents