Created
August 21, 2019 14:19
-
-
Save brunotdantas/1af6bff88b8078cba2bf47db08b47075 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Solução pro erro: | |
Mensagem 1755, Nível 16, Estado 0, Linha 22 | |
Não podem ser criados padrões em colunas de carimbo de data/hora do tipo de dados. Tabela 'STG_MSAF_SALES_HEADER', coluna 'created_timestamp'. | |
Mensagem 1750, Nível 16, Estado 0, Linha 22 | |
Não foi possível criar a restrição ou o índice. Consulte os erros anteriores. | |
quando feito: | |
ALTER TABLE STG_MSAF_SALES_HEADER ADD created_timestamp timestamp default getdate() | |
*/ | |
ALTER TABLE STG_MSAF_SALES_HEADER ADD created_timestamp datetime CONSTRAINT Const_STG_MSAF_SALES_HEADER_created_timestamp DEFAULT (GETDATE()) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment