Page 1 of 1

how to connect to database sql server

Posted: 24 Nov 2008 12:02
by davidtuti
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,

Posted: 25 Nov 2008 5:07
by hipikll
and can you do it dierectly from bat files without using CM?

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

SQL server conectivity

Posted: 22 Jan 2012 12:04
by jeffdehn
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.

Posted: 15 Jul 2013 12:47
by Nagarajan
Probably u can try the below command

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