Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLDependency problems
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
SQLDependency problems
Versions des environnements
Environment:
VB 8.0
Database:
MS SQL Server
Divers
Thread ID:
01184858
Message ID:
01184858
Vues:
71
Hi

I was implementing a feature using SQLDependency in my current application and I found something funny that is really bugging me. I cannot use 3-part names when naming the database.

If I use this query, everything is working correctly:
"SELECT MAJDate FROM dbo.DatabaseEvent WHERE Event = 'BloombergUpdate'"

If I use a 3-part name, like the following one, events are raised non-stop:
"SELECT MAJDate FROM HedgeFund_PRD.dbo.DatabaseEvent WHERE Event = 'BloombergUpdate'"
I always use 3-part names because the application is connecting to multiple databases on the same server (and I often have multiple versions of the same database on my laptop – different stages)

Do you know any workaround to this problem so that I can use the 3-part names?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform