Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
2/22/2005 12:00:21 PM EDT
Up until now, I've only used oracle sql.

A new databse I need to use here at work is running microsoft sql server.

Are there any better tools than the "microsoft sql query analyzer" for running queries against the databse?


This thing kind of sucks. It seems excessivly difficult to get the results of a query into excel along with the column headings.

The tool I use for running queries on our oracle database is pretty nice ... you can just right click in the data area and hit "export to excel" and it will launch excel, and send your results table there along with the column headings.



2/22/2005 12:04:04 PM EDT
[#1]
sorry, no TOAD for SQL Svr.

But you can use Enterprise Manager to do queries.

You can copy & paste results.
2/22/2005 12:05:51 PM EDT
[#2]

Quoted:
sorry, no TOAD for SQL Svr.

But you can use Enterprise Manager to do queries.

You can copy & paste results.



+1

I also have "primal SQL" .. I never use it but some other folks I know says its pretty handy ...
2/22/2005 12:07:01 PM EDT
[#3]

Quoted:
sorry, no TOAD for SQL Svr.

But you can use Enterprise Manager to do queries.

You can copy & paste results.




what is TOAD?
2/22/2005 12:09:50 PM EDT
[#4]

Quoted:

Quoted:
sorry, no TOAD for SQL Svr.

But you can use Enterprise Manager to do queries.

You can copy & paste results.




what is TOAD?


www.toadsoft.com/

Enterprise Manager is fairly good. I dont run a lot of MSSQL stuff personally...atleast not without drawing it from applications. I will ask some friends of mine and PM you if I find anything better for you to use.

edited - link
2/22/2005 12:10:15 PM EDT
[#5]
For getting results to Excel I just output query results as text and then do the ol' cut 'n' paste dance.
2/22/2005 12:35:39 PM EDT
[#6]

Quoted:
Up until now, I've only used oracle sql.

A new databse I need to use here at work is running microsoft sql server.

Are there any better tools than the "microsoft sql query analyzer" for running queries against the databse?


This thing kind of sucks. It seems excessivly difficult to get the results of a query into excel along with the column headings.

The tool I use for running queries on our oracle database is pretty nice ... you can just right click in the data area and hit "export to excel" and it will launch excel, and send your results table there along with the column headings.






It's actually pretty easy to do what you're wanting to do.  Open SQL Enterprise Manager, drill down to the database you want the information out of, right click it, select All Tasks and select Export Data, the DTS Import/Export Wizard will pop up.  Click next on the opening screen, accept the default data source on the second screen, on the next screen select Microsoft Excel 97-2000 in the drop down menu under destination, give it a file name, click next on that screen, on the next screen choose the option "Use a query to to specify the data to transfer", click next, type in your query on the next screen, click next on the next screen, make sure the "Run Immediately" button is checked, click next, then click Finish.  Your file will have all header information and will be in perfect Excel format.  IM me if you need more help.
2/22/2005 12:39:20 PM EDT
[#7]
One other thing to add, you can schedule DTS jobs to run, so if your manager needs a daily report of something, you can run the DTS package at let's say 1AM and have it put the file on a file share that he/she has access to.  I do it all the time.
2/22/2005 12:42:23 PM EDT
[#8]

Quoted:

Quoted:
Up until now, I've only used oracle sql.

A new databse I need to use here at work is running microsoft sql server.

Are there any better tools than the "microsoft sql query analyzer" for running queries against the databse?


This thing kind of sucks. It seems excessivly difficult to get the results of a query into excel along with the column headings.

The tool I use for running queries on our oracle database is pretty nice ... you can just right click in the data area and hit "export to excel" and it will launch excel, and send your results table there along with the column headings.






It's actually pretty easy to do what you're wanting to do.  Open SQL Enterprise Manager, drill down to the database you want the information out of, right click it, select All Tasks and select Export Data, the DTS Import/Export Wizard will pop up.  Click next on the opening screen, accept the default data source on the second screen, on the next screen select Microsoft Excel 97-2000 in the drop down menu under destination, give it a file name, click next on that screen, on the next screen choose the option "Use a query to to specify the data to transfer", click next, type in your query on the next screen, click next on the next screen, make sure the "Run Immediately" button is checked, click next, then click Finish.  Your file will have all header information and will be in perfect Excel format.  IM me if you need more help.




ugh ... I guess that's what I'll do. Thanks.

In the program I use now, I right click in the data area and hit export to excel and it's done. It doesn't export to an excel file ... it launches excel and places your data into a worksheet, ready to use.




2/22/2005 1:17:55 PM EDT
[#9]

Quoted:
ugh ... I guess that's what I'll do. Thanks.

In the program I use now, I right click in the data area and hit export to excel and it's done. It doesn't export to an excel file ... it launches excel and places your data into a worksheet, ready to use.


img225.exs.cx/img225/3540/crap9xd.jpg




I didn't say it was better than what you had; I was just saying that it could be done.
2/22/2005 1:22:27 PM EDT
[#10]

Quoted:

Quoted:
ugh ... I guess that's what I'll do. Thanks.

In the program I use now, I right click in the data area and hit export to excel and it's done. It doesn't export to an excel file ... it launches excel and places your data into a worksheet, ready to use.


img225.exs.cx/img225/3540/crap9xd.jpg




I didn't say it was better than what you had; I was just saying that it could be done.



yep, wasn't ragging on you, just whining about change

who moved my fuckin cheese
2/22/2005 1:26:56 PM EDT
[#11]
What exactly is the point of putting this stuff into Excel?
2/22/2005 1:31:48 PM EDT
[#12]

Quoted:
What exactly is the point of putting this stuff into Excel?





to create pivot tables and charts, quickly