In my database table i have
 sr_no
 FID
 DOJMU
 DOJMCIS
 Designation
 UpdateDate
I have to write a select command such that i should select every field except sr_no.I know that we can wite it as Select FID,DOJMU,DOJMCIS,Designation,UpdateDate from TableName.But for me i need the query as select * from table name But it should exclude one column name is it posssible?
As i need to execute this query in C#(asp.net with c#),I have the following code
select p.Name,m.* from Publication_det m INNER JOIN Personal_det p  ON m.FID= p.FID 
where m.updateDate  between @Start and @End 
Here you can see that m.* represents the above select * from table name,so while executing sr_no will also being displayed,Hence i need a solution for using  n-1 column names.
 
     
    