How do you 'fast path' inputting a column of data and formatting with comma separators and quotes ?
broye
Posts: 5 Bronze 1
in SQL Prompt
I am doing a SELECT; the WHERE IN has many entries. if I cut and paste the column of arguments from an excel spreadsheet or a SQL query how can I cut, paste them in parenthesis then highlight them and let SQL Prompt do its magic and put quotes around each item or at the least a comma separator between them? I recall being able to do this. Or was I mistaken?
Tagged:
Answers
Dan Jary | Redgate Software
Have you visited our Help Center?
- First I started a basic SELECT FROM TABLE WHERE FIELD IN (,
- I then cut and pasted a column from a previous SELECT
I won't post those steps but the next two images show how I get the Commas added:I first click on the red comic book dialog bubble on the let; I scroll past first set of options and lo and behold; I selected the add commas option.
There is my answer. It a time saver. An aside I wonder why don't more companies license your software. It is a real productivity tool. My last two employers refused to get me a license. So I invested in myself and purchased the software.
Glad to hear that resolved the issue for you!
If there is anything further we can help with please do let us know!