new to SQL
#1

I'm experienced with MySQL, but its the first time i am working with SQL.
pawn Код:
stock GetAchievementDescription(Achievement[])
{
      new query[128];
      format(query,128,"SELECT Description FROM Achievements WHERE FullName = '%s'",Achievement);
      JA_Result=db_query(JA_Database,query);
      db_get_field(JA_Result,0,query,128);
      db_free_result(JA_Result);
      return query;
}
This code returns the query, but not the fetched data from the field.
Reply


Messages In This Thread
new to SQL - by armyoftwo - 13.01.2011, 19:14
Re: new to SQL - by pen_theGun - 13.01.2011, 20:56
Re: new to SQL - by DVDK - 13.01.2011, 21:28
Re: new to SQL - by armyoftwo - 14.01.2011, 12:25
Re: new to SQL - by Sergei - 14.01.2011, 15:18

Forum Jump:


Users browsing this thread: 2 Guest(s)