Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Database

Status
Not open for further replies.

Memento

MIS
Jun 19, 2005
46
US
Sql Server 2000

In the Enterprise Manager under Security, Logins I have an existing user using Windows Authentication. The first tab, General, there's a Defaults section with either Database or Language.

Problem:
I have two databases School and SchoolII. School was the old database, and SchoolII is the new database. When I set the default database from School to SchoolII, my old VB6 app quits working. It can't find the tables. When I change the default database back from SchoolII to School, everything works. I have the same permissions on both databases.

Any ideas?
 
Sounds like you app is using fully qualified naming DB.Owner.Object.

Why not renal School to SchoolOLD and SchoolII to School?

Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top