## char *dbname; dbname = "データベース名"; ## ingres dbname
## exit
/* ------------------------------------------------------------ create sample ( code = i4, name = c255 ) --------------------------------------------------------------- */ ## int code, codelow, codehigh; ## char name[20]; ## condition[256]; /* 1 ---------------------------------------------------------- */ ## retrieve (name = table.#name) where table.#code = code /* 2 ---------------------------------------------------------- */ ## retrieve (name = table.#name) ## where table.#code => codelow and table.#code <= codehigh ## { タプルの数だけ繰り返されるc実行分 ## } /* 3 ---------------------------------------------------------- */ sprintf(condition, "table.code = %d", 1234); ## retrieve (name = table.#name) where contition
## replace table (#name = name) where table.#code = code
## append table (#code = code , #name = name)
## delete table where table.#code = code