Update pages/4DEDUPLICATION.py
Browse files- pages/4DEDUPLICATION.py +8 -4
pages/4DEDUPLICATION.py
CHANGED
@@ -19,10 +19,14 @@ def main():
|
|
19 |
|
20 |
st.title('Detect Duplicate Records')
|
21 |
st.subheader('SELECT TABLE')
|
22 |
-
conn = pymssql.connect( "
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
|
|
|
|
|
|
|
|
26 |
query1="select * from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='dbo' ORDER BY TABLE_NAME ASC"
|
27 |
table1=pd.read_sql_query(query1,con=conn)
|
28 |
table1['TABLE_NAME']=table1['TABLE_NAME'].astype('str')
|
|
|
19 |
|
20 |
st.title('Detect Duplicate Records')
|
21 |
st.subheader('SELECT TABLE')
|
22 |
+
conn = pymssql.connect( server="sql-ext-dev-uks-001.database.windows.net",
|
23 |
+
database="sqldb-ext-dev-uks-001",
|
24 |
+
user="dbadmin",
|
25 |
+
password="mYpa$$w0rD" )
|
26 |
+
# conn = pymssql.connect( "Server=sql-ext-dev-uks-001.database.windows.net;"
|
27 |
+
# "Database=sqldb-ext-dev-uks-001;"
|
28 |
+
# "UID=dbadmin;"
|
29 |
+
# "PWD=mYpa$$w0rD" )
|
30 |
query1="select * from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='dbo' ORDER BY TABLE_NAME ASC"
|
31 |
table1=pd.read_sql_query(query1,con=conn)
|
32 |
table1['TABLE_NAME']=table1['TABLE_NAME'].astype('str')
|