SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Beta test 7.0

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Beta test 7.0
Author Message
sqltogo



Joined: 02 Jul 2014
Posts: 38
Country: Netherlands

Post Beta test 7.0 Reply with quote
During testing I came up with an new option for opening a stored procedure.
From the Explorer menu you can select a stored procedure and from the context menu choose Edit Procedure.
But when you are inside a stored procedure where another procedure is executed it would be realy nice if there was an option the select this stored procedure name and from the context menu select 'Edit procedure'. Now I have to follow some extra steps to open it in een new window.
Copy the name, paste it in the Database Explorer and select 'Edit procedure'
Wed Jul 02, 2014 4:40 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Try Ctrl+click, then Copy icon in the DDL view window to copy code to the clipboard or to the editor window


Last edited by SysOp on Wed Jul 02, 2014 7:32 pm; edited 1 time in total
Wed Jul 02, 2014 4:58 pm View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post Reply with quote
You could Ctrl+Click the stored procedure as well. That would retrieve its DDL in an SA tab. You can do whatever you want with it using the icon in top-right corner (copy all, move to editor, compare to editor, etc.)

EDIT: ehh, too slow, I was, yes :)
Wed Jul 02, 2014 5:02 pm View user's profile Send private message
sqltogo



Joined: 02 Jul 2014
Posts: 38
Country: Netherlands

Post Reply with quote
OK, that works, but I miss a few things compared to open from the Explorer with 'Edit procedure'

With Edit Proccedure you get:
USE [TestRestore]
GO
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[IPS_prc_Post_XML2DB]

And with Ctrl+click you get
CREATE PROCEDURE [dbo].[IP_gen_Log]

And it is the lines before ALTER PROCEDURE that I like this way to open the stored proceure text.
And I take the extra time it takes to open a new Window for granted.
Thu Jul 03, 2014 3:12 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
I have submitted an enhancement request to add Edit... to the right-click menu
Thu Jul 03, 2014 8:16 pm View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post Reply with quote
Adding the missing details mentioned by sqltogo to the results retrieved by ctrl+click and another icon to the result panel that would open the contents in a new window would be a nice addition as well. Or and edit link to the bubble opened when hovering over the object. The menu is cluttered enough already, I think.
Fri Jul 04, 2014 1:39 am View user's profile Send private message
sqltogo



Joined: 02 Jul 2014
Posts: 38
Country: Netherlands

Post Reply with quote
Tested in latent build, Works perfect, For me one of the best new features
Sun Jul 13, 2014 1:45 pm 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.