Sign in to follow this  

Save database query as an array

1 post in this topic

 i have a database table called "price". columns are "econItem", "econMin", "econPrice", "econMax"

i want to retrieve all the values from the "econItem" column based off price,  and save them as an array. 

Am I on the right track? 


SQL1_1 = SELECT econItem FROM price WHERE econPrice = ?
Number of Inputs = 1


Call from sqf

_data = format [ "getEconItem:%1", 550] call exile_server_system_database_query_selectSingle;

Will the data from this call already be in an array or some other format? 


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.