forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Feature Req: Sql Template
- This topic is empty.
- 
		AuthorPosts
- 
		
			- 
September 29, 2005 at 4:42 pm #19331Ritesh MemberWe will reimplement it in v4.2 BETA 3. v4.2 BETA 3 is couple of days away 🙂 
- 
October 6, 2005 at 1:07 pm #19332iliask MemberTested 4.2B5 but all i could get was the database name every time i pressed enter on one of the tables, which is not much usefull. The SELECT * FROM table LIMIT 0,maxRows would be far better. A “Paste quick SELECT in editor on double click” on the preferences menu would allow people to swich it off. 
- 
October 6, 2005 at 1:33 pm #19333peterlaursen ParticipantSee attached! This is what I get when pressing after highlighting a table in Object Browser. This SQL Code:select * from `test2`.`table1` limit 0, 50is executed to get this display. You can copy it from the HISTORY tab. But you request that this SQL-statement is pasted into the SQL-pane ? 
- 
October 11, 2005 at 9:09 am #19334iliask MemberExactly. That was the default behaviour of version 4.1 and was proven to be quite handy. For the time being i have to locate the last entry on the history pane and then manually copy-paste it to the sql pane. Most of the times you have to manually edit the where clause of the sql to get a different output on the Table Data pane and having the sql ready helps a lot. 
- 
October 11, 2005 at 12:03 pm #19335Ritesh MemberSelect the table in the Object Browser, choose Table -> Paste SQL Statements -> Select col1, col2 It does exactly what you want. We will be providing a shortcut for the same in the next BETA. 
- 
October 11, 2005 at 1:53 pm #19336iliask MemberSorry hadn't notice that menu. A shortcut would be great… 😀 
- 
October 13, 2005 at 8:25 am #19337iliask MemberHow about pasting the SELECT statement after the user has double-clicked on the table? That would be more usefull compared to just placing the table name… 
- 
October 13, 2005 at 8:35 am #19338peterlaursen ParticipantI disagree on your last post. You might have some weird or long names. And if your are working in an international environment the characters used for the names may even not be available from your keyboard! I don't how to input a czech hacek (sorry for the missing accent!), but with this new click-facility I can word with a databases created with national characters from all over the world. 
- 
October 13, 2005 at 8:54 am #19339iliask MemberYou mean that by accidentaly double clicking on a table with international characters you might get unreadable symbols on your editor?I guess then that a ALT+ shortcut would do fine… 
- 
October 13, 2005 at 4:37 pm #19340peterlaursen ParticipantI'd like to se you type Code:select * from æøå;on your keyboard – it is easy on mine! 😀 But now you can too! Just doubbleclick the øæå -table 
 
- 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
