forked from snowflakedb/gosnowflake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlstate.go
18 lines (16 loc) · 899 Bytes
/
sqlstate.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2017-2019 Snowflake Computing Inc. All right reserved.
package gosnowflake
const (
// SQLStateNumericValueOutOfRange is a SQL State code indicating Numeric value is out of range.
SQLStateNumericValueOutOfRange = "22003"
// SQLStateInvalidDataTimeFormat is a SQL State code indicating DataTime format is invalid.
SQLStateInvalidDataTimeFormat = "22007"
// SQLStateConnectionWasNotEstablished is a SQL State code indicating connection was not established.
SQLStateConnectionWasNotEstablished = "08001"
// SQLStateConnectionRejected is a SQL State code indicating connection was rejected.
SQLStateConnectionRejected = "08004"
// SQLStateConnectionFailure is a SQL State code indicating connection failed.
SQLStateConnectionFailure = "08006"
// SQLStateFeatureNotSupported is a SQL State code indicating the feature is not enabled.
SQLStateFeatureNotSupported = "0A000"
)