rs-odbc 0.2.0

Minimal safe Rust implementation of ODBC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
use crate::attr::{Attr, AttrGet, AttrLen};
use crate::env::{OdbcVersion, SQL_OV_ODBC3, SQL_OV_ODBC3_80, SQL_OV_ODBC4};
use crate::str::{OdbcChar, OdbcStr};
use crate::{
    Ident, OdbcDefined, Scalar, SQLCHAR, SQLSMALLINT, SQLUINTEGER, SQLUSMALLINT, SQLWCHAR,
};
use rs_odbc_derive::{odbc_bitmask, odbc_type, Ident};
use core::mem::MaybeUninit;

pub trait InfoType<I: Ident, V: OdbcVersion>:
    Attr<I> + AttrLen<Self::DefinedBy, SQLSMALLINT>
{
}

// Implement InfoType for all versions of info type attributes
impl<I: Ident, T: Scalar> InfoType<I, SQL_OV_ODBC3_80> for T where
    T: InfoType<I, <SQL_OV_ODBC3_80 as OdbcVersion>::PrevVersion>
{
}
impl<I: Ident, T: Scalar> InfoType<I, SQL_OV_ODBC4> for T where
    T: InfoType<I, <SQL_OV_ODBC4 as OdbcVersion>::PrevVersion>
{
}
impl<I: Ident, T: Scalar> InfoType<I, SQL_OV_ODBC3_80> for [T] where
    [T]: InfoType<I, <SQL_OV_ODBC3_80 as OdbcVersion>::PrevVersion>
{
}
impl<I: Ident, T: Scalar> InfoType<I, SQL_OV_ODBC4> for [T] where
    [T]: InfoType<I, <SQL_OV_ODBC4 as OdbcVersion>::PrevVersion>
{
}
impl<I: Ident, CH: OdbcChar> InfoType<I, SQL_OV_ODBC3_80> for OdbcStr<CH> where
    OdbcStr<CH>: InfoType<I, <SQL_OV_ODBC3_80 as OdbcVersion>::PrevVersion>
{
}
impl<I: Ident, CH: OdbcChar> InfoType<I, SQL_OV_ODBC4> for OdbcStr<CH> where
    OdbcStr<CH>: InfoType<I, <SQL_OV_ODBC4 as OdbcVersion>::PrevVersion>
{
}

// Implement InfoType for uninitialized info type attributes
impl<I: Ident, T: Scalar, V: OdbcVersion> InfoType<I, V> for MaybeUninit<T>
where
    T: InfoType<I, V> + AttrGet<I>,
    Self: AttrLen<Self::DefinedBy, SQLSMALLINT>,
{
}
impl<I: Ident, T: Scalar, V: OdbcVersion> InfoType<I, V> for [MaybeUninit<T>]
where
    [T]: InfoType<I, V> + AttrGet<I>,
    Self: AttrLen<Self::DefinedBy, SQLSMALLINT>,
{
}
impl<I: Ident, V: OdbcVersion> InfoType<I, V> for OdbcStr<MaybeUninit<SQLCHAR>> where
    OdbcStr<SQLCHAR>: InfoType<I, V> + AttrGet<I>
{
}
impl<I: Ident, V: OdbcVersion> InfoType<I, V> for OdbcStr<MaybeUninit<SQLWCHAR>> where
    OdbcStr<SQLWCHAR>: InfoType<I, V> + AttrGet<I>
{
}

//=====================================================================================//
//-------------------------------------Attributes--------------------------------------//

// These aliases include extensions of abbreviations
pub use SQL_MAX_CATALOG_NAME_LEN as SQL_MAXIMUM_CATALOG_NAME_LENGTH;
pub use SQL_MAX_COLUMNS_IN_GROUP_BY as SQL_MAXIMUM_COLUMNS_IN_GROUP_BY;
pub use SQL_MAX_COLUMNS_IN_ORDER_BY as SQL_MAXIMUM_COLUMNS_IN_ORDER_BY;
pub use SQL_MAX_COLUMNS_IN_SELECT as SQL_MAXIMUM_COLUMNS_IN_SELECT;
pub use SQL_MAX_COLUMNS_IN_TABLE as SQL_MAXIMUM_COLUMNS_IN_TABLE;
pub use SQL_MAX_COLUMN_NAME_LEN as SQL_MAXIMUM_COLUMN_NAME_LENGTH;
pub use SQL_MAX_CONCURRENT_ACTIVITIES as SQL_MAXIMUM_CONCURRENT_ACTIVITIES;
pub use SQL_MAX_CURSOR_NAME_LEN as SQL_MAXIMUM_CURSOR_NAME_LENGTH;
pub use SQL_MAX_DRIVER_CONNECTIONS as SQL_MAXIMUM_DRIVER_CONNECTIONS;
pub use SQL_MAX_IDENTIFIER_LEN as SQL_MAXIMUM_IDENTIFIER_LENGTH;
pub use SQL_MAX_SCHEMA_NAME_LEN as SQL_MAXIMUM_SCHEMA_NAME_LENGTH;
pub use SQL_MAX_STATEMENT_LEN as SQL_MAXIMUM_STATEMENT_LENGTH;
pub use SQL_MAX_TABLES_IN_SELECT as SQL_MAXIMUM_TABLES_IN_SELECT;
pub use SQL_MAX_TABLE_NAME_LEN as SQL_MAXIMUM_TABLE_NAME_LENGTH;
pub use SQL_MAX_USER_NAME_LEN as SQL_MAXIMUM_USER_NAME_LENGTH;
pub use SQL_MULT_RESULT_SETS as SQL_MULTIPLE_RESULT_SETS;
pub use SQL_OJ_CAPABILITIES as SQL_OUTER_JOIN_CAPABILITIES;
pub use SQL_TXN_CAPABLE as SQL_TRANSACTION_CAPABLE;
pub use SQL_TXN_ISOLATION_OPTION as SQL_TRANSACTION_ISOLATION_OPTION;

// TODO: Not mentioned in the specification, only implementation
pub use SQL_MAX_COLUMNS_IN_INDEX as SQL_MAXIMUM_COLUMNS_IN_INDEX;
pub use SQL_MAX_INDEX_SIZE as SQL_MAXIMUM_INDEX_SIZE;
pub use SQL_MAX_ROW_SIZE as SQL_MAXIMUM_ROW_SIZE;

