import pyodbc
from TestActionLibrary import A


conn = pyodbc.connect('Driver={SQL Server};'
                      'Server=DESKTOP-LCQ7JSQ;'
                      'Database=DanpheEMR_Beta-V1.46;'
                      'Trusted_Connection=no;')

cursor = conn.cursor()
cursor.execute('SELECT * FROM [DanpheEMR_Beta-V1.46].[dbo].[PHRM_NarcoticSaleRecord]')

for row in cursor:
    print(row)

7460d52a5f161b72bd3ddb1139334197de020271
<mask token>

<mask token>
cursor.execute(
    'SELECT * FROM [DanpheEMR_Beta-V1.46].[dbo].[PHRM_NarcoticSaleRecord]')
for row in cursor:
    print(row)

<mask token>
conn = pyodbc.connect(
    'Driver={SQL Server};Server=DESKTOP-LCQ7JSQ;Database=DanpheEMR_Beta-V1.46;Trusted_Connection=no;'
    )
cursor = conn.cursor()
cursor.execute(
    'SELECT * FROM [DanpheEMR_Beta-V1.46].[dbo].[PHRM_NarcoticSaleRecord]')
for row in cursor:
    print(row)

import pyodbc
from TestActionLibrary import A
conn = pyodbc.connect(
    'Driver={SQL Server};Server=DESKTOP-LCQ7JSQ;Database=DanpheEMR_Beta-V1.46;Trusted_Connection=no;'
    )
cursor = conn.cursor()
cursor.execute(
    'SELECT * FROM [DanpheEMR_Beta-V1.46].[dbo].[PHRM_NarcoticSaleRecord]')
for row in cursor:
    print(row)

import pyodbc
from TestActionLibrary import A


conn = pyodbc.connect('Driver={SQL Server};'
                      'Server=DESKTOP-LCQ7JSQ;'
                      'Database=DanpheEMR_Beta-V1.46;'
                      'Trusted_Connection=no;')

cursor = conn.cursor()
cursor.execute('SELECT * FROM [DanpheEMR_Beta-V1.46].[dbo].[PHRM_NarcoticSaleRecord]')

for row in cursor:
    print(row)
