Update pages/DATA CATALOG.py
Browse files- pages/DATA CATALOG.py +4 -4
pages/DATA CATALOG.py
CHANGED
@@ -152,8 +152,8 @@ def main():
|
|
152 |
select2=st.selectbox('SOURCE SCHEMA NAME',('DBO','CLIENT'),key='SCHname',index=None,placeholder='Select schema name', on_change=clear_cache)
|
153 |
if select1 =='DB_10001' and select2 is not None:
|
154 |
with st.spinner("Loading Tables:"):
|
155 |
-
conn1 = pymssql.connect(
|
156 |
-
|
157 |
user="dbadmin",
|
158 |
password="mYpa$$w0rD",
|
159 |
tds_version="7.0" )
|
@@ -219,8 +219,8 @@ def main():
|
|
219 |
with st.container(height= 400, border=True):
|
220 |
cole1,cole2=st.columns([1,1.5])
|
221 |
with cole1:
|
222 |
-
conn = pymssql.connect(
|
223 |
-
|
224 |
user="dbadmin",
|
225 |
password="mYpa$$w0rD",
|
226 |
tds_version="7.0" )
|
|
|
152 |
select2=st.selectbox('SOURCE SCHEMA NAME',('DBO','CLIENT'),key='SCHname',index=None,placeholder='Select schema name', on_change=clear_cache)
|
153 |
if select1 =='DB_10001' and select2 is not None:
|
154 |
with st.spinner("Loading Tables:"):
|
155 |
+
conn1 = pymssql.connect(server="sql-ext-dev-uks-001.database.windows.net",
|
156 |
+
satabase="sqldb-ext-dev-uks-001",
|
157 |
user="dbadmin",
|
158 |
password="mYpa$$w0rD",
|
159 |
tds_version="7.0" )
|
|
|
219 |
with st.container(height= 400, border=True):
|
220 |
cole1,cole2=st.columns([1,1.5])
|
221 |
with cole1:
|
222 |
+
conn = pymssql.connect(server="sql-ext-dev-uks-001.database.windows.net",
|
223 |
+
database="sqldb-ext-dev-uks-001",
|
224 |
user="dbadmin",
|
225 |
password="mYpa$$w0rD",
|
226 |
tds_version="7.0" )
|