SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Bug: $OBJECT(ins_qualname)$ returns table.table

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Bug: $OBJECT(ins_qualname)$ returns table.table
Author Message
judahr



Joined: 09 Mar 2007
Posts: 319
Country: United States

Post Bug: $OBJECT(ins_qualname)$ returns table.table Reply with quote
v6.3.139

Code snippet starts with this:
$OBJECT(ins_nothing, column)$

Later, I reference what I would think would be schema.table or database.schema.table as this:
$OBJECT(ins_qualname)$

I get:
table.table
Fri Oct 12, 2012 12:57 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Reply with quote
If I get it correctly, you want to use the second macro to get a fully qualified database object name?
That type of qualification depends on the "Fully Qualify Object Name" settings. If is is not set to Always Qualify with Database and Schema Name, then only schema.table is inserted. There could be also other dependencies on other settings, which is a bit confusing.

To make it work independent from the settings, you can use
$OBJECT(ins_db)$.$OBJECT(ins_schema)$.$OBJECT$
Fri Oct 12, 2012 1:36 pm View user's profile Send private message
judahr



Joined: 09 Mar 2007
Posts: 319
Country: United States

Post Reply with quote
I would like it to say schema.table. My "Always fully..." is set to "With schema name". I've used a workaround for now. It just seems like $OBJECT(ins_qualname)$ should not output table.table
Fri Oct 12, 2012 1:39 pm View user's profile Send private message
judahr



Joined: 09 Mar 2007
Posts: 319
Country: United States

Post Reply with quote
As of .171 this is still an issue.
Fri Feb 01, 2013 5:37 pm View user's profile Send private message
judahr



Joined: 09 Mar 2007
Posts: 319
Country: United States

Post Reply with quote
The workaround does not work if the selected object is a column. I can't seem to workaround for this case.
Thu Feb 07, 2013 6:07 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Reply with quote
I have raised it again. there is still a ticket in our system for $OBJECT(ins_qualname)$
Fri Feb 08, 2013 12:08 am View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2108

Post Reply with quote
Hi!

Any progress on this issue?
Wed Apr 24, 2013 6:45 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Reply with quote
Yes, it is marked as fixed in build 6.3.182, ticket #SA0019807. This is an internal build not available to end-users yet. We are developing several new features and at the moment there is no stable build I can offer to you. Please hold on a little longer.
Wed Apr 24, 2013 7:12 am View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2108

Post Reply with quote
Splendid, thanks :)
Wed Apr 24, 2013 7:46 am View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2108

Post Reply with quote
Works in 6.4.199 preview
Wed May 22, 2013 3:47 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.