|
|
|
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:11 |
|
||
|
|

start [/forum/topic.php?fid=20&msg=38446692&tid=1403772]: |
0ms |
get settings: |
5ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
197ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
19ms |
get tp. blocked users: |
1ms |
| others: | 190ms |
| total: | 432ms |

| 0 / 0 |
