Results 1 to 2 of 2

Thread: Changing Database Context

  1. #1
    Patricia Rotman Guest

    Changing Database Context


    Hi all,

    I have an application that executes the USE command as it's first order of businees with the database. According to the SQL Books On-line, all USE commands will result in the following message being generated:

    Error 5701
    Severity Level 10
    Message Text:
    Changed database context to '%.*ls'.

    However, my application has never reported this message, execept for at one customer site. I cannot figure out why at this one particular site, the customer is seeing this message each time the application starts. Once they ok the message, everything else with the application is fine, but it is a nuisance for them (gotta love customers!).

    Any ideas why this would start happening?


  2. #2
    Dale Shaw Guest

    Changing Database Context (reply)

    Hi

    May depend upon the connection ... OLE-DB Vs ODBC. ODBC clients can retrieve far more text information than OLE-DB / ADO applications. It may also depend upon what other commands form part of the same batch.

    What is your application written in?

    Dale Shaw
    Auckland, New Zealand



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •