Page 1 of 1

Table alias bug?

Posted: Mon 18 May 2015 10:54
by Nilss
Hello,

we recently upgraded the SDAC components we use in our projects to version 7.1.3. This version has introduced a behavior that might be a bug:

If a SQL statement contains schema and table name in square brackets the table will get an alias. Auto-generated refresh statements will be of incorrect syntax for this.

Example:
SELECT FieldName FROM [Schema].[Table]
Resulting refresh statement:
SELECT FieldName AS _0 FROM Schema.Table [Schema].[Table]
WHERE ...

Is this a bug? The SDAC version used before did not use an alias.

Re: Table alias bug?

Posted: Tue 19 May 2015 07:23
by azyk
We couldn't reproduce the problem. Please, try to compose a small sample to demonstrate the problem including a script to create test table and send it to andreyz*devart*com .

Re: Table alias bug?

Posted: Mon 01 Jun 2015 23:00
by GuguinhaBrastak
I have the same problem, i try to use database.schema.table and when SDAC will try to generate sql they supress the database and just use schema.table, this give me a lot of problems ... this works on 6.11 fine but after update to 7, start to give a error.

Re: Table alias bug?

Posted: Thu 04 Jun 2015 08:07
by azyk
We have reproduced this problem and are investigating it. We will notify you about the results as any are available.

Re: Table alias bug?

Posted: Thu 11 Jun 2015 07:50
by azyk
We have fixed this problem. This fix will be included in the next SDAC build.