ms access - Select from another database table which have ] in her path -


with access 2002, fail escape ] character in database path in query :

select * [ms access;database=d:\bd].mdb;].[mytable]; 

what i've tried , doesn't work :

select * ["ms access;database=d:\bd].mdb;"].[mytable];  select * [ms access;"database=d:\bd].mdb";].[mytable]; 

i didn't found in msdn documentation escaping path : http://msdn.microsoft.com/en-us/library/office/ff194542.aspx

(i don't want use link tables because query in fact export data excel or db select * [text;database=d:\;hdr=yes].[csvfile.csv] mytable;)

try query..

select [otheraccessdb].* [otheraccessdb] in 'd:\bd].mdb'  

or if ] isn't required...

select [otheraccessdb].* [otheraccessdb] in 'd:\bd.mdb'  

Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -