How to Change the Hostname on SQL ServerID: Q140301 3.00 WINDOWS kbinterop kbhowto The information in this article applies to:
SUMMARYThis article shows by example how to change the hostname on a remote connection to SQL Server. The example works assuming that you have first created a data source to SQL Server. This article will not discuss how to create the data source. Being able to change the hostname to the application name allows an administrator of SQL Server to see which users are currently logged on and what applications are running.
MORE INFORMATIONThere are two ways to connect to SQL Server in Visual FoxPro through the user interface. You can use one of the available datasources or you can use one of the available connections. To connect to SQL Server, you do not need to use a connection string. You must, however, make the changes documented here: 1. Create a new connection by selecting connections from the data tab in 2. Click the New button. The connection dialog box will appear. Select
3. In the new connection string text box, type:
4. Save this connection as Connect 1. Use this connection when creating a
5. Press CTRL+E, or click the Execute button. "My App" will display as the
Additional reference words: 3.00 VFoxWin
KBCategory: kbinterop kbhowto
KBSubcategory: FxinteropOdbc
|
Last Reviewed: November 2, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |