sql server - MSSQL schema problem - I renamed a table , now the database is referencing the old name -
sql server - MSSQL schema problem - I renamed a table , now the database is referencing the old name -
here problem how prepare schema of renamed table manually.
i have table called activecustomers renamed activecustomersold renamed 1 time again activecustomers ( original name)
select * activecustomers work. if rename table activecustomerold select * activecustomers works.
why? because sql schema mapping activecustomerold table name activecustomers.
how alter schema of table mapp keywords. illustration select * should map table called c
you consider using synonym
if using sql server 2005 or greater (it's thought specify version using). should always utilize schema prefix when creating or referencing entities.
sql-server sql-server-2000
Comments
Post a Comment