// TODO: Try to categorize all of the following items just like all the other attributes

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 171)]
#[allow(non_camel_case_types)]
pub struct SQL_DM_VER;
impl InfoType<SQL_DM_VER, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DM_VER> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DM_VER> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10000)]
#[allow(non_camel_case_types)]
pub struct SQL_XOPEN_CLI_YEAR;
impl InfoType<SQL_XOPEN_CLI_YEAR, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_XOPEN_CLI_YEAR> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_XOPEN_CLI_YEAR> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 134)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_VIEW;
impl InfoType<SQL_CREATE_VIEW, SQL_OV_ODBC3> for CreateView {}
unsafe impl Attr<SQL_CREATE_VIEW> for CreateView {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_VIEW> for CreateView {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 155)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_DATETIME_FUNCTIONS;
impl InfoType<SQL_SQL92_DATETIME_FUNCTIONS, SQL_OV_ODBC3> for DatetimeFunctions {}
unsafe impl Attr<SQL_SQL92_DATETIME_FUNCTIONS> for DatetimeFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_DATETIME_FUNCTIONS> for DatetimeFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 156)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_FOREIGN_KEY_DELETE_RULE;
impl InfoType<SQL_SQL92_FOREIGN_KEY_DELETE_RULE, SQL_OV_ODBC3> for ForeignKeyDeleteRule {}
unsafe impl Attr<SQL_SQL92_FOREIGN_KEY_DELETE_RULE> for ForeignKeyDeleteRule {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_FOREIGN_KEY_DELETE_RULE> for ForeignKeyDeleteRule {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 157)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_FOREIGN_KEY_UPDATE_RULE;
impl InfoType<SQL_SQL92_FOREIGN_KEY_UPDATE_RULE, SQL_OV_ODBC3> for ForeignKeyUpdateRule {}
unsafe impl Attr<SQL_SQL92_FOREIGN_KEY_UPDATE_RULE> for ForeignKeyUpdateRule {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_FOREIGN_KEY_UPDATE_RULE> for ForeignKeyUpdateRule {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 158)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_GRANT;
impl InfoType<SQL_SQL92_GRANT, SQL_OV_ODBC3> for Grant {}
unsafe impl Attr<SQL_SQL92_GRANT> for Grant {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_GRANT> for Grant {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 119)]
#[allow(non_camel_case_types)]
pub struct SQL_DATETIME_LITERALS;
impl InfoType<SQL_DATETIME_LITERALS, SQL_OV_ODBC3> for DatetimeLiterals {}
unsafe impl Attr<SQL_DATETIME_LITERALS> for DatetimeLiterals {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DATETIME_LITERALS> for DatetimeLiterals {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 159)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_NUMERIC_VALUE_FUNCTIONS;
impl InfoType<SQL_SQL92_NUMERIC_VALUE_FUNCTIONS, SQL_OV_ODBC3> for NumericValueFunctions {}
unsafe impl Attr<SQL_SQL92_NUMERIC_VALUE_FUNCTIONS> for NumericValueFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_NUMERIC_VALUE_FUNCTIONS> for NumericValueFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 160)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_PREDICATES;
impl InfoType<SQL_SQL92_PREDICATES, SQL_OV_ODBC3> for Predicates {}
unsafe impl Attr<SQL_SQL92_PREDICATES> for Predicates {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_PREDICATES> for Predicates {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 161)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_RELATIONAL_JOIN_OPERATORS;
impl InfoType<SQL_SQL92_RELATIONAL_JOIN_OPERATORS, SQL_OV_ODBC3> for RelationalJoinOperators {}
unsafe impl Attr<SQL_SQL92_RELATIONAL_JOIN_OPERATORS> for RelationalJoinOperators {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_RELATIONAL_JOIN_OPERATORS> for RelationalJoinOperators {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 162)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_REVOKE;
impl InfoType<SQL_SQL92_REVOKE, SQL_OV_ODBC3> for Revoke {}
unsafe impl Attr<SQL_SQL92_REVOKE> for Revoke {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_REVOKE> for Revoke {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 163)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_ROW_VALUE_CONSTRUCTOR;
impl InfoType<SQL_SQL92_ROW_VALUE_CONSTRUCTOR, SQL_OV_ODBC3> for RowValueConstructor {}
unsafe impl Attr<SQL_SQL92_ROW_VALUE_CONSTRUCTOR> for RowValueConstructor {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_ROW_VALUE_CONSTRUCTOR> for RowValueConstructor {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 164)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_STRING_FUNCTIONS;
impl InfoType<SQL_SQL92_STRING_FUNCTIONS, SQL_OV_ODBC3> for StringScalarFunctions {}
unsafe impl Attr<SQL_SQL92_STRING_FUNCTIONS> for StringScalarFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_STRING_FUNCTIONS> for StringScalarFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 165)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL92_VALUE_EXPRESSIONS;
impl InfoType<SQL_SQL92_VALUE_EXPRESSIONS, SQL_OV_ODBC3> for ValueExpressions {}
unsafe impl Attr<SQL_SQL92_VALUE_EXPRESSIONS> for ValueExpressions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL92_VALUE_EXPRESSIONS> for ValueExpressions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 166)]
#[allow(non_camel_case_types)]
pub struct SQL_STANDARD_CLI_CONFORMANCE;
impl InfoType<SQL_STANDARD_CLI_CONFORMANCE, SQL_OV_ODBC3> for StandardCliConformance {}
unsafe impl Attr<SQL_STANDARD_CLI_CONFORMANCE> for StandardCliConformance {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_STANDARD_CLI_CONFORMANCE> for StandardCliConformance {}

// TODO: What about these
//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 0)]
//#[allow(non_camel_case_types)]
//pub struct SQL_INFO_FIRST;
//impl InfoType<SQL_INFO_FIRST, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_INFO_FIRST> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_INFO_FIRST> for {}

//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 12)]
//#[allow(non_camel_case_types)]
//pub struct SQL_ODBC_SAG_CLI_CONFORMANCE;
//impl InfoType<SQL_ODBC_SAG_CLI_CONFORMANCE, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_ODBC_SAG_CLI_CONFORMANCE> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_ODBC_SAG_CLI_CONFORMANCE> for {}

//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, SQL_UNION)]
//#[allow(non_camel_case_types)]
//pub struct SQL_UNION_STATEMENT;
//impl InfoType<SQL_UNION_STATEMENT, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_UNION_STATEMENT> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_UNION_STATEMENT> for {}

//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 174)]
//#[allow(non_camel_case_types)]
//pub struct SQL_SCHEMA_INFERENCE;
//impl InfoType<SQL_SCHEMA_INFERENCE, SQL_OV_ODBC4> for {}
//unsafe impl Attr<SQL_SCHEMA_INFERENCE> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_SCHEMA_INFERENCE> for {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 175)]
#[allow(non_camel_case_types)]
pub struct SQL_BINARY_FUNCTIONS;
impl InfoType<SQL_BINARY_FUNCTIONS, SQL_OV_ODBC4> for BinaryFunctions {}
unsafe impl Attr<SQL_BINARY_FUNCTIONS> for BinaryFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_BINARY_FUNCTIONS> for BinaryFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 176)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_STRING_FUNCTIONS;
impl InfoType<SQL_ISO_STRING_FUNCTIONS, SQL_OV_ODBC4> for StringScalarFunctions {}
unsafe impl Attr<SQL_ISO_STRING_FUNCTIONS> for StringScalarFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_STRING_FUNCTIONS> for StringScalarFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 177)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_BINARY_FUNCTIONS;
impl InfoType<SQL_ISO_BINARY_FUNCTIONS, SQL_OV_ODBC4> for IsoBinaryFunctions {}
unsafe impl Attr<SQL_ISO_BINARY_FUNCTIONS> for IsoBinaryFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_BINARY_FUNCTIONS> for IsoBinaryFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 178)]
#[allow(non_camel_case_types)]
pub struct SQL_LIMIT_ESCAPE_CLAUSE;
impl InfoType<SQL_LIMIT_ESCAPE_CLAUSE, SQL_OV_ODBC4> for LimitEscapeClause {}
unsafe impl Attr<SQL_LIMIT_ESCAPE_CLAUSE> for LimitEscapeClause {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_LIMIT_ESCAPE_CLAUSE> for LimitEscapeClause {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 179)]
#[allow(non_camel_case_types)]
pub struct SQL_NATIVE_ESCAPE_CLAUSE;
impl InfoType<SQL_NATIVE_ESCAPE_CLAUSE, SQL_OV_ODBC4> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_NATIVE_ESCAPE_CLAUSE> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_NATIVE_ESCAPE_CLAUSE> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 180)]
#[allow(non_camel_case_types)]
pub struct SQL_RETURN_ESCAPE_CLAUSE;
impl InfoType<SQL_RETURN_ESCAPE_CLAUSE, SQL_OV_ODBC4> for ReturnEscapeClause {}
unsafe impl Attr<SQL_RETURN_ESCAPE_CLAUSE> for ReturnEscapeClause {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_RETURN_ESCAPE_CLAUSE> for ReturnEscapeClause {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 181)]
#[allow(non_camel_case_types)]
pub struct SQL_FORMAT_ESCAPE_CLAUSE;
impl InfoType<SQL_FORMAT_ESCAPE_CLAUSE, SQL_OV_ODBC4> for FormatEscapeClause {}
unsafe impl Attr<SQL_FORMAT_ESCAPE_CLAUSE> for FormatEscapeClause {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_FORMAT_ESCAPE_CLAUSE> for FormatEscapeClause {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 155)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_DATETIME_FUNCTIONS;
impl InfoType<SQL_ISO_DATETIME_FUNCTIONS, SQL_OV_ODBC4> for DatetimeFunctions {}
unsafe impl Attr<SQL_ISO_DATETIME_FUNCTIONS> for DatetimeFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_DATETIME_FUNCTIONS> for DatetimeFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 156)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_FOREIGN_KEY_DELETE_RULE;
impl InfoType<SQL_ISO_FOREIGN_KEY_DELETE_RULE, SQL_OV_ODBC4> for ForeignKeyDeleteRule {}
unsafe impl Attr<SQL_ISO_FOREIGN_KEY_DELETE_RULE> for ForeignKeyDeleteRule {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_FOREIGN_KEY_DELETE_RULE> for ForeignKeyDeleteRule {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 157)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_FOREIGN_KEY_UPDATE_RULE;
impl InfoType<SQL_ISO_FOREIGN_KEY_UPDATE_RULE, SQL_OV_ODBC4> for ForeignKeyUpdateRule {}
unsafe impl Attr<SQL_ISO_FOREIGN_KEY_UPDATE_RULE> for ForeignKeyUpdateRule {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_FOREIGN_KEY_UPDATE_RULE> for ForeignKeyUpdateRule {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 158)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_GRANT;
impl InfoType<SQL_ISO_GRANT, SQL_OV_ODBC4> for Grant {}
unsafe impl Attr<SQL_ISO_GRANT> for Grant {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_GRANT> for Grant {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 159)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_NUMERIC_VALUE_FUNCTIONS;
impl InfoType<SQL_ISO_NUMERIC_VALUE_FUNCTIONS, SQL_OV_ODBC4> for NumericValueFunctions {}
unsafe impl Attr<SQL_ISO_NUMERIC_VALUE_FUNCTIONS> for NumericValueFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_NUMERIC_VALUE_FUNCTIONS> for NumericValueFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 160)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_PREDICATES;
impl InfoType<SQL_ISO_PREDICATES, SQL_OV_ODBC4> for Predicates {}
unsafe impl Attr<SQL_ISO_PREDICATES> for Predicates {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_PREDICATES> for Predicates {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 161)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_RELATIONAL_JOIN_OPERATORS;
impl InfoType<SQL_ISO_RELATIONAL_JOIN_OPERATORS, SQL_OV_ODBC4> for RelationalJoinOperators {}
unsafe impl Attr<SQL_ISO_RELATIONAL_JOIN_OPERATORS> for RelationalJoinOperators {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_RELATIONAL_JOIN_OPERATORS> for RelationalJoinOperators {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 162)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_REVOKE;
impl InfoType<SQL_ISO_REVOKE, SQL_OV_ODBC4> for Revoke {}
unsafe impl Attr<SQL_ISO_REVOKE> for Revoke {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_REVOKE> for Revoke {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 163)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_ROW_VALUE_CONSTRUCTOR;
impl InfoType<SQL_ISO_ROW_VALUE_CONSTRUCTOR, SQL_OV_ODBC4> for RowValueConstructor {}
unsafe impl Attr<SQL_ISO_ROW_VALUE_CONSTRUCTOR> for RowValueConstructor {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_ROW_VALUE_CONSTRUCTOR> for RowValueConstructor {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 165)]
#[allow(non_camel_case_types)]
pub struct SQL_ISO_VALUE_EXPRESSIONS;
impl InfoType<SQL_ISO_VALUE_EXPRESSIONS, SQL_OV_ODBC4> for ValueExpressions {}
unsafe impl Attr<SQL_ISO_VALUE_EXPRESSIONS> for ValueExpressions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ISO_VALUE_EXPRESSIONS> for ValueExpressions {}

/////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////// Driver Information ///////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 116)]
#[allow(non_camel_case_types)]
pub struct SQL_ACTIVE_ENVIRONMENTS;
impl InfoType<SQL_ACTIVE_ENVIRONMENTS, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_ACTIVE_ENVIRONMENTS> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ACTIVE_ENVIRONMENTS> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10023)]
#[allow(non_camel_case_types)]
pub struct SQL_ASYNC_DBC_FUNCTIONS;
impl InfoType<SQL_ASYNC_DBC_FUNCTIONS, SQL_OV_ODBC3_80> for AsyncDbcFunctions {}
unsafe impl Attr<SQL_ASYNC_DBC_FUNCTIONS> for AsyncDbcFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ASYNC_DBC_FUNCTIONS> for AsyncDbcFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10021)]
#[allow(non_camel_case_types)]
pub struct SQL_ASYNC_MODE;
impl InfoType<SQL_ASYNC_MODE, SQL_OV_ODBC3> for AsyncMode {}
unsafe impl Attr<SQL_ASYNC_MODE> for AsyncMode {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ASYNC_MODE> for AsyncMode {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10025)]
#[allow(non_camel_case_types)]
pub struct SQL_ASYNC_NOTIFICATION;
impl InfoType<SQL_ASYNC_NOTIFICATION, SQL_OV_ODBC3_80> for AsyncNotification {}
unsafe impl Attr<SQL_ASYNC_NOTIFICATION> for AsyncNotification {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ASYNC_NOTIFICATION> for AsyncNotification {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 120)]
#[allow(non_camel_case_types)]
pub struct SQL_BATCH_ROW_COUNT;
impl InfoType<SQL_BATCH_ROW_COUNT, SQL_OV_ODBC3> for BatchRowCount {}
unsafe impl Attr<SQL_BATCH_ROW_COUNT> for BatchRowCount {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_BATCH_ROW_COUNT> for BatchRowCount {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 121)]
#[allow(non_camel_case_types)]
pub struct SQL_BATCH_SUPPORT;
impl InfoType<SQL_BATCH_SUPPORT, SQL_OV_ODBC3> for BatchSupport {}
unsafe impl Attr<SQL_BATCH_SUPPORT> for BatchSupport {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_BATCH_SUPPORT> for BatchSupport {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 2)]
#[allow(non_camel_case_types)]
pub struct SQL_DATA_SOURCE_NAME;
impl InfoType<SQL_DATA_SOURCE_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DATA_SOURCE_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DATA_SOURCE_NAME> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10024)]
#[allow(non_camel_case_types)]
pub struct SQL_DRIVER_AWARE_POOLING_SUPPORTED;
impl InfoType<SQL_DRIVER_AWARE_POOLING_SUPPORTED, SQL_OV_ODBC3_80> for DriverAwarePoolingSupported {}
unsafe impl Attr<SQL_DRIVER_AWARE_POOLING_SUPPORTED> for DriverAwarePoolingSupported {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DRIVER_AWARE_POOLING_SUPPORTED> for DriverAwarePoolingSupported {}

// TODO: How are these handles used?
//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 3)]
//#[allow(non_camel_case_types)]
//pub struct SQL_DRIVER_HDBC;
//impl InfoType<SQL_DRIVER_HDBC, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_DRIVER_HDBC> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_DRIVER_HDBC> for {}
//
//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 135)]
//#[allow(non_camel_case_types)]
//pub struct SQL_DRIVER_HDESC;
//impl InfoType<SQL_DRIVER_HDESC, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_DRIVER_HDESC> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_DRIVER_HDESC> for {}
//
//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 4)]
//#[allow(non_camel_case_types)]
//pub struct SQL_DRIVER_HENV;
//impl InfoType<SQL_DRIVER_HENV, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_DRIVER_HENV> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_DRIVER_HENV> for {}
//
//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 76)]
//#[allow(non_camel_case_types)]
//pub struct SQL_DRIVER_HLIB;
//impl InfoType<SQL_DRIVER_HLIB, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_DRIVER_HLIB> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_DRIVER_HLIB> for {}
//
//#[derive(Ident)]
//#[identifier(SQLUSMALLINT, 5)]
//#[allow(non_camel_case_types)]
//pub struct SQL_DRIVER_HSTMT;
//impl InfoType<SQL_DRIVER_HSTMT, SQL_OV_ODBC3> for {}
//unsafe impl Attr<SQL_DRIVER_HSTMT> for {
//    type DefinedBy = OdbcDefined;
//}
//unsafe impl AttrGet<SQL_DRIVER_HSTMT> for {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 6)]
#[allow(non_camel_case_types)]
pub struct SQL_DRIVER_NAME;
impl InfoType<SQL_DRIVER_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DRIVER_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DRIVER_NAME> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 77)]
#[allow(non_camel_case_types)]
pub struct SQL_DRIVER_ODBC_VER;
impl InfoType<SQL_DRIVER_ODBC_VER, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DRIVER_ODBC_VER> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DRIVER_ODBC_VER> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 7)]
#[allow(non_camel_case_types)]
pub struct SQL_DRIVER_VER;
impl InfoType<SQL_DRIVER_VER, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DRIVER_VER> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DRIVER_VER> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 144)]
#[allow(non_camel_case_types)]
pub struct SQL_DYNAMIC_CURSOR_ATTRIBUTES1;
impl InfoType<SQL_DYNAMIC_CURSOR_ATTRIBUTES1, SQL_OV_ODBC3> for CursorAttributes1 {}
unsafe impl Attr<SQL_DYNAMIC_CURSOR_ATTRIBUTES1> for CursorAttributes1 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DYNAMIC_CURSOR_ATTRIBUTES1> for CursorAttributes1 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 145)]
#[allow(non_camel_case_types)]
pub struct SQL_DYNAMIC_CURSOR_ATTRIBUTES2;
impl InfoType<SQL_DYNAMIC_CURSOR_ATTRIBUTES2, SQL_OV_ODBC3> for CursorAttributes2 {}
unsafe impl Attr<SQL_DYNAMIC_CURSOR_ATTRIBUTES2> for CursorAttributes2 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DYNAMIC_CURSOR_ATTRIBUTES2> for CursorAttributes2 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 146)]
#[allow(non_camel_case_types)]
pub struct SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1;
impl InfoType<SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1, SQL_OV_ODBC3> for CursorAttributes1 {}
unsafe impl Attr<SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1> for CursorAttributes1 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1> for CursorAttributes1 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 147)]
#[allow(non_camel_case_types)]
pub struct SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2;
impl InfoType<SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2, SQL_OV_ODBC3> for CursorAttributes2 {}
unsafe impl Attr<SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2> for CursorAttributes2 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2> for CursorAttributes2 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 84)]
#[allow(non_camel_case_types)]
pub struct SQL_FILE_USAGE;
impl InfoType<SQL_FILE_USAGE, SQL_OV_ODBC3> for FileUsage {}
unsafe impl Attr<SQL_FILE_USAGE> for FileUsage {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_FILE_USAGE> for FileUsage {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 81)]
#[allow(non_camel_case_types)]
pub struct SQL_GETDATA_EXTENSIONS;
impl InfoType<SQL_GETDATA_EXTENSIONS, SQL_OV_ODBC3> for GetdataExtensions {}
unsafe impl Attr<SQL_GETDATA_EXTENSIONS> for GetdataExtensions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_GETDATA_EXTENSIONS> for GetdataExtensions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 149)]
#[allow(non_camel_case_types)]
pub struct SQL_INFO_SCHEMA_VIEWS;
impl InfoType<SQL_INFO_SCHEMA_VIEWS, SQL_OV_ODBC3> for InfoSchemaViews {}
unsafe impl Attr<SQL_INFO_SCHEMA_VIEWS> for InfoSchemaViews {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_INFO_SCHEMA_VIEWS> for InfoSchemaViews {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 150)]
#[allow(non_camel_case_types)]
pub struct SQL_KEYSET_CURSOR_ATTRIBUTES1;
impl InfoType<SQL_KEYSET_CURSOR_ATTRIBUTES1, SQL_OV_ODBC3> for CursorAttributes1 {}
unsafe impl Attr<SQL_KEYSET_CURSOR_ATTRIBUTES1> for CursorAttributes1 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_KEYSET_CURSOR_ATTRIBUTES1> for CursorAttributes1 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 151)]
#[allow(non_camel_case_types)]
pub struct SQL_KEYSET_CURSOR_ATTRIBUTES2;
impl InfoType<SQL_KEYSET_CURSOR_ATTRIBUTES2, SQL_OV_ODBC3> for CursorAttributes2 {}
unsafe impl Attr<SQL_KEYSET_CURSOR_ATTRIBUTES2> for CursorAttributes2 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_KEYSET_CURSOR_ATTRIBUTES2> for CursorAttributes2 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10022)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_ASYNC_CONCURRENT_STATEMENTS;
impl InfoType<SQL_MAX_ASYNC_CONCURRENT_STATEMENTS, SQL_OV_ODBC3> for SQLUINTEGER {}
unsafe impl Attr<SQL_MAX_ASYNC_CONCURRENT_STATEMENTS> for SQLUINTEGER {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_ASYNC_CONCURRENT_STATEMENTS> for SQLUINTEGER {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 1)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_CONCURRENT_ACTIVITIES;
impl InfoType<SQL_MAX_CONCURRENT_ACTIVITIES, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_CONCURRENT_ACTIVITIES> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_CONCURRENT_ACTIVITIES> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 0)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_DRIVER_CONNECTIONS;
impl InfoType<SQL_MAX_DRIVER_CONNECTIONS, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_DRIVER_CONNECTIONS> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_DRIVER_CONNECTIONS> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 152)]
#[allow(non_camel_case_types)]
pub struct SQL_ODBC_INTERFACE_CONFORMANCE;
impl InfoType<SQL_ODBC_INTERFACE_CONFORMANCE, SQL_OV_ODBC3> for OdbcInterfaceConformance {}
unsafe impl Attr<SQL_ODBC_INTERFACE_CONFORMANCE> for OdbcInterfaceConformance {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ODBC_INTERFACE_CONFORMANCE> for OdbcInterfaceConformance {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10)]
#[allow(non_camel_case_types)]
pub struct SQL_ODBC_VER;
impl InfoType<SQL_ODBC_VER, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_ODBC_VER> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ODBC_VER> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 153)]
#[allow(non_camel_case_types)]
pub struct SQL_PARAM_ARRAY_ROW_COUNTS;
impl InfoType<SQL_PARAM_ARRAY_ROW_COUNTS, SQL_OV_ODBC3> for ParamArrayRowCounts {}
unsafe impl Attr<SQL_PARAM_ARRAY_ROW_COUNTS> for ParamArrayRowCounts {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_PARAM_ARRAY_ROW_COUNTS> for ParamArrayRowCounts {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 154)]
#[allow(non_camel_case_types)]
pub struct SQL_PARAM_ARRAY_SELECTS;
impl InfoType<SQL_PARAM_ARRAY_SELECTS, SQL_OV_ODBC3> for ParamArraySelects {}
unsafe impl Attr<SQL_PARAM_ARRAY_SELECTS> for ParamArraySelects {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_PARAM_ARRAY_SELECTS> for ParamArraySelects {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 11)]
#[allow(non_camel_case_types)]
pub struct SQL_ROW_UPDATES;
impl InfoType<SQL_ROW_UPDATES, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_ROW_UPDATES> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ROW_UPDATES> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 14)]
#[allow(non_camel_case_types)]
pub struct SQL_SEARCH_PATTERN_ESCAPE;
impl InfoType<SQL_SEARCH_PATTERN_ESCAPE, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_SEARCH_PATTERN_ESCAPE> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SEARCH_PATTERN_ESCAPE> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 13)]
#[allow(non_camel_case_types)]
pub struct SQL_SERVER_NAME;
impl InfoType<SQL_SERVER_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_SERVER_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SERVER_NAME> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 167)]
#[allow(non_camel_case_types)]
pub struct SQL_STATIC_CURSOR_ATTRIBUTES1;
impl InfoType<SQL_STATIC_CURSOR_ATTRIBUTES1, SQL_OV_ODBC3> for CursorAttributes1 {}
unsafe impl Attr<SQL_STATIC_CURSOR_ATTRIBUTES1> for CursorAttributes1 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_STATIC_CURSOR_ATTRIBUTES1> for CursorAttributes1 {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 168)]
#[allow(non_camel_case_types)]
pub struct SQL_STATIC_CURSOR_ATTRIBUTES2;
impl InfoType<SQL_STATIC_CURSOR_ATTRIBUTES2, SQL_OV_ODBC3> for CursorAttributes2 {}
unsafe impl Attr<SQL_STATIC_CURSOR_ATTRIBUTES2> for CursorAttributes2 {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_STATIC_CURSOR_ATTRIBUTES2> for CursorAttributes2 {}

/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////// DBMS Product Information ////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 16)]
#[allow(non_camel_case_types)]
pub struct SQL_DATABASE_NAME;
impl InfoType<SQL_DATABASE_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DATABASE_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DATABASE_NAME> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 17)]
#[allow(non_camel_case_types)]
pub struct SQL_DBMS_NAME;
impl InfoType<SQL_DBMS_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DBMS_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DBMS_NAME> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 18)]
#[allow(non_camel_case_types)]
pub struct SQL_DBMS_VER;
impl InfoType<SQL_DBMS_VER, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DBMS_VER> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DBMS_VER> for OdbcStr<SQLCHAR> {}

