Comments
Sort by recent activity
On a related note, if you use a custom alias and then use SqlPrompt to instert a field, it will use the automatic alias value instead of the custom alias.
In the example below, the table "Organization" is automatically aliased as "o", but I have chosen to use Org. SELECT * FROM Organization AS Org
If using SqlPrompt to instert a field in the WHERE clause, you will get (Note the aliased named in the WHERE clause): SELECT * FROM Organization AS Org WHERE o.[OrgName] = 'Test'
I'm not typing the query right now so I cannot test, but it may only occur if you leave out the 'AS' keyword when aliasing the table name. SELECT * FROM Organization Org WHERE o.[OrgName] = 'Test'
/ comments
On a related note, if you use a custom alias and then use SqlPrompt to instert a field, it will use the automatic alias value instead of the custom alias.
In the example below, the table "Organizat...
I feel like I was forced to agree. I want a recount. / comments
I feel like I was forced to agree. I want a recount.
I would suggest not making it the default. / comments
I would suggest not making it the default.
I like the 'Auto' alias feature, but I think a custom auto feature like PDinCA suggested. / comments
I like the 'Auto' alias feature, but I think a custom auto feature like PDinCA suggested.
It would be nice if it 'learned' from the user.
For example, if I normally give a table a specific alias then that is the alias that it would automatically use next time.
This would also apply to my previous post about 'default' queries on tables. SqlPrompt would 'learn' what queries I usually use against specific tables. / comments
It would be nice if it 'learned' from the user.
For example, if I normally give a table a specific alias then that is the alias that it would automatically use next time.
This would also apply to m...
I posted this as a seperate message, but I guess it should go in this thread:
Candidate List in FROM clause:
In the WHERE clause, the candidate list displays fields from tables that are not in the FROM clause.
I do not like how it shows these fields as options or how it adds the table to the FROM clause w/o a join. It is like if Intellisense displayed variables that are out of scope.
How often do you have a multi-table FROM clause where a table is not part of a join? Even if Sql Prompt adds the table for you, you still need to go 'take care of it' by making the automatically added table part of a join.
It is good that they are listed first, but it makes that list long and harder to look at. It also gives you the ability to automatically generate 'bad' Sql (the table w/o the join). I think just showing the fields from the current tables is best. / comments
I posted this as a seperate message, but I guess it should go in this thread:
Candidate List in FROM clause:
In the WHERE clause, the candidate list displays fields from tables that are not in the ...
I agree. / comments
I agree.
If listing features I'd like to see, this would not be one I would have thought of. I cannot think of the last time that I had to do this function, although I would be handy if I ever had to do it.
I'd be more likely to use (purchase) a product that helps me a little bit all day long* instead of one that helps me once a month**.
* Format Sql.
** Split tables into two. / comments
If listing features I'd like to see, this would not be one I would have thought of. I cannot think of the last time that I had to do this function, although I would be handy if I ever had to do it....
I think this will be handly, I is just not one of those tools that you need every day (Unlike Lay out Sql).
I used it a few times just to try it and it seems to work well. It would be nice if it supported the renaming of columns. / comments
I think this will be handly, I is just not one of those tools that you need every day (Unlike Lay out Sql).
I used it a few times just to try it and it seems to work well. It would be nice if it su...