How to put a SQL query in a single Excel cell?

G

Guest

I'm creating a spreadsheet that lists different queries. When we list the
odd SQL query, we want to put the entire query in a single Excel cell that
can be copied and pasted in SQL Query Analyzer. Is there a way to copy and
paste the SQL query into the cell? We're finding that when pasting, Excel
breaks it up into several lines. Additionally, typing it out doesn't always
properly format the query (like when there are comments within the query)...
Is what I'm looking to do even possible?
 
G

Guest

Kris - you'll find that Excel cells only hold 255 characters which seems like
a lot until you're copying text into them. I don't think that's going to be
a good way to list your queries. You should try Word which will maintain
your spacing and generallly look better.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top