/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////// Data Source Information /////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 20)]
#[allow(non_camel_case_types)]
pub struct SQL_ACCESSIBLE_PROCEDURES;
impl InfoType<SQL_ACCESSIBLE_PROCEDURES, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_ACCESSIBLE_PROCEDURES> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ACCESSIBLE_PROCEDURES> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 19)]
#[allow(non_camel_case_types)]
pub struct SQL_ACCESSIBLE_TABLES;
impl InfoType<SQL_ACCESSIBLE_TABLES, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_ACCESSIBLE_TABLES> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ACCESSIBLE_TABLES> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 82)]
#[allow(non_camel_case_types)]
pub struct SQL_BOOKMARK_PERSISTENCE;
impl InfoType<SQL_BOOKMARK_PERSISTENCE, SQL_OV_ODBC3> for BookmarkPersistence {}
unsafe impl Attr<SQL_BOOKMARK_PERSISTENCE> for BookmarkPersistence {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_BOOKMARK_PERSISTENCE> for BookmarkPersistence {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 42)]
#[allow(non_camel_case_types)]
pub struct SQL_CATALOG_TERM;
impl InfoType<SQL_CATALOG_TERM, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_CATALOG_TERM> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CATALOG_TERM> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10004)]
#[allow(non_camel_case_types)]
pub struct SQL_COLLATION_SEQ;
impl InfoType<SQL_COLLATION_SEQ, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_COLLATION_SEQ> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_COLLATION_SEQ> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 22)]
#[allow(non_camel_case_types)]
pub struct SQL_CONCAT_NULL_BEHAVIOR;
impl InfoType<SQL_CONCAT_NULL_BEHAVIOR, SQL_OV_ODBC3> for ConcatNullBehavior {}
unsafe impl Attr<SQL_CONCAT_NULL_BEHAVIOR> for ConcatNullBehavior {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONCAT_NULL_BEHAVIOR> for ConcatNullBehavior {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 23)]
#[allow(non_camel_case_types)]
pub struct SQL_CURSOR_COMMIT_BEHAVIOR;
impl InfoType<SQL_CURSOR_COMMIT_BEHAVIOR, SQL_OV_ODBC3> for CursorBehavior {}
unsafe impl Attr<SQL_CURSOR_COMMIT_BEHAVIOR> for CursorBehavior {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CURSOR_COMMIT_BEHAVIOR> for CursorBehavior {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 24)]
#[allow(non_camel_case_types)]
pub struct SQL_CURSOR_ROLLBACK_BEHAVIOR;
impl InfoType<SQL_CURSOR_ROLLBACK_BEHAVIOR, SQL_OV_ODBC3> for CursorBehavior {}
unsafe impl Attr<SQL_CURSOR_ROLLBACK_BEHAVIOR> for CursorBehavior {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CURSOR_ROLLBACK_BEHAVIOR> for CursorBehavior {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10001)]
#[allow(non_camel_case_types)]
pub struct SQL_CURSOR_SENSITIVITY;
impl InfoType<SQL_CURSOR_SENSITIVITY, SQL_OV_ODBC3> for CursorSensitivity {}
unsafe impl Attr<SQL_CURSOR_SENSITIVITY> for CursorSensitivity {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CURSOR_SENSITIVITY> for CursorSensitivity {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 25)]
#[allow(non_camel_case_types)]
pub struct SQL_DATA_SOURCE_READ_ONLY;
impl InfoType<SQL_DATA_SOURCE_READ_ONLY, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DATA_SOURCE_READ_ONLY> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DATA_SOURCE_READ_ONLY> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 26)]
#[allow(non_camel_case_types)]
pub struct SQL_DEFAULT_TXN_ISOLATION;
impl InfoType<SQL_DEFAULT_TXN_ISOLATION, SQL_OV_ODBC3> for TxnIsolation {}
unsafe impl Attr<SQL_DEFAULT_TXN_ISOLATION> for TxnIsolation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DEFAULT_TXN_ISOLATION> for TxnIsolation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10002)]
#[allow(non_camel_case_types)]
pub struct SQL_DESCRIBE_PARAMETER;
impl InfoType<SQL_DESCRIBE_PARAMETER, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_DESCRIBE_PARAMETER> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DESCRIBE_PARAMETER> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 36)]
#[allow(non_camel_case_types)]
pub struct SQL_MULT_RESULT_SETS;
impl InfoType<SQL_MULT_RESULT_SETS, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_MULT_RESULT_SETS> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MULT_RESULT_SETS> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 37)]
#[allow(non_camel_case_types)]
pub struct SQL_MULTIPLE_ACTIVE_TXN;
impl InfoType<SQL_MULTIPLE_ACTIVE_TXN, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_MULTIPLE_ACTIVE_TXN> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MULTIPLE_ACTIVE_TXN> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 111)]
#[allow(non_camel_case_types)]
pub struct SQL_NEED_LONG_DATA_LEN;
impl InfoType<SQL_NEED_LONG_DATA_LEN, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_NEED_LONG_DATA_LEN> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_NEED_LONG_DATA_LEN> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 85)]
#[allow(non_camel_case_types)]
pub struct SQL_NULL_COLLATION;
impl InfoType<SQL_NULL_COLLATION, SQL_OV_ODBC3> for NullCollation {}
unsafe impl Attr<SQL_NULL_COLLATION> for NullCollation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_NULL_COLLATION> for NullCollation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 40)]
#[allow(non_camel_case_types)]
pub struct SQL_PROCEDURE_TERM;
impl InfoType<SQL_PROCEDURE_TERM, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_PROCEDURE_TERM> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_PROCEDURE_TERM> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 39)]
#[allow(non_camel_case_types)]
pub struct SQL_SCHEMA_TERM;
impl InfoType<SQL_SCHEMA_TERM, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_SCHEMA_TERM> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SCHEMA_TERM> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 44)]
#[allow(non_camel_case_types)]
pub struct SQL_SCROLL_OPTIONS;
impl InfoType<SQL_SCROLL_OPTIONS, SQL_OV_ODBC3> for ScrollOptions {}
unsafe impl Attr<SQL_SCROLL_OPTIONS> for ScrollOptions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SCROLL_OPTIONS> for ScrollOptions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 45)]
#[allow(non_camel_case_types)]
pub struct SQL_TABLE_TERM;
impl InfoType<SQL_TABLE_TERM, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_TABLE_TERM> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_TABLE_TERM> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 46)]
#[allow(non_camel_case_types)]
pub struct SQL_TXN_CAPABLE;
impl InfoType<SQL_TXN_CAPABLE, SQL_OV_ODBC3> for TxnCapable {}
unsafe impl Attr<SQL_TXN_CAPABLE> for TxnCapable {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_TXN_CAPABLE> for TxnCapable {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 72)]
#[allow(non_camel_case_types)]
pub struct SQL_TXN_ISOLATION_OPTION;
impl InfoType<SQL_TXN_ISOLATION_OPTION, SQL_OV_ODBC3> for TxnIsolation {}
unsafe impl Attr<SQL_TXN_ISOLATION_OPTION> for TxnIsolation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_TXN_ISOLATION_OPTION> for TxnIsolation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 47)]
#[allow(non_camel_case_types)]
pub struct SQL_USER_NAME;
impl InfoType<SQL_USER_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_USER_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_USER_NAME> for OdbcStr<SQLCHAR> {}

