This file contains 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
--Скрипт для добавления столбцов | |
--в таблицу. IN - список схем и таблиц в строковом виде. | |
use DWH_ODS_dev | |
GO | |
-------------------- | |
declare @t table (sch varchar(50), tabname varchar(50)) | |
declare @sch varchar(50) = '' | |
declare @tabname varchar(50) = '' |
This file contains 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
import logging | |
# Set logger with logfile (*.log) in same directory as current | |
# executing file. | |
logger = set_logger('{}.log'.format(os.path.abspath(__file__))) | |
# Write error event with traceback information: | |
try: | |
1 / 0 |
NewerOlder