fix(sqlserver): wrap identity inserts with SET IDENTITY_INSERT
This commit is contained in:
20 files changed
+349
-12
No files matched your search
@@ -168,6 +168,7 @@ interface BuildQueryResultExportRequestOptions {
|
||||
includeSqlSheet?: boolean;
|
||||
exportTableName?: string;
|
||||
exportColumnTypes?: Array<string | null | undefined>;
|
||||
exportColumnExtras?: Array<string | null | undefined>;
|
||||
insertMode?: SqlInsertMode;
|
||||
}
|
||||
|
||||
@@ -8768,6 +8769,7 @@ export const useQueryStore = defineStore("query", () => {
|
||||
executionId: uuid(),
|
||||
exportTableName: options.exportTableName,
|
||||
exportColumnTypes: options.exportColumnTypes,
|
||||
exportColumnExtras: options.exportColumnExtras,
|
||||
numericColumnRightAlign: settings.numericColumnRightAlign,
|
||||
identifierQuote: connStore.connectionIdentifierQuote(location.connectionId),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user