Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

How do I report the name of my application to MS-SQL Server?

by Grygonos (Chaplain)
on Jun 09, 2004 at 20:20 UTC ( [id://362872]=perlquestion: print w/replies, xml ) Need Help??

Grygonos has asked for the wisdom of the Perl Monks concerning the following question: (database programming)

Dealing with the sysprocesses table in the master database on MS-SQL Server.

Originally posted as a Categorized Question.

  • Comment on How do I report the name of my application to MS-SQL Server?

Replies are listed 'Best First'.
Re: How do I report the name of my application to MS-SQL Server?
by Grygonos (Chaplain) on Jun 09, 2004 at 20:22 UTC

    You can specify it in your connect statement

    my $dbh = DBI->connect('DBI:ODBC:dsn=x;app=ApplicationName',$login,$pa +ssword);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://362872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-20 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found