mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-28 02:43:03 +01:00
536d8c0552
New helper class created to serve it properly. 2. Added exception re-raise semantics. Syntax: EXCEPTION; If there was handled exception, re-initiate it, otherwise evaluate to no-op. 3. Implemented run-time exception messages. Syntax: EXCEPTION <exception_name> [<value>]; If <value> is specified, evaluate it and use instead of RDB$EXCEPTION_MESSAGE. 4. Added new SQLCODE and GDSCODE system variables. Available in procedures/triggers only. If there wasn't any exception raised, return zero (success), otherwise return an error code. 5. Implemented ROWS_AFFECTED system variable. Available in procedures/triggers only. Count rows affected by the last INSERT/UPDATE/DELETE statement. For any other statement, result is always zero.
250 lines
4.7 KiB
C
250 lines
4.7 KiB
C
#define ACTIVE 257
|
|
#define ADD 258
|
|
#define AFTER 259
|
|
#define ALL 260
|
|
#define ALTER 261
|
|
#define AND 262
|
|
#define ANY 263
|
|
#define AS 264
|
|
#define ASC 265
|
|
#define AT 266
|
|
#define AVG 267
|
|
#define AUTO 268
|
|
#define BASENAME 269
|
|
#define BEFORE 270
|
|
#define BEGIN 271
|
|
#define BETWEEN 272
|
|
#define BLOB 273
|
|
#define BY 274
|
|
#define CACHE 275
|
|
#define CAST 276
|
|
#define CHARACTER 277
|
|
#define CHECK 278
|
|
#define CHECK_POINT_LEN 279
|
|
#define COLLATE 280
|
|
#define COLLATION 281
|
|
#define COMMA 282
|
|
#define COMMIT 283
|
|
#define COMMITTED 284
|
|
#define COMPUTED 285
|
|
#define CONCATENATE 286
|
|
#define CONDITIONAL 287
|
|
#define CONSTRAINT 288
|
|
#define CONTAINING 289
|
|
#define COUNT 290
|
|
#define CREATE 291
|
|
#define CSTRING 292
|
|
#define CURRENT 293
|
|
#define CURSOR 294
|
|
#define DATABASE 295
|
|
#define DATE 296
|
|
#define DB_KEY 297
|
|
#define KW_DEBUG 298
|
|
#define DECIMAL 299
|
|
#define DECLARE 300
|
|
#define DEFAULT 301
|
|
#define DELETE 302
|
|
#define DESC 303
|
|
#define DISTINCT 304
|
|
#define DO 305
|
|
#define DOMAIN 306
|
|
#define DROP 307
|
|
#define ELSE 308
|
|
#define END 309
|
|
#define ENTRY_POINT 310
|
|
#define EQL 311
|
|
#define ESCAPE 312
|
|
#define EXCEPTION 313
|
|
#define EXECUTE 314
|
|
#define EXISTS 315
|
|
#define EXIT 316
|
|
#define EXTERNAL 317
|
|
#define FILTER 318
|
|
#define FOR 319
|
|
#define FOREIGN 320
|
|
#define FROM 321
|
|
#define FULL 322
|
|
#define FUNCTION 323
|
|
#define GDSCODE 324
|
|
#define GEQ 325
|
|
#define GENERATOR 326
|
|
#define GEN_ID 327
|
|
#define GRANT 328
|
|
#define GROUP 329
|
|
#define GROUP_COMMIT_WAIT 330
|
|
#define GTR 331
|
|
#define HAVING 332
|
|
#define IF 333
|
|
#define IN 334
|
|
#define INACTIVE 335
|
|
#define INNER 336
|
|
#define INPUT_TYPE 337
|
|
#define INDEX 338
|
|
#define INSERT 339
|
|
#define INTEGER 340
|
|
#define INTO 341
|
|
#define IS 342
|
|
#define ISOLATION 343
|
|
#define JOIN 344
|
|
#define KEY 345
|
|
#define KW_CHAR 346
|
|
#define KW_DEC 347
|
|
#define KW_DOUBLE 348
|
|
#define KW_FILE 349
|
|
#define KW_FLOAT 350
|
|
#define KW_INT 351
|
|
#define KW_LONG 352
|
|
#define KW_NULL 353
|
|
#define KW_NUMERIC 354
|
|
#define KW_UPPER 355
|
|
#define KW_VALUE 356
|
|
#define LENGTH 357
|
|
#define LOGFILE 358
|
|
#define LPAREN 359
|
|
#define LEFT 360
|
|
#define LEQ 361
|
|
#define LEVEL 362
|
|
#define LIKE 363
|
|
#define LOG_BUF_SIZE 364
|
|
#define LSS 365
|
|
#define MANUAL 366
|
|
#define MAXIMUM 367
|
|
#define MAX_SEGMENT 368
|
|
#define MERGE 369
|
|
#define MESSAGE 370
|
|
#define MINIMUM 371
|
|
#define MODULE_NAME 372
|
|
#define NAMES 373
|
|
#define NATIONAL 374
|
|
#define NATURAL 375
|
|
#define NCHAR 376
|
|
#define NEQ 377
|
|
#define NO 378
|
|
#define NOT 379
|
|
#define NOT_GTR 380
|
|
#define NOT_LSS 381
|
|
#define NUM_LOG_BUFS 382
|
|
#define OF 383
|
|
#define ON 384
|
|
#define ONLY 385
|
|
#define OPTION 386
|
|
#define OR 387
|
|
#define ORDER 388
|
|
#define OUTER 389
|
|
#define OUTPUT_TYPE 390
|
|
#define OVERFLOW 391
|
|
#define PAGE 392
|
|
#define PAGES 393
|
|
#define PAGE_SIZE 394
|
|
#define PARAMETER 395
|
|
#define PASSWORD 396
|
|
#define PLAN 397
|
|
#define POSITION 398
|
|
#define POST_EVENT 399
|
|
#define PRECISION 400
|
|
#define PRIMARY 401
|
|
#define PRIVILEGES 402
|
|
#define PROCEDURE 403
|
|
#define PROTECTED 404
|
|
#define RAW_PARTITIONS 405
|
|
#define READ 406
|
|
#define REAL 407
|
|
#define REFERENCES 408
|
|
#define RESERVING 409
|
|
#define RETAIN 410
|
|
#define RETURNING_VALUES 411
|
|
#define RETURNS 412
|
|
#define REVOKE 413
|
|
#define RIGHT 414
|
|
#define RPAREN 415
|
|
#define ROLLBACK 416
|
|
#define SEGMENT 417
|
|
#define SELECT 418
|
|
#define SET 419
|
|
#define SHADOW 420
|
|
#define SHARED 421
|
|
#define SINGULAR 422
|
|
#define SIZE 423
|
|
#define SMALLINT 424
|
|
#define SNAPSHOT 425
|
|
#define SOME 426
|
|
#define SORT 427
|
|
#define SQLCODE 428
|
|
#define STABILITY 429
|
|
#define STARTING 430
|
|
#define STATISTICS 431
|
|
#define SUB_TYPE 432
|
|
#define SUSPEND 433
|
|
#define SUM 434
|
|
#define TABLE 435
|
|
#define THEN 436
|
|
#define TO 437
|
|
#define TRANSACTION 438
|
|
#define TRIGGER 439
|
|
#define UNCOMMITTED 440
|
|
#define UNION 441
|
|
#define UNIQUE 442
|
|
#define UPDATE 443
|
|
#define USER 444
|
|
#define VALUES 445
|
|
#define VARCHAR 446
|
|
#define VARIABLE 447
|
|
#define VARYING 448
|
|
#define VERSION 449
|
|
#define VIEW 450
|
|
#define WAIT 451
|
|
#define WHEN 452
|
|
#define WHERE 453
|
|
#define WHILE 454
|
|
#define WITH 455
|
|
#define WORK 456
|
|
#define WRITE 457
|
|
#define FLOAT 458
|
|
#define NUMBER 459
|
|
#define NUMERIC 460
|
|
#define SYMBOL 461
|
|
#define STRING 462
|
|
#define INTRODUCER 463
|
|
#define ACTION 464
|
|
#define ADMIN 465
|
|
#define CASCADE 466
|
|
#define FREE_IT 467
|
|
#define RESTRICT 468
|
|
#define ROLE 469
|
|
#define COLUMN 470
|
|
#define TYPE 471
|
|
#define EXTRACT 472
|
|
#define YEAR 473
|
|
#define MONTH 474
|
|
#define DAY 475
|
|
#define HOUR 476
|
|
#define MINUTE 477
|
|
#define SECOND 478
|
|
#define WEEKDAY 479
|
|
#define YEARDAY 480
|
|
#define TIME 481
|
|
#define TIMESTAMP 482
|
|
#define CURRENT_DATE 483
|
|
#define CURRENT_TIME 484
|
|
#define CURRENT_TIMESTAMP 485
|
|
#define NUMBER64BIT 486
|
|
#define SCALEDINT 487
|
|
#define CURRENT_USER 488
|
|
#define CURRENT_ROLE 489
|
|
#define KW_BREAK 490
|
|
#define SUBSTRING 491
|
|
#define RECREATE 492
|
|
#define KW_DESCRIPTOR 493
|
|
#define FIRST 494
|
|
#define SKIP 495
|
|
#define CONNECTION_ID 496
|
|
#define TRANSACTION_ID 497
|
|
#define BIGINT 498
|
|
#define CASE 499
|
|
#define NULLIF 500
|
|
#define COALESCE 501
|
|
#define USING 502
|
|
#define NULLS 503
|
|
#define LAST 504
|
|
#define ROWS_AFFECTED 505
|