/////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////// Supported SQL //////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 169)]
#[allow(non_camel_case_types)]
pub struct SQL_AGGREGATE_FUNCTIONS;
impl InfoType<SQL_AGGREGATE_FUNCTIONS, SQL_OV_ODBC3> for AggregateFunctions {}
unsafe impl Attr<SQL_AGGREGATE_FUNCTIONS> for AggregateFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_AGGREGATE_FUNCTIONS> for AggregateFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 117)]
#[allow(non_camel_case_types)]
pub struct SQL_ALTER_DOMAIN;
impl InfoType<SQL_ALTER_DOMAIN, SQL_OV_ODBC3> for AlterDomain {}
unsafe impl Attr<SQL_ALTER_DOMAIN> for AlterDomain {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ALTER_DOMAIN> for AlterDomain {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 86)]
#[allow(non_camel_case_types)]
pub struct SQL_ALTER_TABLE;
impl InfoType<SQL_ALTER_TABLE, SQL_OV_ODBC3> for AlterTable {}
unsafe impl Attr<SQL_ALTER_TABLE> for AlterTable {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ALTER_TABLE> for AlterTable {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 114)]
#[allow(non_camel_case_types)]
pub struct SQL_CATALOG_LOCATION;
impl InfoType<SQL_CATALOG_LOCATION, SQL_OV_ODBC3> for CatalogLocation {}
unsafe impl Attr<SQL_CATALOG_LOCATION> for CatalogLocation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CATALOG_LOCATION> for CatalogLocation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10003)]
#[allow(non_camel_case_types)]
pub struct SQL_CATALOG_NAME;
impl InfoType<SQL_CATALOG_NAME, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_CATALOG_NAME> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CATALOG_NAME> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 41)]
#[allow(non_camel_case_types)]
pub struct SQL_CATALOG_NAME_SEPARATOR;
impl InfoType<SQL_CATALOG_NAME_SEPARATOR, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_CATALOG_NAME_SEPARATOR> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CATALOG_NAME_SEPARATOR> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 92)]
#[allow(non_camel_case_types)]
pub struct SQL_CATALOG_USAGE;
impl InfoType<SQL_CATALOG_USAGE, SQL_OV_ODBC3> for CatalogUsage {}
unsafe impl Attr<SQL_CATALOG_USAGE> for CatalogUsage {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CATALOG_USAGE> for CatalogUsage {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 87)]
#[allow(non_camel_case_types)]
pub struct SQL_COLUMN_ALIAS;
impl InfoType<SQL_COLUMN_ALIAS, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_COLUMN_ALIAS> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_COLUMN_ALIAS> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 74)]
#[allow(non_camel_case_types)]
pub struct SQL_CORRELATION_NAME;
impl InfoType<SQL_CORRELATION_NAME, SQL_OV_ODBC3> for CorrelationName {}
unsafe impl Attr<SQL_CORRELATION_NAME> for CorrelationName {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CORRELATION_NAME> for CorrelationName {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 127)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_ASSERTION;
impl InfoType<SQL_CREATE_ASSERTION, SQL_OV_ODBC3> for CreateAssertion {}
unsafe impl Attr<SQL_CREATE_ASSERTION> for CreateAssertion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_ASSERTION> for CreateAssertion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 128)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_CHARACTER_SET;
impl InfoType<SQL_CREATE_CHARACTER_SET, SQL_OV_ODBC3> for CreateCharacterSet {}
unsafe impl Attr<SQL_CREATE_CHARACTER_SET> for CreateCharacterSet {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_CHARACTER_SET> for CreateCharacterSet {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 129)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_COLLATION;
impl InfoType<SQL_CREATE_COLLATION, SQL_OV_ODBC3> for CreateCollation {}
unsafe impl Attr<SQL_CREATE_COLLATION> for CreateCollation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_COLLATION> for CreateCollation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 130)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_DOMAIN;
impl InfoType<SQL_CREATE_DOMAIN, SQL_OV_ODBC3> for CreateDomain {}
unsafe impl Attr<SQL_CREATE_DOMAIN> for CreateDomain {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_DOMAIN> for CreateDomain {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 131)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_SCHEMA;
impl InfoType<SQL_CREATE_SCHEMA, SQL_OV_ODBC3> for CreateSchema {}
unsafe impl Attr<SQL_CREATE_SCHEMA> for CreateSchema {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_SCHEMA> for CreateSchema {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 132)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_TABLE;
impl InfoType<SQL_CREATE_TABLE, SQL_OV_ODBC3> for CreateTable {}
unsafe impl Attr<SQL_CREATE_TABLE> for CreateTable {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_TABLE> for CreateTable {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 133)]
#[allow(non_camel_case_types)]
pub struct SQL_CREATE_TRANSLATION;
impl InfoType<SQL_CREATE_TRANSLATION, SQL_OV_ODBC3> for CreateTranslation {}
unsafe impl Attr<SQL_CREATE_TRANSLATION> for CreateTranslation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CREATE_TRANSLATION> for CreateTranslation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 170)]
#[allow(non_camel_case_types)]
pub struct SQL_DDL_INDEX;
impl InfoType<SQL_DDL_INDEX, SQL_OV_ODBC3> for DdlIndex {}
unsafe impl Attr<SQL_DDL_INDEX> for DdlIndex {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DDL_INDEX> for DdlIndex {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 136)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_ASSERTION;
impl InfoType<SQL_DROP_ASSERTION, SQL_OV_ODBC3> for DropAssertion {}
unsafe impl Attr<SQL_DROP_ASSERTION> for DropAssertion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_ASSERTION> for DropAssertion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 137)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_CHARACTER_SET;
impl InfoType<SQL_DROP_CHARACTER_SET, SQL_OV_ODBC3> for DropCharacterSet {}
unsafe impl Attr<SQL_DROP_CHARACTER_SET> for DropCharacterSet {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_CHARACTER_SET> for DropCharacterSet {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 138)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_COLLATION;
impl InfoType<SQL_DROP_COLLATION, SQL_OV_ODBC3> for DropCollation {}
unsafe impl Attr<SQL_DROP_COLLATION> for DropCollation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_COLLATION> for DropCollation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 139)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_DOMAIN;
impl InfoType<SQL_DROP_DOMAIN, SQL_OV_ODBC3> for DropDomain {}
unsafe impl Attr<SQL_DROP_DOMAIN> for DropDomain {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_DOMAIN> for DropDomain {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 140)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_SCHEMA;
impl InfoType<SQL_DROP_SCHEMA, SQL_OV_ODBC3> for DropSchema {}
unsafe impl Attr<SQL_DROP_SCHEMA> for DropSchema {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_SCHEMA> for DropSchema {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 141)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_TABLE;
impl InfoType<SQL_DROP_TABLE, SQL_OV_ODBC3> for DropTable {}
unsafe impl Attr<SQL_DROP_TABLE> for DropTable {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_TABLE> for DropTable {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 142)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_TRANSLATION;
impl InfoType<SQL_DROP_TRANSLATION, SQL_OV_ODBC3> for DropTranslation {}
unsafe impl Attr<SQL_DROP_TRANSLATION> for DropTranslation {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_TRANSLATION> for DropTranslation {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 143)]
#[allow(non_camel_case_types)]
pub struct SQL_DROP_VIEW;
impl InfoType<SQL_DROP_VIEW, SQL_OV_ODBC3> for DropView {}
unsafe impl Attr<SQL_DROP_VIEW> for DropView {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_DROP_VIEW> for DropView {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 27)]
#[allow(non_camel_case_types)]
pub struct SQL_EXPRESSIONS_IN_ORDERBY;
impl InfoType<SQL_EXPRESSIONS_IN_ORDERBY, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_EXPRESSIONS_IN_ORDERBY> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_EXPRESSIONS_IN_ORDERBY> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 88)]
#[allow(non_camel_case_types)]
pub struct SQL_GROUP_BY;
impl InfoType<SQL_GROUP_BY, SQL_OV_ODBC3> for GroupBy {}
unsafe impl Attr<SQL_GROUP_BY> for GroupBy {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_GROUP_BY> for GroupBy {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 28)]
#[allow(non_camel_case_types)]
pub struct SQL_IDENTIFIER_CASE;
impl InfoType<SQL_IDENTIFIER_CASE, SQL_OV_ODBC3> for IdentifierCase {}
unsafe impl Attr<SQL_IDENTIFIER_CASE> for IdentifierCase {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_IDENTIFIER_CASE> for IdentifierCase {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 29)]
#[allow(non_camel_case_types)]
pub struct SQL_IDENTIFIER_QUOTE_CHAR;
impl InfoType<SQL_IDENTIFIER_QUOTE_CHAR, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_IDENTIFIER_QUOTE_CHAR> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_IDENTIFIER_QUOTE_CHAR> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 148)]
#[allow(non_camel_case_types)]
pub struct SQL_INDEX_KEYWORDS;
impl InfoType<SQL_INDEX_KEYWORDS, SQL_OV_ODBC3> for IndexKeywords {}
unsafe impl Attr<SQL_INDEX_KEYWORDS> for IndexKeywords {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_INDEX_KEYWORDS> for IndexKeywords {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 171)]
#[allow(non_camel_case_types)]
pub struct SQL_INSERT_STATEMENT;
impl InfoType<SQL_INSERT_STATEMENT, SQL_OV_ODBC3> for InsertStatement {}
unsafe impl Attr<SQL_INSERT_STATEMENT> for InsertStatement {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_INSERT_STATEMENT> for InsertStatement {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 73)]
#[allow(non_camel_case_types)]
pub struct SQL_INTEGRITY;
impl InfoType<SQL_INTEGRITY, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_INTEGRITY> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_INTEGRITY> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 89)]
#[allow(non_camel_case_types)]
pub struct SQL_KEYWORDS;
impl InfoType<SQL_KEYWORDS, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_KEYWORDS> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_KEYWORDS> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 113)]
#[allow(non_camel_case_types)]
pub struct SQL_LIKE_ESCAPE_CLAUSE;
impl InfoType<SQL_LIKE_ESCAPE_CLAUSE, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_LIKE_ESCAPE_CLAUSE> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_LIKE_ESCAPE_CLAUSE> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 75)]
#[allow(non_camel_case_types)]
pub struct SQL_NON_NULLABLE_COLUMNS;
impl InfoType<SQL_NON_NULLABLE_COLUMNS, SQL_OV_ODBC3> for NonNullableColumns {}
unsafe impl Attr<SQL_NON_NULLABLE_COLUMNS> for NonNullableColumns {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_NON_NULLABLE_COLUMNS> for NonNullableColumns {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 115)]
#[allow(non_camel_case_types)]
pub struct SQL_OJ_CAPABILITIES;
impl InfoType<SQL_OJ_CAPABILITIES, SQL_OV_ODBC3> for OjCapabilities {}
unsafe impl Attr<SQL_OJ_CAPABILITIES> for OjCapabilities {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_OJ_CAPABILITIES> for OjCapabilities {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 90)]
#[allow(non_camel_case_types)]
pub struct SQL_ORDER_BY_COLUMNS_IN_SELECT;
impl InfoType<SQL_ORDER_BY_COLUMNS_IN_SELECT, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_ORDER_BY_COLUMNS_IN_SELECT> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_ORDER_BY_COLUMNS_IN_SELECT> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 38)]
#[allow(non_camel_case_types)]
pub struct SQL_OUTER_JOINS;
impl InfoType<SQL_OUTER_JOINS, SQL_OV_ODBC3> for OuterJoins {}
unsafe impl Attr<SQL_OUTER_JOINS> for OuterJoins {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_OUTER_JOINS> for OuterJoins {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 21)]
#[allow(non_camel_case_types)]
pub struct SQL_PROCEDURES;
impl InfoType<SQL_PROCEDURES, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_PROCEDURES> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_PROCEDURES> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 93)]
#[allow(non_camel_case_types)]
pub struct SQL_QUOTED_IDENTIFIER_CASE;
impl InfoType<SQL_QUOTED_IDENTIFIER_CASE, SQL_OV_ODBC3> for IdentifierCase {}
unsafe impl Attr<SQL_QUOTED_IDENTIFIER_CASE> for IdentifierCase {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_QUOTED_IDENTIFIER_CASE> for IdentifierCase {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 91)]
#[allow(non_camel_case_types)]
pub struct SQL_SCHEMA_USAGE;
impl InfoType<SQL_SCHEMA_USAGE, SQL_OV_ODBC3> for SchemaUsage {}
unsafe impl Attr<SQL_SCHEMA_USAGE> for SchemaUsage {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SCHEMA_USAGE> for SchemaUsage {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 94)]
#[allow(non_camel_case_types)]
pub struct SQL_SPECIAL_CHARACTERS;
impl InfoType<SQL_SPECIAL_CHARACTERS, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_SPECIAL_CHARACTERS> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SPECIAL_CHARACTERS> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 118)]
#[allow(non_camel_case_types)]
pub struct SQL_SQL_CONFORMANCE;
impl InfoType<SQL_SQL_CONFORMANCE, SQL_OV_ODBC3> for SqlConformance {}
unsafe impl Attr<SQL_SQL_CONFORMANCE> for SqlConformance {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SQL_CONFORMANCE> for SqlConformance {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 95)]
#[allow(non_camel_case_types)]
pub struct SQL_SUBQUERIES;
impl InfoType<SQL_SUBQUERIES, SQL_OV_ODBC3> for Subqueries {}
unsafe impl Attr<SQL_SUBQUERIES> for Subqueries {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SUBQUERIES> for Subqueries {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 96)]
#[allow(non_camel_case_types)]
pub struct SQL_UNION;
impl InfoType<SQL_UNION, SQL_OV_ODBC3> for Union {}
unsafe impl Attr<SQL_UNION> for Union {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_UNION> for Union {}

/////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////// SQL Limits ///////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 112)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_BINARY_LITERAL_LEN;
impl InfoType<SQL_MAX_BINARY_LITERAL_LEN, SQL_OV_ODBC3> for SQLUINTEGER {}
unsafe impl Attr<SQL_MAX_BINARY_LITERAL_LEN> for SQLUINTEGER {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_BINARY_LITERAL_LEN> for SQLUINTEGER {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 34)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_CATALOG_NAME_LEN;
impl InfoType<SQL_MAX_CATALOG_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_CATALOG_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_CATALOG_NAME_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 108)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_CHAR_LITERAL_LEN;
impl InfoType<SQL_MAX_CHAR_LITERAL_LEN, SQL_OV_ODBC3> for SQLUINTEGER {}
unsafe impl Attr<SQL_MAX_CHAR_LITERAL_LEN> for SQLUINTEGER {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_CHAR_LITERAL_LEN> for SQLUINTEGER {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 30)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_COLUMN_NAME_LEN;
impl InfoType<SQL_MAX_COLUMN_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_COLUMN_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_COLUMN_NAME_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 97)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_COLUMNS_IN_GROUP_BY;
impl InfoType<SQL_MAX_COLUMNS_IN_GROUP_BY, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_COLUMNS_IN_GROUP_BY> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_COLUMNS_IN_GROUP_BY> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 98)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_COLUMNS_IN_INDEX;
impl InfoType<SQL_MAX_COLUMNS_IN_INDEX, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_COLUMNS_IN_INDEX> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_COLUMNS_IN_INDEX> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 99)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_COLUMNS_IN_ORDER_BY;
impl InfoType<SQL_MAX_COLUMNS_IN_ORDER_BY, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_COLUMNS_IN_ORDER_BY> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_COLUMNS_IN_ORDER_BY> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 100)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_COLUMNS_IN_SELECT;
impl InfoType<SQL_MAX_COLUMNS_IN_SELECT, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_COLUMNS_IN_SELECT> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_COLUMNS_IN_SELECT> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 101)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_COLUMNS_IN_TABLE;
impl InfoType<SQL_MAX_COLUMNS_IN_TABLE, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_COLUMNS_IN_TABLE> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_COLUMNS_IN_TABLE> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 31)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_CURSOR_NAME_LEN;
impl InfoType<SQL_MAX_CURSOR_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_CURSOR_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_CURSOR_NAME_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 10005)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_IDENTIFIER_LEN;
impl InfoType<SQL_MAX_IDENTIFIER_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_IDENTIFIER_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_IDENTIFIER_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 102)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_INDEX_SIZE;
impl InfoType<SQL_MAX_INDEX_SIZE, SQL_OV_ODBC3> for SQLUINTEGER {}
unsafe impl Attr<SQL_MAX_INDEX_SIZE> for SQLUINTEGER {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_INDEX_SIZE> for SQLUINTEGER {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 33)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_PROCEDURE_NAME_LEN;
impl InfoType<SQL_MAX_PROCEDURE_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_PROCEDURE_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_PROCEDURE_NAME_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 104)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_ROW_SIZE;
impl InfoType<SQL_MAX_ROW_SIZE, SQL_OV_ODBC3> for SQLUINTEGER {}
unsafe impl Attr<SQL_MAX_ROW_SIZE> for SQLUINTEGER {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_ROW_SIZE> for SQLUINTEGER {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 103)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_ROW_SIZE_INCLUDES_LONG;
impl InfoType<SQL_MAX_ROW_SIZE_INCLUDES_LONG, SQL_OV_ODBC3> for OdbcStr<SQLCHAR> {}
unsafe impl Attr<SQL_MAX_ROW_SIZE_INCLUDES_LONG> for OdbcStr<SQLCHAR> {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_ROW_SIZE_INCLUDES_LONG> for OdbcStr<SQLCHAR> {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 32)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_SCHEMA_NAME_LEN;
impl InfoType<SQL_MAX_SCHEMA_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_SCHEMA_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_SCHEMA_NAME_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 105)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_STATEMENT_LEN;
impl InfoType<SQL_MAX_STATEMENT_LEN, SQL_OV_ODBC3> for SQLUINTEGER {}
unsafe impl Attr<SQL_MAX_STATEMENT_LEN> for SQLUINTEGER {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_STATEMENT_LEN> for SQLUINTEGER {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 35)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_TABLE_NAME_LEN;
impl InfoType<SQL_MAX_TABLE_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_TABLE_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_TABLE_NAME_LEN> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 106)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_TABLES_IN_SELECT;
impl InfoType<SQL_MAX_TABLES_IN_SELECT, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_TABLES_IN_SELECT> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_TABLES_IN_SELECT> for SQLUSMALLINT {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 107)]
#[allow(non_camel_case_types)]
pub struct SQL_MAX_USER_NAME_LEN;
impl InfoType<SQL_MAX_USER_NAME_LEN, SQL_OV_ODBC3> for SQLUSMALLINT {}
unsafe impl Attr<SQL_MAX_USER_NAME_LEN> for SQLUSMALLINT {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_MAX_USER_NAME_LEN> for SQLUSMALLINT {}

/////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// Scalar Function Information //////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 48)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_FUNCTIONS;
impl InfoType<SQL_CONVERT_FUNCTIONS, SQL_OV_ODBC3> for ConvertFunctions {}
unsafe impl Attr<SQL_CONVERT_FUNCTIONS> for ConvertFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_FUNCTIONS> for ConvertFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 49)]
#[allow(non_camel_case_types)]
pub struct SQL_NUMERIC_FUNCTIONS;
impl InfoType<SQL_NUMERIC_FUNCTIONS, SQL_OV_ODBC3> for NumericFunctions {}
unsafe impl Attr<SQL_NUMERIC_FUNCTIONS> for NumericFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_NUMERIC_FUNCTIONS> for NumericFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 50)]
#[allow(non_camel_case_types)]
pub struct SQL_STRING_FUNCTIONS;
impl InfoType<SQL_STRING_FUNCTIONS, SQL_OV_ODBC3> for StringFunctions {}
unsafe impl Attr<SQL_STRING_FUNCTIONS> for StringFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_STRING_FUNCTIONS> for StringFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 51)]
#[allow(non_camel_case_types)]
pub struct SQL_SYSTEM_FUNCTIONS;
impl InfoType<SQL_SYSTEM_FUNCTIONS, SQL_OV_ODBC3> for SystemFunctions {}
unsafe impl Attr<SQL_SYSTEM_FUNCTIONS> for SystemFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_SYSTEM_FUNCTIONS> for SystemFunctions {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 109)]
#[allow(non_camel_case_types)]
pub struct SQL_TIMEDATE_ADD_INTERVALS;
impl InfoType<SQL_TIMEDATE_ADD_INTERVALS, SQL_OV_ODBC3> for TimedateIntervals {}
unsafe impl Attr<SQL_TIMEDATE_ADD_INTERVALS> for TimedateIntervals {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_TIMEDATE_ADD_INTERVALS> for TimedateIntervals {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 110)]
#[allow(non_camel_case_types)]
pub struct SQL_TIMEDATE_DIFF_INTERVALS;
impl InfoType<SQL_TIMEDATE_DIFF_INTERVALS, SQL_OV_ODBC3> for TimedateIntervals {}
unsafe impl Attr<SQL_TIMEDATE_DIFF_INTERVALS> for TimedateIntervals {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_TIMEDATE_DIFF_INTERVALS> for TimedateIntervals {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 52)]
#[allow(non_camel_case_types)]
pub struct SQL_TIMEDATE_FUNCTIONS;
impl InfoType<SQL_TIMEDATE_FUNCTIONS, SQL_OV_ODBC3> for TimedateFunctions {}
unsafe impl Attr<SQL_TIMEDATE_FUNCTIONS> for TimedateFunctions {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_TIMEDATE_FUNCTIONS> for TimedateFunctions {}

/////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////// Conversion Information /////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 53)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_BIGINT;
impl InfoType<SQL_CONVERT_BIGINT, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_BIGINT> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_BIGINT> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 54)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_BINARY;
impl InfoType<SQL_CONVERT_BINARY, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_BINARY> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_BINARY> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 55)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_BIT;
impl InfoType<SQL_CONVERT_BIT, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_BIT> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_BIT> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 56)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_CHAR;
impl InfoType<SQL_CONVERT_CHAR, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_CHAR> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_CHAR> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 57)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_DATE;
impl InfoType<SQL_CONVERT_DATE, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_DATE> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_DATE> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 58)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_DECIMAL;
impl InfoType<SQL_CONVERT_DECIMAL, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_DECIMAL> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_DECIMAL> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 59)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_DOUBLE;
impl InfoType<SQL_CONVERT_DOUBLE, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_DOUBLE> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_DOUBLE> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 60)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_FLOAT;
impl InfoType<SQL_CONVERT_FLOAT, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_FLOAT> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_FLOAT> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 61)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_INTEGER;
impl InfoType<SQL_CONVERT_INTEGER, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_INTEGER> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_INTEGER> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 123)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_INTERVAL_DAY_TIME;
impl InfoType<SQL_CONVERT_INTERVAL_DAY_TIME, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_INTERVAL_DAY_TIME> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_INTERVAL_DAY_TIME> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 124)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_INTERVAL_YEAR_MONTH;
impl InfoType<SQL_CONVERT_INTERVAL_YEAR_MONTH, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_INTERVAL_YEAR_MONTH> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_INTERVAL_YEAR_MONTH> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 71)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_LONGVARBINARY;
impl InfoType<SQL_CONVERT_LONGVARBINARY, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_LONGVARBINARY> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_LONGVARBINARY> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 62)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_LONGVARCHAR;
impl InfoType<SQL_CONVERT_LONGVARCHAR, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_LONGVARCHAR> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_LONGVARCHAR> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 63)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_NUMERIC;
impl InfoType<SQL_CONVERT_NUMERIC, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_NUMERIC> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_NUMERIC> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 64)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_REAL;
impl InfoType<SQL_CONVERT_REAL, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_REAL> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_REAL> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 65)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_SMALLINT;
impl InfoType<SQL_CONVERT_SMALLINT, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_SMALLINT> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_SMALLINT> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 66)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_TIME;
impl InfoType<SQL_CONVERT_TIME, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_TIME> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_TIME> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 67)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_TIMESTAMP;
impl InfoType<SQL_CONVERT_TIMESTAMP, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_TIMESTAMP> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_TIMESTAMP> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 68)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_TINYINT;
impl InfoType<SQL_CONVERT_TINYINT, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_TINYINT> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_TINYINT> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 69)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_VARBINARY;
impl InfoType<SQL_CONVERT_VARBINARY, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_VARBINARY> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_VARBINARY> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 70)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_VARCHAR;
impl InfoType<SQL_CONVERT_VARCHAR, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_VARCHAR> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_VARCHAR> for Conversion {}

