Thursday
Feb212013
SquidRenameColumn
- Renames a column in SQUID.
Prototype
int SquidRenameColumn(int iSquid, char* sFromColumn, char* sToColumn);
- Parameters
iSquid Squid Connection Handle sFromColumn Existing column name to be renamed sToColumn New column name
- Return Values
0 Operation successful -1 Error occurred, call SquidGetLastError for details
Example
int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidSendData(iSquid, "Column 1", "user001");
SquidRenameColumn(iSquid, "Column 1", "users");
SquidDisconnect(iSquid);