Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display query results

Status
Not open for further replies.

BFT1303

Programmer
Jan 26, 2007
29
US
I am running a query on Microsoft SQL Server 2000. I need to display the results to the screen. What is the easiest way to do this?

SELECT SUM(BIN_QTY) AS "TOTAL AVAILABLE" FROM plm_brad.LEI_WAREHOUSE WHERE PART_ID = 'N142' AND BIN_ID = '03LOC';

Thanks
 
Dashley I am using GTL 5.1 IT is a barcoding software that uses SQL. THe select statement works great in Query Analyzer however if I could even store it directly into a memory variable that would work in my favor.
 
BFT,

I've never userd GTL so I dont know what its capacity is.
I normally create an object/Variable and store the query response in it. Will GTL let you do that, How flexable is it?
 
Not very flexible. I can get the sum with multiple reads, I was just trying to find a way to increase the processing speed of my program
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top