Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sp_who2 question
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00610728
Message ID:
00610739
Views:
18
This message has been marked as the solution to the initial question of the thread.
>When I'm running my application from the foxpro7 command window, and then I exec the sp_who2 SP, the programname shows Microsoft Foxpro. If I run the application as an EXE, the programname is blank. Is there a way to store my actual program name in the programname field when I create a connection?
>
>Thanks

There is two options you can set in the ODBC connection string: App=myapp; and WSID=myworkstation;. I don't know wich one shows in sp_who2. The host_name() function in Sql Server returns a value of App option.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform