Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Database Password

Author  Topic 

wolfnero
Starting Member

6 Posts

Posted - 2007-04-12 : 11:36:53
There is somebody that know how to set, by an external application whit a SQL command, a MsAccess database password?
Thanks

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-04-16 : 04:32:58
You can try:

ALTER DATABASE PASSWORD NewPassword OldPassword

command through Microsoft JET provider.

See this: [url]http://msdn2.microsoft.com/en-us/library/Aa139977[/url]

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

wolfnero
Starting Member

6 Posts

Posted - 2007-04-16 : 12:32:18
I tried ALTER DATABASE ... but the istruction return an error: SQL Instruction not valid!!!!
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-04-16 : 13:24:04
You are not using JET?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

wolfnero
Starting Member

6 Posts

Posted - 2007-04-19 : 03:59:13
I use the ODBC API inside my MFC program.
Go to Top of Page
   

- Advertisement -