+ Start a Discussion
VijaySivakumarVijaySivakumar 

Query All the Columns

Hi All,

 

    Is it possible to query all the columns of an object in a query without actually mentioning them..

 

    I am looking for something like select * from ObjectName.

 

Thanks

Vijay

Best Answer chosen by Admin (Salesforce Developers) 
VijaySivakumarVijaySivakumar

Hi,

 

I found an indirect way to do that. I am gonna use the SObject Method getDescribe()

 

you can see the code here..

 

http://forums.sforce.com/sforce/board/message?board.id=apex&message.id=11563&query.id=99510#M11563

 

Thanks

Vijay

All Answers

SuperfellSuperfell
No
VijaySivakumarVijaySivakumar

Hi,

 

I found an indirect way to do that. I am gonna use the SObject Method getDescribe()

 

you can see the code here..

 

http://forums.sforce.com/sforce/board/message?board.id=apex&message.id=11563&query.id=99510#M11563

 

Thanks

Vijay

This was selected as the best answer