Oct 23, 2002 #1 pslpsl Programmer Oct 23, 2002 4 FR I want to add/modify/delete my Access DB password using an SQL query sent by a Delphi application through ODBC. The following doesn't work : "ALTER DATABASE PASSWORD new, old". Does anyone has got an idea to do it ? Thanks
I want to add/modify/delete my Access DB password using an SQL query sent by a Delphi application through ODBC. The following doesn't work : "ALTER DATABASE PASSWORD new, old". Does anyone has got an idea to do it ? Thanks
Oct 25, 2002 #2 mp9 Programmer Sep 27, 2002 1,379 GB You don't need the comma between Code: new and Code: old (I think). Also, if there wasn't an old password, you need to include a Code: NULL , i.e. Code: ALTER DATABASE PASSWORD new NULL Hope this helps. http://www22.brinkster.com/accessory/ Upvote 0 Downvote
You don't need the comma between Code: new and Code: old (I think). Also, if there wasn't an old password, you need to include a Code: NULL , i.e. Code: ALTER DATABASE PASSWORD new NULL Hope this helps. http://www22.brinkster.com/accessory/
Oct 25, 2002 Thread starter #3 pslpsl Programmer Oct 23, 2002 4 FR I have the following error message : [Microsoft][Pilote ODBC Microsoft Access] Instruction SQL non valide; 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT' ou 'UPDATE' attendus. Upvote 0 Downvote
I have the following error message : [Microsoft][Pilote ODBC Microsoft Access] Instruction SQL non valide; 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT' ou 'UPDATE' attendus.
Oct 25, 2002 Thread starter #4 pslpsl Programmer Oct 23, 2002 4 FR I have the following error message : [Microsoft][Pilote ODBC Microsoft Access] Instruction SQL not valid; 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT' or 'UPDATE' expected. Upvote 0 Downvote
I have the following error message : [Microsoft][Pilote ODBC Microsoft Access] Instruction SQL not valid; 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT' or 'UPDATE' expected.