티스토리 뷰
-- Allow to execute external scripts such as R and Python
EXEC sp_configure 'external scripts enabled', 1;
RECONFIGURE WITH OVERRIDE;
GO
-- Restart SQL Server to apply changes
-- Check whether the Python script works well or not
EXEC sp_execute_external_script
@language = N'Python',
@script = N'
import sys
import numpy as np
import pandas as pd
print(sys.version)
print(np.__version__)
print(pd.__version__)
';
'Piece' 카테고리의 다른 글
[Windows] Set %HOME% Environment Variable (for Vim, Emacs, AStyle, ...) (0) | 2018.07.02 |
---|---|
[C/C++] Predefined Macros (0) | 2018.06.30 |
[SQL] Table Field Record (0) | 2018.06.30 |
Class [Python] allocator __new__ & initializer __init__ & finalizer __del__ (0) | 2018.06.30 |
[Python] Check Package Dependencies (0) | 2018.06.30 |