#[derive(Ident)]
#[identifier(SQLUSMALLINT, 173)]
#[allow(non_camel_case_types)]
pub struct SQL_CONVERT_GUID;
impl InfoType<SQL_CONVERT_GUID, SQL_OV_ODBC3> for Conversion {}
unsafe impl Attr<SQL_CONVERT_GUID> for Conversion {
    type DefinedBy = OdbcDefined;
}
unsafe impl AttrGet<SQL_CONVERT_GUID> for Conversion {}

//=====================================================================================//

#[odbc_type(SQLUINTEGER)]
pub struct AsyncDbcFunctions;
pub const SQL_ASYNC_DBC_NOT_CAPABLE: AsyncDbcFunctions = AsyncDbcFunctions(0x0000000);
pub const SQL_ASYNC_DBC_CAPABLE: AsyncDbcFunctions = AsyncDbcFunctions(0x00000001);

#[odbc_type(SQLUINTEGER)]
pub struct AsyncMode;
pub const SQL_AM_NONE: AsyncMode = AsyncMode(0);
pub const SQL_AM_CONNECTION: AsyncMode = AsyncMode(1);
pub const SQL_AM_STATEMENT: AsyncMode = AsyncMode(2);

#[odbc_type(SQLUINTEGER)]
pub struct AsyncNotification;
pub const SQL_ASYNC_NOTIFICATION_NOT_CAPABLE: AsyncNotification = AsyncNotification(0x00000000);
pub const SQL_ASYNC_NOTIFICATION_CAPABLE: AsyncNotification = AsyncNotification(0x00000001);

#[odbc_type(SQLUSMALLINT)]
pub struct ConcatNullBehavior;
pub const SQL_CB_NON_NULL: ConcatNullBehavior = ConcatNullBehavior(0x0000);
pub const SQL_CB_NULL: ConcatNullBehavior = ConcatNullBehavior(0x0001);

#[odbc_type(SQLUSMALLINT)]
pub struct CorrelationName;
pub const SQL_CN_NONE: CorrelationName = CorrelationName(0x0000);
pub const SQL_CN_DIFFERENT: CorrelationName = CorrelationName(0x0001);
pub const SQL_CN_ANY: CorrelationName = CorrelationName(0x0002);

#[odbc_type(SQLUINTEGER)]
pub struct CatalogLocation;
pub const SQL_CL_START: CatalogLocation = CatalogLocation(0x0001);
pub const SQL_CL_END: CatalogLocation = CatalogLocation(0x0002);

#[odbc_type(SQLUSMALLINT)]
pub struct CursorBehavior;
pub const SQL_CB_DELETE: CursorBehavior = CursorBehavior(0);
pub const SQL_CB_CLOSE: CursorBehavior = CursorBehavior(1);
pub const SQL_CB_PRESERVE: CursorBehavior = CursorBehavior(2);

#[odbc_type(SQLUINTEGER)]
pub struct CursorSensitivity;
pub const SQL_UNSPECIFIED: CursorSensitivity = CursorSensitivity(0);
pub const SQL_INSENSITIVE: CursorSensitivity = CursorSensitivity(1);
pub const SQL_SENSITIVE: CursorSensitivity = CursorSensitivity(2);

#[odbc_type(SQLUINTEGER)]
pub struct DdlIndex;
pub const SQL_DI_CREATE_INDEX: DdlIndex = DdlIndex(0x00000001);
pub const SQL_DI_DROP_INDEX: DdlIndex = DdlIndex(0x00000002);

#[odbc_type(SQLUSMALLINT)]
pub struct TxnCapable;
pub const SQL_TC_NONE: TxnCapable = TxnCapable(0);
pub const SQL_TC_DML: TxnCapable = TxnCapable(1);
pub const SQL_TC_ALL: TxnCapable = TxnCapable(2);
pub const SQL_TC_DDL_COMMIT: TxnCapable = TxnCapable(3);
pub const SQL_TC_DDL_IGNORE: TxnCapable = TxnCapable(4);

#[odbc_type(SQLUINTEGER)]
pub struct SqlConformance;
pub const SQL_SC_SQL92_ENTRY: SqlConformance = SqlConformance(0x00000001);
pub const SQL_SC_FIPS127_2_TRANSITIONAL: SqlConformance = SqlConformance(0x00000002);
pub const SQL92_INTERMEDIATE: SqlConformance = SqlConformance(0x00000004);
pub const SQL_SC_SQL92_FULL: SqlConformance = SqlConformance(0x00000008);

#[odbc_type(SQLUINTEGER)]
pub struct ParamArraySelects;
pub const SQL_PAS_BATCH: ParamArraySelects = ParamArraySelects(1);
pub const SQL_PAS_NO_BATCH: ParamArraySelects = ParamArraySelects(2);
pub const SQL_PAS_NO_SELECT: ParamArraySelects = ParamArraySelects(3);

#[odbc_type(SQLUINTEGER)]
pub struct ParamArrayRowCounts;
pub const SQL_PARC_BATCH: ParamArrayRowCounts = ParamArrayRowCounts(1);
pub const SQL_PARC_NO_BATCH: ParamArrayRowCounts = ParamArrayRowCounts(2);

#[odbc_type(SQLUINTEGER)]
pub struct OdbcInterfaceConformance;
pub const SQL_OIC_CORE: OdbcInterfaceConformance = OdbcInterfaceConformance(1);
pub const SQL_OIC_LEVEL1: OdbcInterfaceConformance = OdbcInterfaceConformance(2);
pub const SQL_OIC_LEVEL2: OdbcInterfaceConformance = OdbcInterfaceConformance(3);

#[odbc_type(SQLUSMALLINT)]
pub struct NonNullableColumns;
pub const SQL_NNC_NULL: NonNullableColumns = NonNullableColumns(0x0000);
pub const SQL_NNC_NON_NULL: NonNullableColumns = NonNullableColumns(0x0001);

#[odbc_type(SQLUSMALLINT)]
pub struct IdentifierCase;
pub const SQL_IC_UPPER: IdentifierCase = IdentifierCase(1);
pub const SQL_IC_LOWER: IdentifierCase = IdentifierCase(2);
pub const SQL_IC_SENSITIVE: IdentifierCase = IdentifierCase(3);
pub const SQL_IC_MIXED: IdentifierCase = IdentifierCase(4);

#[odbc_type(SQLUSMALLINT)]
pub struct GroupBy;
pub const SQL_GB_NOT_SUPPORTED: GroupBy = GroupBy(0x0000);
pub const SQL_GB_GROUP_BY_EQUALS_SELECT: GroupBy = GroupBy(0x0001);
pub const SQL_GB_GROUP_BY_CONTAINS_SELECT: GroupBy = GroupBy(0x0002);
pub const SQL_GB_NO_RELATION: GroupBy = GroupBy(0x0003);
pub const SQL_GB_COLLATE: GroupBy = GroupBy(0x0004);

#[odbc_type(SQLUSMALLINT)]
pub struct FileUsage;
pub const SQL_FILE_NOT_SUPPORTED: FileUsage = FileUsage(0x0000);
pub const SQL_FILE_TABLE: FileUsage = FileUsage(0x0001);
pub const SQL_FILE_CATALOG: FileUsage = FileUsage(0x0002);

