Hi, what about the SQL Option to set the application name - any restrictions with Microsoft SQL Server?
I tried the following:
exec sql set option APPLICATION "MyAppName" end-exec
exec sql connect to :db-alias user :user-passw end-exec
The connect works as usual but APP_NAME() in SQL Server is not affected, it is empty.
Windows 7 Professional, Net Express 5.1 (Version 5.104.0083), Application build as 32-Bit, SQL Server 2012, ODBC driver standard SQL Server
Regards, Torsten