I create a table using SQL:
And then fill it using XML (only one row for now):
The problem is that the Number becomes '1' instead of '001' in the database. It's a text column, so it shouldn't do such things... does anyone know why it happens?
Code:
CREATE TABLE CoA_CityNames (
'Code' TEXT NOT NULL,
'Number' TEXT NOT NULL,
'Name' TEXT PRIMARY KEY,
'Key' TEXT);
And then fill it using XML (only one row for now):
Code:
<GameData>
<CoA_CityNames>
<Row Code="DRE" Number="001" Name="Paradera"/>
</CoA_CityNames>
</GameData>
The problem is that the Number becomes '1' instead of '001' in the database. It's a text column, so it shouldn't do such things... does anyone know why it happens?