Forums

This topic is locked

MySQL database name prefix in SQL

Posted 18 Mar 2004 16:11:35
1
has voted
18 Mar 2004 16:11:35 Rutger Buiijzen posted:
I'm using MySQL in combination with ASP VBScript. DreamWeaver automatically inserts the database name prefix to generated SQL. So instead of generating:

Select * from databaseName.tableName

I want DreamWeaver to generate SQL without table name prefix:

Select * from tableName

Any idea how to achieve this?

Thanx

Replies

Replied 20 Mar 2004 21:09:47
20 Mar 2004 21:09:47 Phil Shevlin replied:
Obviously hand editing it is out I guess?

Try creating you RS in Advanced mode.
Replied 21 Mar 2004 21:43:59
21 Mar 2004 21:43:59 Rutger Buiijzen replied:
I'm currently removing the prefix manually, but when I pass my pages to someone else DreamWeaver either has trouble recognizing the RecordSet or re-generates the prefix. But you've got a point...

Reply to this topic