how to connect to database sql server

Some examples running with Control-M and Control-EM database.
Post Reply
User avatar
davidtuti
Nouveau
Nouveau
Posts: 73
Joined: 27 Dec 2006 12:00

how to connect to database sql server

Post by davidtuti » 24 Nov 2008 12:02

Hi,

I have a em and server on the same computer (w2000)
I would like how could I connect to database to can do a bat file to make selects,

I try:

isql -U user -P password but It says me:

"Login failed for user 'emuser1'. Reason: Not associated with a trusted SQL
server connection."

Any help?
Many thanks,

hipikll

Post by hipikll » 25 Nov 2008 5:07

and can you do it dierectly from bat files without using CM?

I think, that the problem won't be in CM ;)

User avatar
jeffdehn
Nouveau
Nouveau
Posts: 2
Joined: 22 Jan 2012 12:00

SQL server conectivity

Post by jeffdehn » 22 Jan 2012 12:04

Hi there, I have designed a website on local-host. I am having a problem with its sql server. As I upload the site files on server its shows an error of sql server connectivity. Please suggest me something.

User avatar
Nagarajan
Nouveau
Nouveau
Posts: 5
Joined: 14 Apr 2011 12:00
Location: Bangalore
Contact:

Post by Nagarajan » 15 Jul 2013 12:47

Probably u can try the below command

osql -U username -P password -S <database> -d <database>
Nagarajan M S

Post Reply