pwc-india commited on
Commit
447316f
1 Parent(s): e6da377

Update pages/DATA CATALOG.py

Browse files
Files changed (1) hide show
  1. pages/DATA CATALOG.py +4 -2
pages/DATA CATALOG.py CHANGED
@@ -156,7 +156,8 @@ def main():
156
  conn1 = pymssql.connect("Server=sql-ext-dev-uks-001.database.windows.net;"
157
  "Database=sqldb-ext-dev-uks-001;"
158
  "UID=dbadmin;"
159
- "PWD=mYpa$$w0rD" )
 
160
 
161
  query0_1=f"select * from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='{select2}' ORDER BY TABLE_NAME ASC"
162
  st.session_state.tab_names_init=list(pd.read_sql_query(query0_1,con=conn1)['TABLE_NAME'])
@@ -217,7 +218,8 @@ def main():
217
  "Server=sql-ext-dev-uks-001.database.windows.net;"
218
  "Database=sqldb-ext-dev-uks-001;"
219
  "UID=dbadmin;"
220
- "PWD=mYpa$$w0rD" )
 
221
 
222
  table_selector= tab_names_shown[i]
223
  if table_selector is not None:
 
156
  conn1 = pymssql.connect("Server=sql-ext-dev-uks-001.database.windows.net;"
157
  "Database=sqldb-ext-dev-uks-001;"
158
  "UID=dbadmin;"
159
+ "PWD=mYpa$$w0rD;"
160
+ "tds_version=7.0" )
161
 
162
  query0_1=f"select * from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='{select2}' ORDER BY TABLE_NAME ASC"
163
  st.session_state.tab_names_init=list(pd.read_sql_query(query0_1,con=conn1)['TABLE_NAME'])
 
218
  "Server=sql-ext-dev-uks-001.database.windows.net;"
219
  "Database=sqldb-ext-dev-uks-001;"
220
  "UID=dbadmin;"
221
+ "PWD=mYpa$$w0rD;"
222
+ "tds_version=7.0")
223
 
224
  table_selector= tab_names_shown[i]
225
  if table_selector is not None: