|
PostgreSQL Update Row
|
|||
---|---|---|---|
#18+
Есть поле типа user_type : Код: sql 1. 2. 3. 4. 5. 6.
Какой тип указать при обновлении, чтобы не возникало ошибки? exception: ERROR: 42703: column "p5" does not exist stacktrace: at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at ARInvoker.SimpleCommand.SyncUsersCommand.Execute() Для обновления использую библиотеку Npgsql Вот так описан тип: Код: c# 1. 2. 3.
... |
|||
:
Нравится:
Не нравится:
|
|||
30.10.2013, 14:29 |
|
|
start [/forum/topic.php?fid=20&msg=38446692&tid=1403772]: |
0ms |
get settings: |
11ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
68ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
3ms |
others: | 328ms |
total: | 487ms |
0 / 0 |