mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-27 17:24:26 -05:00
fix decimal datatype handling (#1352)
* Revert "Revert query execution changes (#1341)"
This reverts commit cb290cdbb5.
* fix decimal and money
* timestamp
* fix code and tests
* add sql variant test
This commit is contained in:
@@ -8631,6 +8631,11 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.QueryServiceQueryFailed, message);
|
||||
}
|
||||
|
||||
public static string QueryServiceUnsupportedSqlVariantType(string underlyingType, string columnName)
|
||||
{
|
||||
return Keys.GetString(Keys.QueryServiceUnsupportedSqlVariantType, underlyingType, columnName);
|
||||
}
|
||||
|
||||
public static string QueryServiceSaveAsFail(string fileName, string message)
|
||||
{
|
||||
return Keys.GetString(Keys.QueryServiceSaveAsFail, fileName, message);
|
||||
@@ -9011,6 +9016,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string QueryServiceResultSetTooLarge = "QueryServiceResultSetTooLarge";
|
||||
|
||||
|
||||
public const string QueryServiceUnsupportedSqlVariantType = "QueryServiceUnsupportedSqlVariantType";
|
||||
|
||||
|
||||
public const string QueryServiceSaveAsResultSetNotComplete = "QueryServiceSaveAsResultSetNotComplete";
|
||||
|
||||
|
||||
|
||||
@@ -303,6 +303,11 @@
|
||||
<value>Result set has too many rows to be safely loaded</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="QueryServiceUnsupportedSqlVariantType" xml:space="preserve">
|
||||
<value>The underlying type "{0}" for sql variant column "{1}" could not be resolved.</value>
|
||||
<comment>.
|
||||
Parameters: 0 - underlyingType (string), 1 - columnName (string) </comment>
|
||||
</data>
|
||||
<data name="QueryServiceSaveAsResultSetNotComplete" xml:space="preserve">
|
||||
<value>Result cannot be saved until query execution has completed</value>
|
||||
<comment></comment>
|
||||
|
||||
@@ -124,6 +124,8 @@ QueryServiceResultSetHasNoResults = Query has no results to return
|
||||
|
||||
QueryServiceResultSetTooLarge = Result set has too many rows to be safely loaded
|
||||
|
||||
QueryServiceUnsupportedSqlVariantType(string underlyingType, string columnName) = The underlying type "{0}" for sql variant column "{1}" could not be resolved.
|
||||
|
||||
### Save As Requests
|
||||
|
||||
QueryServiceSaveAsResultSetNotComplete = Result cannot be saved until query execution has completed
|
||||
|
||||
Reference in New Issue
Block a user