#[odbc_bitmask(SQLUINTEGER)]
pub struct BatchRowCount;
pub const SQL_BRC_PROCEDURES: BatchRowCount = BatchRowCount(0x0000001);
pub const SQL_BRC_EXPLICIT: BatchRowCount = BatchRowCount(0x0000002);
pub const SQL_BRC_ROLLED_UP: BatchRowCount = BatchRowCount(0x0000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct BatchSupport;
pub const SQL_BS_SELECT_EXPLICIT: BatchSupport = BatchSupport(0x00000001);
pub const SQL_BS_ROW_COUNT_EXPLICIT: BatchSupport = BatchSupport(0x00000002);
pub const SQL_BS_SELECT_PROC: BatchSupport = BatchSupport(0x00000004);
pub const SQL_BS_ROW_COUNT_PROC: BatchSupport = BatchSupport(0x00000008);

#[odbc_type(SQLUINTEGER)]
pub struct DriverAwarePoolingSupported;
pub const SQL_DRIVER_AWARE_POOLING_NOT_CAPABLE: DriverAwarePoolingSupported =
    DriverAwarePoolingSupported(0x00000000);
pub const SQL_DRIVER_AWARE_POOLING_CAPABLE: DriverAwarePoolingSupported =
    DriverAwarePoolingSupported(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CursorAttributes1;
pub const SQL_CA1_NEXT: CursorAttributes1 = CursorAttributes1(0x00000001);
pub const SQL_CA1_ABSOLUTE: CursorAttributes1 = CursorAttributes1(0x00000002);
pub const SQL_CA1_RELATIVE: CursorAttributes1 = CursorAttributes1(0x00000004);
pub const SQL_CA1_BOOKMARK: CursorAttributes1 = CursorAttributes1(0x00000008);

pub const SQL_CA1_LOCK_NO_CHANGE: CursorAttributes1 = CursorAttributes1(0x00000040);
pub const SQL_CA1_LOCK_EXCLUSIVE: CursorAttributes1 = CursorAttributes1(0x00000080);
pub const SQL_CA1_LOCK_UNLOCK: CursorAttributes1 = CursorAttributes1(0x00000100);

pub const SQL_CA1_POS_POSITION: CursorAttributes1 = CursorAttributes1(0x00000200);
pub const SQL_CA1_POS_UPDATE: CursorAttributes1 = CursorAttributes1(0x00000400);
pub const SQL_CA1_POS_DELETE: CursorAttributes1 = CursorAttributes1(0x00000800);
pub const SQL_CA1_POS_REFRESH: CursorAttributes1 = CursorAttributes1(0x00001000);

pub const SQL_CA1_POSITIONED_UPDATE: CursorAttributes1 = CursorAttributes1(0x00002000);
pub const SQL_CA1_POSITIONED_DELETE: CursorAttributes1 = CursorAttributes1(0x00004000);
pub const SQL_CA1_SELECT_FOR_UPDATE: CursorAttributes1 = CursorAttributes1(0x00008000);

pub const SQL_CA1_BULK_ADD: CursorAttributes1 = CursorAttributes1(0x00010000);
pub const SQL_CA1_BULK_UPDATE_BY_BOOKMARK: CursorAttributes1 = CursorAttributes1(0x00020000);
pub const SQL_CA1_BULK_DELETE_BY_BOOKMARK: CursorAttributes1 = CursorAttributes1(0x00040000);
pub const SQL_CA1_BULK_FETCH_BY_BOOKMARK: CursorAttributes1 = CursorAttributes1(0x00080000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CursorAttributes2;
pub const SQL_CA2_READ_ONLY_CONCURRENCY: CursorAttributes2 = CursorAttributes2(0x00000001);
pub const SQL_CA2_LOCK_CONCURRENCY: CursorAttributes2 = CursorAttributes2(0x00000002);
pub const SQL_CA2_OPT_ROWVER_CONCURRENCY: CursorAttributes2 = CursorAttributes2(0x00000004);
pub const SQL_CA2_OPT_VALUES_CONCURRENCY: CursorAttributes2 = CursorAttributes2(0x00000008);

pub const SQL_CA2_SENSITIVITY_ADDITIONS: CursorAttributes2 = CursorAttributes2(0x00000010);
pub const SQL_CA2_SENSITIVITY_DELETIONS: CursorAttributes2 = CursorAttributes2(0x00000020);
pub const SQL_CA2_SENSITIVITY_UPDATES: CursorAttributes2 = CursorAttributes2(0x00000040);

pub const SQL_CA2_MAX_ROWS_SELECT: CursorAttributes2 = CursorAttributes2(0x00000080);
pub const SQL_CA2_MAX_ROWS_INSERT: CursorAttributes2 = CursorAttributes2(0x00000100);
pub const SQL_CA2_MAX_ROWS_DELETE: CursorAttributes2 = CursorAttributes2(0x00000200);
pub const SQL_CA2_MAX_ROWS_UPDATE: CursorAttributes2 = CursorAttributes2(0x00000400);
pub const SQL_CA2_MAX_ROWS_CATALOG: CursorAttributes2 = CursorAttributes2(0x00000800);
pub const SQL_CA2_MAX_ROWS_AFFECTS_ALL: CursorAttributes2 = CursorAttributes2(
    SQL_CA2_MAX_ROWS_SELECT.0
        | SQL_CA2_MAX_ROWS_INSERT.0
        | SQL_CA2_MAX_ROWS_DELETE.0
        | SQL_CA2_MAX_ROWS_UPDATE.0
        | SQL_CA2_MAX_ROWS_CATALOG.0,
);

pub const SQL_CA2_CRC_EXACT: CursorAttributes2 = CursorAttributes2(0x00001000);
pub const SQL_CA2_CRC_APPROXIMATE: CursorAttributes2 = CursorAttributes2(0x00002000);

pub const SQL_CA2_SIMULATE_NON_UNIQUE: CursorAttributes2 = CursorAttributes2(0x00004000);
pub const SQL_CA2_SIMULATE_TRY_UNIQUE: CursorAttributes2 = CursorAttributes2(0x00008000);
pub const SQL_CA2_SIMULATE_UNIQUE: CursorAttributes2 = CursorAttributes2(0x00010000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct GetdataExtensions;
pub const SQL_GD_ANY_COLUMN: GetdataExtensions = GetdataExtensions(0x00000001);
pub const SQL_GD_ANY_ORDER: GetdataExtensions = GetdataExtensions(0x00000002);
pub const SQL_GD_BLOCK: GetdataExtensions = GetdataExtensions(0x00000004);
pub const SQL_GD_BOUND: GetdataExtensions = GetdataExtensions(0x00000008);
pub const SQL_GD_OUTPUT_PARAMS: GetdataExtensions = GetdataExtensions(0x00000010);
pub const SQL_GD_CONCURRENT: GetdataExtensions = GetdataExtensions(0x00000020);

#[odbc_bitmask(SQLUINTEGER)]
pub struct InfoSchemaViews;
pub const SQL_ISV_ASSERTIONS: InfoSchemaViews = InfoSchemaViews(0x00000001);
pub const SQL_ISV_CHARACTER_SETS: InfoSchemaViews = InfoSchemaViews(0x00000002);
pub const SQL_ISV_CHECK_CONSTRAINTS: InfoSchemaViews = InfoSchemaViews(0x00000004);
pub const SQL_ISV_COLLATIONS: InfoSchemaViews = InfoSchemaViews(0x00000008);
pub const SQL_ISV_COLUMN_DOMAIN_USAGE: InfoSchemaViews = InfoSchemaViews(0x00000010);
pub const SQL_ISV_COLUMN_PRIVILEGES: InfoSchemaViews = InfoSchemaViews(0x00000020);
pub const SQL_ISV_COLUMNS: InfoSchemaViews = InfoSchemaViews(0x00000040);
pub const SQL_ISV_CONSTRAINT_COLUMN_USAGE: InfoSchemaViews = InfoSchemaViews(0x00000080);
pub const SQL_ISV_CONSTRAINT_TABLE_USAGE: InfoSchemaViews = InfoSchemaViews(0x00000100);
pub const SQL_ISV_DOMAIN_CONSTRAINTS: InfoSchemaViews = InfoSchemaViews(0x00000200);
pub const SQL_ISV_DOMAINS: InfoSchemaViews = InfoSchemaViews(0x00000400);
pub const SQL_ISV_KEY_COLUMN_USAGE: InfoSchemaViews = InfoSchemaViews(0x00000800);
pub const SQL_ISV_REFERENTIAL_CONSTRAINTS: InfoSchemaViews = InfoSchemaViews(0x00001000);
pub const SQL_ISV_SCHEMATA: InfoSchemaViews = InfoSchemaViews(0x00002000);
pub const SQL_ISV_SQL_LANGUAGES: InfoSchemaViews = InfoSchemaViews(0x00004000);
pub const SQL_ISV_TABLE_CONSTRAINTS: InfoSchemaViews = InfoSchemaViews(0x00008000);
pub const SQL_ISV_TABLE_PRIVILEGES: InfoSchemaViews = InfoSchemaViews(0x00010000);
pub const SQL_ISV_TABLES: InfoSchemaViews = InfoSchemaViews(0x00020000);
pub const SQL_ISV_TRANSLATIONS: InfoSchemaViews = InfoSchemaViews(0x00040000);
pub const SQL_ISV_USAGE_PRIVILEGES: InfoSchemaViews = InfoSchemaViews(0x00080000);
pub const SQL_ISV_VIEW_COLUMN_USAGE: InfoSchemaViews = InfoSchemaViews(0x00100000);
pub const SQL_ISV_VIEW_TABLE_USAGE: InfoSchemaViews = InfoSchemaViews(0x00200000);
pub const SQL_ISV_VIEWS: InfoSchemaViews = InfoSchemaViews(0x00400000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct BookmarkPersistence;
pub const SQL_BP_CLOSE: BookmarkPersistence = BookmarkPersistence(0x00000001);
pub const SQL_BP_DELETE: BookmarkPersistence = BookmarkPersistence(0x00000002);
pub const SQL_BP_DROP: BookmarkPersistence = BookmarkPersistence(0x00000004);
pub const SQL_BP_TRANSACTION: BookmarkPersistence = BookmarkPersistence(0x00000008);
pub const SQL_BP_UPDATE: BookmarkPersistence = BookmarkPersistence(0x00000010);
pub const SQL_BP_OTHER_HSTMT: BookmarkPersistence = BookmarkPersistence(0x00000020);
// TODO: should also be supported?
// pub const SQL_BP_SCROLL: BookmarkPersistence = BookmarkPersistence(0x00000040);

#[odbc_type(SQLUSMALLINT)]
pub struct NullCollation;
pub const SQL_NC_HIGH: NullCollation = NullCollation(0);
pub const SQL_NC_LOW: NullCollation = NullCollation(1);
pub const SQL_NC_START: NullCollation = NullCollation(0x0002);
pub const SQL_NC_END: NullCollation = NullCollation(0x0004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct ScrollOptions;
pub const SQL_SO_FORWARD_ONLY: ScrollOptions = ScrollOptions(0x00000001);
pub const SQL_SO_KEYSET_DRIVEN: ScrollOptions = ScrollOptions(0x00000002);
pub const SQL_SO_DYNAMIC: ScrollOptions = ScrollOptions(0x00000004);
pub const SQL_SO_MIXED: ScrollOptions = ScrollOptions(0x00000008);
pub const SQL_SO_STATIC: ScrollOptions = ScrollOptions(0x00000010);

// TODO: This is both an odbc type and bitmask
#[odbc_bitmask(SQLUINTEGER)]
pub struct TxnIsolation;
pub const SQL_TXN_READ_UNCOMMITTED: TxnIsolation = TxnIsolation(0x00000001);
pub const SQL_TXN_READ_COMMITTED: TxnIsolation = TxnIsolation(0x00000002);
pub const SQL_TXN_REPEATABLE_READ: TxnIsolation = TxnIsolation(0x00000004);
pub const SQL_TXN_SERIALIZABLE: TxnIsolation = TxnIsolation(0x00000008);

#[odbc_bitmask(SQLUINTEGER)]
pub struct AggregateFunctions;
pub const SQL_AF_AVG: AggregateFunctions = AggregateFunctions(0x00000001);
pub const SQL_AF_COUNT: AggregateFunctions = AggregateFunctions(0x00000002);
pub const SQL_AF_MAX: AggregateFunctions = AggregateFunctions(0x00000004);
pub const SQL_AF_MIN: AggregateFunctions = AggregateFunctions(0x00000008);
pub const SQL_AF_SUM: AggregateFunctions = AggregateFunctions(0x00000010);
pub const SQL_AF_DISTINCT: AggregateFunctions = AggregateFunctions(0x00000020);
pub const SQL_AF_ALL: AggregateFunctions = AggregateFunctions(0x00000040);
pub const SQL_AF_EVERY: AggregateFunctions = AggregateFunctions(0x00000080);
pub const SQL_AF_ANY: AggregateFunctions = AggregateFunctions(0x00000100);
pub const SQL_AF_STDEV_OP: AggregateFunctions = AggregateFunctions(0x00000200);
pub const SQL_AF_STDEV_SAMP: AggregateFunctions = AggregateFunctions(0x00000400);
pub const SQL_AF_VAR_SAMP: AggregateFunctions = AggregateFunctions(0x00000800);
pub const SQL_AF_VAR_POP: AggregateFunctions = AggregateFunctions(0x00001000);
pub const SQL_AF_ARRAY_AGG: AggregateFunctions = AggregateFunctions(0x00002000);
pub const SQL_AF_COLLECT: AggregateFunctions = AggregateFunctions(0x00004000);
pub const SQL_AF_FUSION: AggregateFunctions = AggregateFunctions(0x00008000);
pub const SQL_AF_INTERSECTION: AggregateFunctions = AggregateFunctions(0x00010000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct AlterDomain;
pub const SQL_AD_CONSTRAINT_NAME_DEFINITION: AlterDomain = AlterDomain(0x00000001);
pub const SQL_AD_ADD_DOMAIN_CONSTRAINT: AlterDomain = AlterDomain(0x00000002);
pub const SQL_AD_DROP_DOMAIN_CONSTRAINT: AlterDomain = AlterDomain(0x00000004);
pub const SQL_AD_ADD_DOMAIN_DEFAULT: AlterDomain = AlterDomain(0x00000008);
pub const SQL_AD_DROP_DOMAIN_DEFAULT: AlterDomain = AlterDomain(0x00000010);
pub const SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED: AlterDomain = AlterDomain(0x00000020);
pub const SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE: AlterDomain = AlterDomain(0x00000040);
pub const SQL_AD_ADD_CONSTRAINT_DEFERRABLE: AlterDomain = AlterDomain(0x00000080);
pub const SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE: AlterDomain = AlterDomain(0x00000100);

#[odbc_bitmask(SQLUINTEGER)]
pub struct AlterTable;
// TODO: Are these two to be supported
//pub const SQL_AT_ADD_COLUMN: AlterTable = AlterTable(0x00000001);
//pub const SQL_AT_DROP_COLUMN: AlterTable = AlterTable(0x00000002);
pub const SQL_AT_ADD_CONSTRAINT: AlterTable = AlterTable(0x00000008);
pub const SQL_AT_ADD_COLUMN_SINGLE: AlterTable = AlterTable(0x00000020);
pub const SQL_AT_ADD_COLUMN_DEFAULT: AlterTable = AlterTable(0x00000040);
pub const SQL_AT_ADD_COLUMN_COLLATION: AlterTable = AlterTable(0x00000080);
pub const SQL_AT_SET_COLUMN_DEFAULT: AlterTable = AlterTable(0x00000100);
pub const SQL_AT_DROP_COLUMN_DEFAULT: AlterTable = AlterTable(0x00000200);
pub const SQL_AT_DROP_COLUMN_CASCADE: AlterTable = AlterTable(0x00000400);
pub const SQL_AT_DROP_COLUMN_RESTRICT: AlterTable = AlterTable(0x00000800);
pub const SQL_AT_ADD_TABLE_CONSTRAINT: AlterTable = AlterTable(0x00001000);
pub const SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE: AlterTable = AlterTable(0x00002000);
pub const SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT: AlterTable = AlterTable(0x00004000);
pub const SQL_AT_CONSTRAINT_NAME_DEFINITION: AlterTable = AlterTable(0x00008000);
pub const SQL_AT_CONSTRAINT_INITIALLY_DEFERRED: AlterTable = AlterTable(0x00010000);
pub const SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE: AlterTable = AlterTable(0x00020000);
pub const SQL_AT_CONSTRAINT_DEFERRABLE: AlterTable = AlterTable(0x00040000);
pub const SQL_AT_CONSTRAINT_NON_DEFERRABLE: AlterTable = AlterTable(0x00080000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CatalogUsage;
pub const SQL_CU_DML_STATEMENTS: CatalogUsage = CatalogUsage(0x00000001);
pub const SQL_CU_PROCEDURE_INVOCATION: CatalogUsage = CatalogUsage(0x00000002);
pub const SQL_CU_TABLE_DEFINITION: CatalogUsage = CatalogUsage(0x00000004);
pub const SQL_CU_INDEX_DEFINITION: CatalogUsage = CatalogUsage(0x00000008);
pub const SQL_CU_PRIVILEGE_DEFINITION: CatalogUsage = CatalogUsage(0x00000010);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateAssertion;
pub const SQL_CA_CREATE_ASSERTION: CreateAssertion = CreateAssertion(0x00000001);
pub const SQL_CA_CONSTRAINT_INITIALLY_DEFERRED: CreateAssertion = CreateAssertion(0x00000010);
pub const SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE: CreateAssertion = CreateAssertion(0x00000020);
pub const SQL_CA_CONSTRAINT_DEFERRABLE: CreateAssertion = CreateAssertion(0x00000040);
pub const SQL_CA_CONSTRAINT_NON_DEFERRABLE: CreateAssertion = CreateAssertion(0x00000080);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateCharacterSet;
pub const SQL_CCS_CREATE_CHARACTER_SET: CreateCharacterSet = CreateCharacterSet(0x00000001);
pub const SQL_CCS_COLLATE_CLAUSE: CreateCharacterSet = CreateCharacterSet(0x00000002);
pub const SQL_CCS_LIMITED_COLLATION: CreateCharacterSet = CreateCharacterSet(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateCollation;
pub const SQL_CCOL_CREATE_COLLATION: CreateCollation = CreateCollation(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateDomain;
pub const SQL_CDO_CREATE_DOMAIN: CreateDomain = CreateDomain(0x00000001);
pub const SQL_CDO_DEFAULT: CreateDomain = CreateDomain(0x00000002);
pub const SQL_CDO_CONSTRAINT: CreateDomain = CreateDomain(0x00000004);
pub const SQL_CDO_COLLATION: CreateDomain = CreateDomain(0x00000008);
pub const SQL_CDO_CONSTRAINT_NAME_DEFINITION: CreateDomain = CreateDomain(0x00000010);
pub const SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED: CreateDomain = CreateDomain(0x00000020);
pub const SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE: CreateDomain = CreateDomain(0x00000040);
pub const SQL_CDO_CONSTRAINT_DEFERRABLE: CreateDomain = CreateDomain(0x00000080);
pub const SQL_CDO_CONSTRAINT_NON_DEFERRABLE: CreateDomain = CreateDomain(0x00000100);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateSchema;
pub const SQL_CS_CREATE_SCHEMA: CreateSchema = CreateSchema(0x00000001);
pub const SQL_CS_AUTHORIZATION: CreateSchema = CreateSchema(0x00000002);
pub const SQL_CS_DEFAULT_CHARACTER_SET: CreateSchema = CreateSchema(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateTable;
pub const SQL_CT_CREATE_TABLE: CreateTable = CreateTable(0x00000001);
pub const SQL_CT_COMMIT_PRESERVE: CreateTable = CreateTable(0x00000002);
pub const SQL_CT_COMMIT_DELETE: CreateTable = CreateTable(0x00000004);
pub const SQL_CT_GLOBAL_TEMPORARY: CreateTable = CreateTable(0x00000008);
pub const SQL_CT_LOCAL_TEMPORARY: CreateTable = CreateTable(0x00000010);
pub const SQL_CT_CONSTRAINT_INITIALLY_DEFERRED: CreateTable = CreateTable(0x00000020);
pub const SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE: CreateTable = CreateTable(0x00000040);
pub const SQL_CT_CONSTRAINT_DEFERRABLE: CreateTable = CreateTable(0x00000080);
pub const SQL_CT_CONSTRAINT_NON_DEFERRABLE: CreateTable = CreateTable(0x00000100);
pub const SQL_CT_COLUMN_CONSTRAINT: CreateTable = CreateTable(0x00000200);
pub const SQL_CT_COLUMN_DEFAULT: CreateTable = CreateTable(0x00000400);
pub const SQL_CT_COLUMN_COLLATION: CreateTable = CreateTable(0x00000800);
pub const SQL_CT_TABLE_CONSTRAINT: CreateTable = CreateTable(0x00001000);
pub const SQL_CT_CONSTRAINT_NAME_DEFINITION: CreateTable = CreateTable(0x00002000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateTranslation;
pub const SQL_CTR_CREATE_TRANSLATION: CreateTranslation = CreateTranslation(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct CreateView;
pub const SQL_CV_CREATE_VIEW: CreateView = CreateView(0x00000001);
pub const SQL_CV_CHECK_OPTION: CreateView = CreateView(0x00000002);
pub const SQL_CV_CASCADED: CreateView = CreateView(0x00000004);
pub const SQL_CV_LOCAL: CreateView = CreateView(0x00000008);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropAssertion;
pub const SQL_DA_DROP_ASSERTION: DropAssertion = DropAssertion(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct Conversion;
pub const SQL_CVT_CHAR: Conversion = Conversion(0x00000001);
pub const SQL_CVT_NUMERIC: Conversion = Conversion(0x00000002);
pub const SQL_CVT_DECIMAL: Conversion = Conversion(0x00000004);
pub const SQL_CVT_INTEGER: Conversion = Conversion(0x00000008);
pub const SQL_CVT_SMALLINT: Conversion = Conversion(0x00000010);
pub const SQL_CVT_FLOAT: Conversion = Conversion(0x00000020);
pub const SQL_CVT_REAL: Conversion = Conversion(0x00000040);
pub const SQL_CVT_DOUBLE: Conversion = Conversion(0x00000080);
pub const SQL_CVT_VARCHAR: Conversion = Conversion(0x00000100);
pub const SQL_CVT_LONGVARCHAR: Conversion = Conversion(0x00000200);
pub const SQL_CVT_BINARY: Conversion = Conversion(0x00000400);
pub const SQL_CVT_VARBINARY: Conversion = Conversion(0x00000800);
pub const SQL_CVT_BIT: Conversion = Conversion(0x00001000);
pub const SQL_CVT_TINYINT: Conversion = Conversion(0x00002000);
pub const SQL_CVT_BIGINT: Conversion = Conversion(0x00004000);
pub const SQL_CVT_DATE: Conversion = Conversion(0x00008000);
pub const SQL_CVT_TIME: Conversion = Conversion(0x00010000);
pub const SQL_CVT_TIMESTAMP: Conversion = Conversion(0x00020000);
pub const SQL_CVT_LONGVARBINARY: Conversion = Conversion(0x00040000);

pub const SQL_CVT_INTERVAL_YEAR_MONTH: Conversion = Conversion(0x00080000);
pub const SQL_CVT_INTERVAL_DAY_TIME: Conversion = Conversion(0x00100000);

pub const SQL_CVT_GUID: Conversion = Conversion(0x01000000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropCharacterSet;
pub const SQL_DCS_DROP_CHARACTER_SET: DropCharacterSet = DropCharacterSet(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropCollation;
pub const SQL_DC_DROP_COLLATION: DropCollation = DropCollation(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropDomain;
pub const SQL_DD_DROP_DOMAIN: DropDomain = DropDomain(0x00000001);
pub const SQL_DD_RESTRICT: DropDomain = DropDomain(0x00000002);
pub const SQL_DD_CASCADE: DropDomain = DropDomain(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropSchema;
pub const SQL_DS_DROP_SCHEMA: DropSchema = DropSchema(0x00000001);
pub const SQL_DS_RESTRICT: DropSchema = DropSchema(0x00000002);
pub const SQL_DS_CASCADE: DropSchema = DropSchema(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropTable;
pub const SQL_DT_DROP_TABLE: DropTable = DropTable(0x00000001);
pub const SQL_DT_RESTRICT: DropTable = DropTable(0x00000002);
pub const SQL_DT_CASCADE: DropTable = DropTable(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropTranslation;
pub const SQL_DTR_DROP_TRANSLATION: DropTranslation = DropTranslation(0x00000001);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DropView;
pub const SQL_DV_DROP_VIEW: DropView = DropView(0x00000001);
pub const SQL_DV_RESTRICT: DropView = DropView(0x00000002);
pub const SQL_DV_CASCADE: DropView = DropView(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct IndexKeywords;
pub const SQL_IK_NONE: IndexKeywords = IndexKeywords(0x00000000);
pub const SQL_IK_ASC: IndexKeywords = IndexKeywords(0x00000001);
pub const SQL_IK_DESC: IndexKeywords = IndexKeywords(0x00000002);
pub const SQL_IK_ALL: IndexKeywords = IndexKeywords(SQL_IK_ASC.0 | SQL_IK_DESC.0);

#[odbc_bitmask(SQLUINTEGER)]
pub struct InsertStatement;
pub const SQL_IS_INSERT_LITERALS: InsertStatement = InsertStatement(0x00000001);
pub const SQL_IS_INSERT_SEARCHED: InsertStatement = InsertStatement(0x00000002);
pub const SQL_IS_SELECT_INTO: InsertStatement = InsertStatement(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct OjCapabilities;
pub const SQL_OJ_LEFT: OjCapabilities = OjCapabilities(0x00000001);
pub const SQL_OJ_RIGHT: OjCapabilities = OjCapabilities(0x00000002);
pub const SQL_OJ_FULL: OjCapabilities = OjCapabilities(0x00000004);
pub const SQL_OJ_NESTED: OjCapabilities = OjCapabilities(0x00000008);
pub const SQL_OJ_NOT_ORDERED: OjCapabilities = OjCapabilities(0x00000010);
pub const SQL_OJ_INNER: OjCapabilities = OjCapabilities(0x00000020);
pub const SQL_OJ_ALL_COMPARISON_OPS: OjCapabilities = OjCapabilities(0x00000040);

#[odbc_bitmask(SQLUINTEGER)]
pub struct OuterJoins;

#[odbc_bitmask(SQLUINTEGER)]
pub struct SchemaUsage;
pub const SQL_SU_DML_STATEMENTS: SchemaUsage = SchemaUsage(0x00000001);
pub const SQL_SU_PROCEDURE_INVOCATION: SchemaUsage = SchemaUsage(0x00000002);
pub const SQL_SU_TABLE_DEFINITION: SchemaUsage = SchemaUsage(0x00000004);
pub const SQL_SU_INDEX_DEFINITION: SchemaUsage = SchemaUsage(0x00000008);
pub const SQL_SU_PRIVILEGE_DEFINITION: SchemaUsage = SchemaUsage(0x00000010);

#[odbc_bitmask(SQLUINTEGER)]
pub struct Subqueries;
pub const SQL_SQ_COMPARISON: Subqueries = Subqueries(0x00000001);
pub const SQL_SQ_EXISTS: Subqueries = Subqueries(0x00000002);
pub const SQL_SQ_IN: Subqueries = Subqueries(0x00000004);
pub const SQL_SQ_QUANTIFIED: Subqueries = Subqueries(0x00000008);
pub const SQL_SQ_CORRELATED_SUBQUERIES: Subqueries = Subqueries(0x00000010);

#[odbc_bitmask(SQLUINTEGER)]
pub struct Union;
pub const SQL_U_UNION: Union = Union(0x00000001);
pub const SQL_U_UNION_ALL: Union = Union(0x00000002);

#[odbc_bitmask(SQLUINTEGER)]
pub struct ConvertFunctions;
pub const SQL_FN_CVT_CONVERT: ConvertFunctions = ConvertFunctions(0x00000001);
pub const SQL_FN_CVT_CAST: ConvertFunctions = ConvertFunctions(0x00000002);

#[odbc_bitmask(SQLUINTEGER)]
pub struct NumericFunctions;
pub const SQL_FN_NUM_ABS: NumericFunctions = NumericFunctions(0x00000001);
pub const SQL_FN_NUM_ACOS: NumericFunctions = NumericFunctions(0x00000002);
pub const SQL_FN_NUM_ASIN: NumericFunctions = NumericFunctions(0x00000004);
pub const SQL_FN_NUM_ATAN: NumericFunctions = NumericFunctions(0x00000008);
pub const SQL_FN_NUM_ATAN2: NumericFunctions = NumericFunctions(0x00000010);
pub const SQL_FN_NUM_CEILING: NumericFunctions = NumericFunctions(0x00000020);
pub const SQL_FN_NUM_COS: NumericFunctions = NumericFunctions(0x00000040);
pub const SQL_FN_NUM_COT: NumericFunctions = NumericFunctions(0x00000080);
pub const SQL_FN_NUM_EXP: NumericFunctions = NumericFunctions(0x00000100);
pub const SQL_FN_NUM_FLOOR: NumericFunctions = NumericFunctions(0x00000200);
pub const SQL_FN_NUM_LOG: NumericFunctions = NumericFunctions(0x00000400);
pub const SQL_FN_NUM_MOD: NumericFunctions = NumericFunctions(0x00000800);
pub const SQL_FN_NUM_SIGN: NumericFunctions = NumericFunctions(0x00001000);
pub const SQL_FN_NUM_SIN: NumericFunctions = NumericFunctions(0x00002000);
pub const SQL_FN_NUM_SQRT: NumericFunctions = NumericFunctions(0x00004000);
pub const SQL_FN_NUM_TAN: NumericFunctions = NumericFunctions(0x00008000);
pub const SQL_FN_NUM_PI: NumericFunctions = NumericFunctions(0x00010000);
pub const SQL_FN_NUM_RAND: NumericFunctions = NumericFunctions(0x00020000);
pub const SQL_FN_NUM_DEGREES: NumericFunctions = NumericFunctions(0x00040000);
pub const SQL_FN_NUM_LOG10: NumericFunctions = NumericFunctions(0x00080000);
pub const SQL_FN_NUM_POWER: NumericFunctions = NumericFunctions(0x00100000);
pub const SQL_FN_NUM_RADIANS: NumericFunctions = NumericFunctions(0x00200000);
pub const SQL_FN_NUM_ROUND: NumericFunctions = NumericFunctions(0x00400000);
pub const SQL_FN_NUM_TRUNCATE: NumericFunctions = NumericFunctions(0x00800000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct StringFunctions;
pub const SQL_FN_STR_CONCAT: StringFunctions = StringFunctions(0x00000001);
pub const SQL_FN_STR_INSERT: StringFunctions = StringFunctions(0x00000002);
pub const SQL_FN_STR_LEFT: StringFunctions = StringFunctions(0x00000004);
pub const SQL_FN_STR_LTRIM: StringFunctions = StringFunctions(0x00000008);
pub const SQL_FN_STR_LENGTH: StringFunctions = StringFunctions(0x00000010);
pub const SQL_FN_STR_LOCATE: StringFunctions = StringFunctions(0x00000020);
pub const SQL_FN_STR_LCASE: StringFunctions = StringFunctions(0x00000040);
pub const SQL_FN_STR_REPEAT: StringFunctions = StringFunctions(0x00000080);
pub const SQL_FN_STR_REPLACE: StringFunctions = StringFunctions(0x00000100);
pub const SQL_FN_STR_RIGHT: StringFunctions = StringFunctions(0x00000200);
pub const SQL_FN_STR_RTRIM: StringFunctions = StringFunctions(0x00000400);
pub const SQL_FN_STR_SUBSTRING: StringFunctions = StringFunctions(0x00000800);
pub const SQL_FN_STR_UCASE: StringFunctions = StringFunctions(0x00001000);
pub const SQL_FN_STR_ASCII: StringFunctions = StringFunctions(0x00002000);
pub const SQL_FN_STR_CHAR: StringFunctions = StringFunctions(0x00004000);
pub const SQL_FN_STR_DIFFERENCE: StringFunctions = StringFunctions(0x00008000);
pub const SQL_FN_STR_LOCATE_2: StringFunctions = StringFunctions(0x00010000);
pub const SQL_FN_STR_SOUNDEX: StringFunctions = StringFunctions(0x00020000);
pub const SQL_FN_STR_SPACE: StringFunctions = StringFunctions(0x00040000);
pub const SQL_FN_STR_BIT_LENGTH: StringFunctions = StringFunctions(0x00080000);
pub const SQL_FN_STR_CHAR_LENGTH: StringFunctions = StringFunctions(0x00100000);
pub const SQL_FN_STR_CHARACTER_LENGTH: StringFunctions = StringFunctions(0x00200000);
pub const SQL_FN_STR_OCTET_LENGTH: StringFunctions = StringFunctions(0x00400000);
pub const SQL_FN_STR_POSITION: StringFunctions = StringFunctions(0x00800000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct SystemFunctions;
pub const SQL_FN_SYS_USERNAME: SystemFunctions = SystemFunctions(0x00000001);
pub const SQL_FN_SYS_DBNAME: SystemFunctions = SystemFunctions(0x00000002);
pub const SQL_FN_SYS_IFNULL: SystemFunctions = SystemFunctions(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct TimedateIntervals;
pub const SQL_FN_TSI_FRAC_SECOND: TimedateIntervals = TimedateIntervals(0x00000001);
pub const SQL_FN_TSI_SECOND: TimedateIntervals = TimedateIntervals(0x00000002);
pub const SQL_FN_TSI_MINUTE: TimedateIntervals = TimedateIntervals(0x00000004);
pub const SQL_FN_TSI_HOUR: TimedateIntervals = TimedateIntervals(0x00000008);
pub const SQL_FN_TSI_DAY: TimedateIntervals = TimedateIntervals(0x00000010);
pub const SQL_FN_TSI_WEEK: TimedateIntervals = TimedateIntervals(0x00000020);
pub const SQL_FN_TSI_MONTH: TimedateIntervals = TimedateIntervals(0x00000040);
pub const SQL_FN_TSI_QUARTER: TimedateIntervals = TimedateIntervals(0x00000080);
pub const SQL_FN_TSI_YEAR: TimedateIntervals = TimedateIntervals(0x00000100);

#[odbc_bitmask(SQLUINTEGER)]
pub struct TimedateFunctions;
pub const SQL_FN_TD_NOW: TimedateFunctions = TimedateFunctions(0x00000001);
pub const SQL_FN_TD_CURDATE: TimedateFunctions = TimedateFunctions(0x00000002);
pub const SQL_FN_TD_DAYOFMONTH: TimedateFunctions = TimedateFunctions(0x00000004);
pub const SQL_FN_TD_DAYOFWEEK: TimedateFunctions = TimedateFunctions(0x00000008);
pub const SQL_FN_TD_DAYOFYEAR: TimedateFunctions = TimedateFunctions(0x00000010);
pub const SQL_FN_TD_MONTH: TimedateFunctions = TimedateFunctions(0x00000020);
pub const SQL_FN_TD_QUARTER: TimedateFunctions = TimedateFunctions(0x00000040);
pub const SQL_FN_TD_WEEK: TimedateFunctions = TimedateFunctions(0x00000080);
pub const SQL_FN_TD_YEAR: TimedateFunctions = TimedateFunctions(0x00000100);
pub const SQL_FN_TD_CURTIME: TimedateFunctions = TimedateFunctions(0x00000200);
pub const SQL_FN_TD_HOUR: TimedateFunctions = TimedateFunctions(0x00000400);
pub const SQL_FN_TD_MINUTE: TimedateFunctions = TimedateFunctions(0x00000800);
pub const SQL_FN_TD_SECOND: TimedateFunctions = TimedateFunctions(0x00001000);
pub const SQL_FN_TD_TIMESTAMPADD: TimedateFunctions = TimedateFunctions(0x00002000);
pub const SQL_FN_TD_TIMESTAMPDIFF: TimedateFunctions = TimedateFunctions(0x00004000);
pub const SQL_FN_TD_DAYNAME: TimedateFunctions = TimedateFunctions(0x00008000);
pub const SQL_FN_TD_MONTHNAME: TimedateFunctions = TimedateFunctions(0x00010000);
pub const SQL_FN_TD_CURRENT_DATE: TimedateFunctions = TimedateFunctions(0x00020000);
pub const SQL_FN_TD_CURRENT_TIME: TimedateFunctions = TimedateFunctions(0x00040000);
pub const SQL_FN_TD_CURRENT_TIMESTAMP: TimedateFunctions = TimedateFunctions(0x00080000);
pub const SQL_FN_TD_EXTRACT: TimedateFunctions = TimedateFunctions(0x00100000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DatetimeFunctions;
pub const SQL_SDF_CURRENT_DATE: DatetimeFunctions = DatetimeFunctions(0x00000001);
pub const SQL_SDF_CURRENT_TIME: DatetimeFunctions = DatetimeFunctions(0x00000002);
pub const SQL_SDF_CURRENT_TIMESTAMP: DatetimeFunctions = DatetimeFunctions(0x00000004);

#[odbc_bitmask(SQLUINTEGER)]
pub struct DatetimeLiterals;
pub const SQL_DL_SQL92_DATE: DatetimeLiterals = DatetimeLiterals(0x00000001);
pub const SQL_DL_SQL92_TIME: DatetimeLiterals = DatetimeLiterals(0x00000002);
pub const SQL_DL_SQL92_TIMESTAMP: DatetimeLiterals = DatetimeLiterals(0x00000004);
pub const SQL_DL_SQL92_INTERVAL_YEAR: DatetimeLiterals = DatetimeLiterals(0x00000008);
pub const SQL_DL_SQL92_INTERVAL_MONTH: DatetimeLiterals = DatetimeLiterals(0x00000010);
pub const SQL_DL_SQL92_INTERVAL_DAY: DatetimeLiterals = DatetimeLiterals(0x00000020);
pub const SQL_DL_SQL92_INTERVAL_HOUR: DatetimeLiterals = DatetimeLiterals(0x00000040);
pub const SQL_DL_SQL92_INTERVAL_MINUTE: DatetimeLiterals = DatetimeLiterals(0x00000080);
pub const SQL_DL_SQL92_INTERVAL_SECOND: DatetimeLiterals = DatetimeLiterals(0x00000100);
pub const SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH: DatetimeLiterals = DatetimeLiterals(0x00000200);
pub const SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR: DatetimeLiterals = DatetimeLiterals(0x00000400);
pub const SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE: DatetimeLiterals = DatetimeLiterals(0x00000800);
pub const SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND: DatetimeLiterals = DatetimeLiterals(0x00001000);
pub const SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE: DatetimeLiterals = DatetimeLiterals(0x00002000);
pub const SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND: DatetimeLiterals = DatetimeLiterals(0x00004000);
pub const SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND: DatetimeLiterals = DatetimeLiterals(0x00008000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct ForeignKeyDeleteRule;
pub const SQL_SFKD_CASCADE: ForeignKeyDeleteRule = ForeignKeyDeleteRule(0x00000001);
pub const SQL_SFKD_NO_ACTION: ForeignKeyDeleteRule = ForeignKeyDeleteRule(0x00000002);
pub const SQL_SFKD_SET_DEFAULT: ForeignKeyDeleteRule = ForeignKeyDeleteRule(0x00000004);
pub const SQL_SFKD_SET_NULL: ForeignKeyDeleteRule = ForeignKeyDeleteRule(0x00000008);

#[odbc_bitmask(SQLUINTEGER)]
pub struct ForeignKeyUpdateRule;
pub const SQL_SFKU_CASCADE: ForeignKeyUpdateRule = ForeignKeyUpdateRule(0x00000001);
pub const SQL_SFKU_NO_ACTION: ForeignKeyUpdateRule = ForeignKeyUpdateRule(0x00000002);
pub const SQL_SFKU_SET_DEFAULT: ForeignKeyUpdateRule = ForeignKeyUpdateRule(0x00000004);
pub const SQL_SFKU_SET_NULL: ForeignKeyUpdateRule = ForeignKeyUpdateRule(0x00000008);

#[odbc_bitmask(SQLUINTEGER)]
pub struct Grant;
pub const SQL_SG_USAGE_ON_DOMAIN: Grant = Grant(0x00000001);
pub const SQL_SG_USAGE_ON_CHARACTER_SET: Grant = Grant(0x00000002);
pub const SQL_SG_USAGE_ON_COLLATION: Grant = Grant(0x00000004);
pub const SQL_SG_USAGE_ON_TRANSLATION: Grant = Grant(0x00000008);
pub const SQL_SG_WITH_GRANT_OPTION: Grant = Grant(0x00000010);
pub const SQL_SG_DELETE_TABLE: Grant = Grant(0x00000020);
pub const SQL_SG_INSERT_TABLE: Grant = Grant(0x00000040);
pub const SQL_SG_INSERT_COLUMN: Grant = Grant(0x00000080);
pub const SQL_SG_REFERENCES_TABLE: Grant = Grant(0x00000100);
pub const SQL_SG_REFERENCES_COLUMN: Grant = Grant(0x00000200);
pub const SQL_SG_SELECT_TABLE: Grant = Grant(0x00000400);
pub const SQL_SG_UPDATE_TABLE: Grant = Grant(0x00000800);
pub const SQL_SG_UPDATE_COLUMN: Grant = Grant(0x00001000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct NumericValueFunctions;
pub const SQL_SNVF_BIT_LENGTH: NumericValueFunctions = NumericValueFunctions(0x00000001);
pub const SQL_SNVF_CHAR_LENGTH: NumericValueFunctions = NumericValueFunctions(0x00000002);
pub const SQL_SNVF_CHARACTER_LENGTH: NumericValueFunctions = NumericValueFunctions(0x00000004);
pub const SQL_SNVF_EXTRACT: NumericValueFunctions = NumericValueFunctions(0x00000008);
pub const SQL_SNVF_OCTET_LENGTH: NumericValueFunctions = NumericValueFunctions(0x00000010);
pub const SQL_SNVF_POSITION: NumericValueFunctions = NumericValueFunctions(0x00000020);

#[odbc_bitmask(SQLUINTEGER)]
pub struct Predicates;
pub const SQL_SP_EXISTS: Predicates = Predicates(0x00000001);
pub const SQL_SP_ISNOTNULL: Predicates = Predicates(0x00000002);
pub const SQL_SP_ISNULL: Predicates = Predicates(0x00000004);
pub const SQL_SP_MATCH_FULL: Predicates = Predicates(0x00000008);
pub const SQL_SP_MATCH_PARTIAL: Predicates = Predicates(0x00000010);
pub const SQL_SP_MATCH_UNIQUE_FULL: Predicates = Predicates(0x00000020);
pub const SQL_SP_MATCH_UNIQUE_PARTIAL: Predicates = Predicates(0x00000040);
pub const SQL_SP_OVERLAPS: Predicates = Predicates(0x00000080);
pub const SQL_SP_UNIQUE: Predicates = Predicates(0x00000100);
pub const SQL_SP_LIKE: Predicates = Predicates(0x00000200);
pub const SQL_SP_IN: Predicates = Predicates(0x00000400);
pub const SQL_SP_BETWEEN: Predicates = Predicates(0x00000800);
pub const SQL_SP_COMPARISON: Predicates = Predicates(0x00001000);
pub const SQL_SP_QUANTIFIED_COMPARISON: Predicates = Predicates(0x00002000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct RelationalJoinOperators;
pub const SQL_SRJO_CORRESPONDING_CLAUSE: RelationalJoinOperators =
    RelationalJoinOperators(0x00000001);
pub const SQL_SRJO_CROSS_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000002);
pub const SQL_SRJO_EXCEPT_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000004);
pub const SQL_SRJO_FULL_OUTER_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000008);
pub const SQL_SRJO_INNER_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000010);
pub const SQL_SRJO_INTERSECT_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000020);
pub const SQL_SRJO_LEFT_OUTER_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000040);
pub const SQL_SRJO_NATURAL_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000080);
pub const SQL_SRJO_RIGHT_OUTER_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000100);
pub const SQL_SRJO_UNION_JOIN: RelationalJoinOperators = RelationalJoinOperators(0x00000200);

#[odbc_bitmask(SQLUINTEGER)]
pub struct Revoke;
pub const SQL_SR_USAGE_ON_DOMAIN: Revoke = Revoke(0x00000001);
pub const SQL_SR_USAGE_ON_CHARACTER_SET: Revoke = Revoke(0x00000002);
pub const SQL_SR_USAGE_ON_COLLATION: Revoke = Revoke(0x00000004);
pub const SQL_SR_USAGE_ON_TRANSLATION: Revoke = Revoke(0x00000008);
pub const SQL_SR_GRANT_OPTION_FOR: Revoke = Revoke(0x00000010);
pub const SQL_SR_CASCADE: Revoke = Revoke(0x00000020);
pub const SQL_SR_RESTRICT: Revoke = Revoke(0x00000040);
pub const SQL_SR_DELETE_TABLE: Revoke = Revoke(0x00000080);
pub const SQL_SR_INSERT_TABLE: Revoke = Revoke(0x00000100);
pub const SQL_SR_INSERT_COLUMN: Revoke = Revoke(0x00000200);
pub const SQL_SR_REFERENCES_TABLE: Revoke = Revoke(0x00000400);
pub const SQL_SR_REFERENCES_COLUMN: Revoke = Revoke(0x00000800);
pub const SQL_SR_SELECT_TABLE: Revoke = Revoke(0x00001000);
pub const SQL_SR_UPDATE_TABLE: Revoke = Revoke(0x00002000);
pub const SQL_SR_UPDATE_COLUMN: Revoke = Revoke(0x00004000);

#[odbc_bitmask(SQLUINTEGER)]
pub struct RowValueConstructor;
pub const SQL_SRVC_VALUE_EXPRESSION: RowValueConstructor = RowValueConstructor(0x00000001);
pub const SQL_SRVC_NULL: RowValueConstructor = RowValueConstructor(0x00000002);
pub const SQL_SRVC_DEFAULT: RowValueConstructor = RowValueConstructor(0x00000004);
pub const SQL_SRVC_ROW_SUBQUERY: RowValueConstructor = RowValueConstructor(0x00000008);

#[odbc_bitmask(SQLUINTEGER)]
pub struct StringScalarFunctions;
pub const SQL_SSF_CONVERT: StringScalarFunctions = StringScalarFunctions(0x00000001);
pub const SQL_SSF_LOWER: StringScalarFunctions = StringScalarFunctions(0x00000002);
pub const SQL_SSF_UPPER: StringScalarFunctions = StringScalarFunctions(0x00000004);
pub const SQL_SSF_SUBSTRING: StringScalarFunctions = StringScalarFunctions(0x00000008);
pub const SQL_SSF_TRANSLATE: StringScalarFunctions = StringScalarFunctions(0x00000010);
pub const SQL_SSF_TRIM_BOTH: StringScalarFunctions = StringScalarFunctions(0x00000020);
pub const SQL_SSF_TRIM_LEADING: StringScalarFunctions = StringScalarFunctions(0x00000040);
pub const SQL_SSF_TRIM_TRAILING: StringScalarFunctions = StringScalarFunctions(0x00000080);
pub const SQL_SSF_OVERLAY: StringScalarFunctions = StringScalarFunctions(0x00000100);
pub const SQL_SSF_LENGTH: StringScalarFunctions = StringScalarFunctions(0x00000200);
pub const SQL_SSF_POSITION: StringScalarFunctions = StringScalarFunctions(0x00000400);
pub const SQL_SSF_CONCAT: StringScalarFunctions = StringScalarFunctions(0x00000800);

#[odbc_bitmask(SQLUINTEGER)]
pub struct ValueExpressions;
pub const SQL_SVE_CASE: ValueExpressions = ValueExpressions(0x00000001);
pub const SQL_SVE_CAST: ValueExpressions = ValueExpressions(0x00000002);
pub const SQL_SVE_COALESCE: ValueExpressions = ValueExpressions(0x00000004);
pub const SQL_SVE_NULLIF: ValueExpressions = ValueExpressions(0x00000008);

#[odbc_bitmask(SQLUINTEGER)]
pub struct StandardCliConformance;
pub const SQL_SCC_XOPEN_CLI_VERSION1: StandardCliConformance = StandardCliConformance(0x00000001);
pub const SQL_SCC_ISO92_CLI: StandardCliConformance = StandardCliConformance(0x00000002);

#[odbc_bitmask(SQLUINTEGER)]
pub struct BinaryFunctions;
pub const SQL_FN_BIN_BIT_LENGTH: BinaryFunctions = BinaryFunctions(SQL_FN_STR_BIT_LENGTH.0);
pub const SQL_FN_BIN_CONCAT: BinaryFunctions = BinaryFunctions(SQL_FN_STR_CONCAT.0);
pub const SQL_FN_BIN_INSERT: BinaryFunctions = BinaryFunctions(SQL_FN_STR_INSERT.0);
pub const SQL_FN_BIN_LTRIM: BinaryFunctions = BinaryFunctions(SQL_FN_STR_LTRIM.0);
pub const SQL_FN_BIN_OCTET_LENGTH: BinaryFunctions = BinaryFunctions(SQL_FN_STR_OCTET_LENGTH.0);
pub const SQL_FN_BIN_POSITION: BinaryFunctions = BinaryFunctions(SQL_FN_STR_POSITION.0);
pub const SQL_FN_BIN_RTRIM: BinaryFunctions = BinaryFunctions(SQL_FN_STR_RTRIM.0);
pub const SQL_FN_BIN_SUBSTRING: BinaryFunctions = BinaryFunctions(SQL_FN_STR_SUBSTRING.0);

#[odbc_bitmask(SQLUINTEGER)]
pub struct IsoBinaryFunctions;
pub const SQL_SBF_CONVERT: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_CONVERT.0);
pub const SQL_SBF_SUBSTRING: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_SUBSTRING.0);
pub const SQL_SBF_TRIM_BOTH: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_TRIM_BOTH.0);
pub const SQL_SBF_TRIM_LEADING: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_TRIM_LEADING.0);
pub const SQL_SBF_TRIM_TRAILING: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_TRIM_TRAILING.0);
pub const SQL_SBF_OVERLAY: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_OVERLAY.0);
pub const SQL_SBF_POSITION: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_POSITION.0);
pub const SQL_SBF_CONCAT: IsoBinaryFunctions = IsoBinaryFunctions(SQL_SSF_CONCAT.0);

#[odbc_bitmask(SQLUINTEGER)]
pub struct LimitEscapeClause;
pub const SQL_LC_NONE: LimitEscapeClause = LimitEscapeClause(0x00000000);
pub const SQL_LC_TAKE: LimitEscapeClause = LimitEscapeClause(0x00000001);
pub const SQL_LC_SKIP: LimitEscapeClause = LimitEscapeClause(0x00000003);

#[odbc_bitmask(SQLUINTEGER)]
pub struct ReturnEscapeClause;
pub const SQL_RC_NONE: ReturnEscapeClause = ReturnEscapeClause(0x00000000);
pub const SQL_RC_INSERT_SINGLE_ROWID: ReturnEscapeClause = ReturnEscapeClause(0x00000001);
pub const SQL_RC_INSERT_SINGLE_ANY: ReturnEscapeClause =
    ReturnEscapeClause(0x00000002 | SQL_RC_INSERT_SINGLE_ROWID.0);
pub const SQL_RC_INSERT_MULTIPLE_ROWID: ReturnEscapeClause =
    ReturnEscapeClause(0x00000004 | SQL_RC_INSERT_SINGLE_ROWID.0);
pub const SQL_RC_INSERT_MULTIPLE_ANY: ReturnEscapeClause =
    ReturnEscapeClause(0x00000008 | SQL_RC_INSERT_MULTIPLE_ROWID.0 | SQL_RC_INSERT_SINGLE_ANY.0);
pub const SQL_RC_INSERT_SELECT_ROWID: ReturnEscapeClause = ReturnEscapeClause(0x00000010);
pub const SQL_RC_INSERT_SELECT_ANY: ReturnEscapeClause =
    ReturnEscapeClause(0x00000020 | SQL_RC_INSERT_SELECT_ROWID.0);
pub const SQL_RC_UPDATE_ROWID: ReturnEscapeClause = ReturnEscapeClause(0x00000040);
pub const SQL_RC_UPDATE_ANY: ReturnEscapeClause =
    ReturnEscapeClause(0x00000080 | SQL_RC_UPDATE_ROWID.0);
pub const SQL_RC_DELETE_ROWID: ReturnEscapeClause = ReturnEscapeClause(0x00000100);
pub const SQL_RC_DELETE_ANY: ReturnEscapeClause =
    ReturnEscapeClause(0x00000200 | SQL_RC_DELETE_ROWID.0);
pub const SQL_RC_SELECT_INTO_ROWID: ReturnEscapeClause = ReturnEscapeClause(0x00000400);
pub const SQL_RC_SELECT_INTO_ANY: ReturnEscapeClause =
    ReturnEscapeClause(0x00000800 | SQL_RC_SELECT_INTO_ROWID.0);

#[odbc_bitmask(SQLUINTEGER)]
pub struct FormatEscapeClause;
pub const SQL_FC_NONE: FormatEscapeClause = FormatEscapeClause(0x00000000);
pub const SQL_FC_JSON: FormatEscapeClause = FormatEscapeClause(0x00000001);
pub const SQL_FC_JSON_BINARY: FormatEscapeClause = FormatEscapeClause(0x00000002);