1 33 34 package com.internetcds.jdbc.tds; 35 36 37 38 45 interface TdsDefinitions 46 { 47 public static final String cvsVersion = "$Id: TdsDefinitions.java,v 1.1 2006/06/23 10:39:30 sinisa Exp $"; 48 49 public static final int SQLSERVER = 1; 53 public static final int SYBASE = 2; 54 55 public static final int TDS42 = 42; 60 public static final int TDS50 = 50; 61 public static final int TDS70 = 70; 62 63 static final byte TDS_RET_STAT_TOKEN = (byte)0x79; static final byte TDS_PROCID = (byte)0x7C; static final byte TDS7_RESULT_TOKEN = (byte)129; static final byte TDS_COL_NAME_TOKEN = (byte)0xA0; static final byte TDS_COL_INFO_TOKEN = (byte)161; static final byte TDS_TABNAME = (byte)164; static final byte TDS_UNKNOWN_0xA5 = (byte)0xA5; static final byte TDS_UNKNOWN_0xA7 = (byte)0xA7; static final byte TDS_UNKNOWN_0xA8 = (byte)0xA8; static final byte TDS_ORDER = (byte)169; static final byte TDS_ERR_TOKEN = (byte)170; static final byte TDS_MSG_TOKEN = (byte)171; static final byte TDS_TEXT_UPD_TOKEN = (byte)172; static final byte TDS_LOGIN_ACK_TOKEN = (byte)173; static final byte TDS_CONTROL = (byte)174; static final byte TDS_ROW_TOKEN = (byte)209; static final byte TDS_UNKNOWN_0xE2 = (byte)226; static final byte TDS_ENV_CHG_TOKEN = (byte)227; static final byte TDS_MSG50_TOKEN = (byte)229; static final byte TDS_RESULT_TOKEN = (byte)238; static final byte TDS_END_TOKEN = (byte)253; static final byte TDS_DONEPROC = (byte)254; static final byte TDS_DONEINPROC = (byte)255; 91 92 93 static final byte SYBVOID = 31; static final byte SYBIMAGE = 34; static final byte SYBTEXT = 35; static final byte SYBVARBINARY = 37; static final byte SYBINTN = 38; static final byte SYBVARCHAR = 39; static final byte SYBBINARY = 45; static final byte SYBCHAR = 47; static final byte SYBINT1 = 48; static final byte SYBBIT = 50; static final byte SYBINT2 = 52; static final byte SYBINT4 = 56; static final byte SYBDATETIME4 = 58; static final byte SYBREAL = 59; static final byte SYBMONEY = 60; static final byte SYBDATETIME = 61; static final byte SYBFLT8 = 62; static final byte SYBNTEXT = 99; static final byte SYBNVARCHAR = 103; static final byte SYBBITN = 104; static final byte SYBDECIMAL = 106; static final byte SYBNUMERIC = 108; static final byte SYBFLTN = 109; static final byte SYBMONEYN = 110; static final byte SYBDATETIMN = 111; static final byte SYBMONEY4 = 112; static final byte SYBNCHAR = -17; static final byte SYBSMALLMONEY = 122; } 127 | Popular Tags |