pwc-india commited on
Commit
1931e0e
1 Parent(s): 2268e58

Update pages/4DEDUPLICATION.py

Browse files
Files changed (1) hide show
  1. 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( "Server=sql-ext-dev-uks-001.database.windows.net;"
23
- "Database=sqldb-ext-dev-uks-001;"
24
- "UID=dbadmin;"
25
- "PWD=mYpa$$w0rD" )
 
 
 
 
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')