Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2009.04.12;
Скачать: CL | DM;

Вниз

Операции с сводными запросами (Firebirb)   Найти похожие ветки 

 
dest81   (2009-02-22 11:48) [0]

Припустим есть две таблицы
 Первая:  table_name
     id_1:integer;
     id_n:integer;
     name:string;
 Вторая: table_city
     id_2:integer;
     id_n:integer;
     city:string;
С помощью такого запроса в компоненте ibdataset:
select t1.id_2,t2.name,t1.city from table_city t1, table_name t2
  where t1.id_n=t2.id_n
Можно ли как-то сделать автоматическое редактирование в гриде такого запроса (конкретно интересует поле city)


 
dest81   (2009-02-22 11:49) [1]

Извините за сумбурное обяснение!!!


 
Юрий Зотов ©   (2009-02-22 12:24) [2]

Из справки:

All multi-table queries return read-only result sets. Other conditions may cause a query to return a read-only result set. For local tables (such as dBASE and Paradox), see the local SQL help file for rules governing live result sets (updatable queries). For other table types (such as InterBase, Oracle, and Sybase), consult the documentation for the specific database system.

Applications can update data returned in a read-only result set if they are using cached updates.



Страницы: 1 вся ветка

Текущий архив: 2009.04.12;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.011 c
15-1234438591
Урсулапов_
2009-02-12 14:36
2009.04.12
Как узнать описание имени компьютера в сети?


15-1234215001
Юрий
2009-02-10 00:30
2009.04.12
С днем рождения ! 10 февраля 2009 вторник


2-1234471401
KillaTank
2009-02-12 23:43
2009.04.12
Создание DBF файла во время работы приложения


15-1234287680
Маэстро
2009-02-10 20:41
2009.04.12
Сколько это будет стоить?


2-1235073098
LDV
2009-02-19 22:51
2009.04.12
Почему возвращается пустая строка