If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Basic Question about password and logon command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-04, 11:42
norm801 norm801 is offline
Registered User
 
Join Date: Jan 2004
Posts: 100
Basic Question about password and logon command

I have running SQL queries all day and have been getting tired of selecting the DATA SOURCE NAME and then having to type in the appropriate password. What can I add to my SQL command to do this for me?



Thanks for the help!


Norm
Reply With Quote
  #2 (permalink)  
Old 01-08-04, 12:31
exdter exdter is offline
Registered User
 
Join Date: Aug 2003
Posts: 328
Re: Basic Question about password and logon command

Do you mean like a connect line in your script?
Reply With Quote
  #3 (permalink)  
Old 01-08-04, 12:55
norm801 norm801 is offline
Registered User
 
Join Date: Jan 2004
Posts: 100
Re: Basic Question about password and logon command

Quote:
Originally posted by exdter
Do you mean like a connect line in your script?
Yes, exactly
Reply With Quote
  #4 (permalink)  
Old 01-08-04, 13:28
exdter exdter is offline
Registered User
 
Join Date: Aug 2003
Posts: 328
Re: Basic Question about password and logon command

Is this what you mean?
The first line of your script should be
conn[ect] user/password/database
The problem with this is that your password won't be encrypted, so someone can see it.
I hope this helps.
Reply With Quote
  #5 (permalink)  
Old 01-08-04, 13:40
norm801 norm801 is offline
Registered User
 
Join Date: Jan 2004
Posts: 100
Re: Basic Question about password and logon command

Quote:
Originally posted by exdter
Is this what you mean?
The first line of your script should be
conn[ect] user/password/database
The problem with this is that your password won't be encrypted, so someone can see it.
I hope this helps.
Forgive my ignorance but I don't think I asked for the right thing.

Here's what I'm looking at.....

I'm in Access and I run an SQL query such as:

select COUNT(*) from employee_data where title = 'Programmer'

and the next thing you know is a window pops up where I need to click on the "Machine Data Source" tab and then the appropriate "Data Source Name" which then has me type in my password.

Thanks for the help.

Norm
Reply With Quote
  #6 (permalink)  
Old 01-08-04, 13:49
exdter exdter is offline
Registered User
 
Join Date: Aug 2003
Posts: 328
Re: Basic Question about password and logon command

Oh, sorry. I can't help with that one.
I don't know Access.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On