﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Релиб / Oracle / Базы данных  / Сортировка / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Релиб</description><link>http://www.relib.com/forums/</link><webMaster>robot@relib.com</webMaster><lastBuildDate>Thu, 20 Nov 2008 02:27:48 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Сортировка</title><link>http://www.relib.com/forums/Topic884021-21-1.aspx</link><description>Поменяй динамически строку в SQLText сorder by :Sortirovka наorder by ZAVADSKOY_NOMERНу типа:OraQuery1-&gt;SQL[11] = "order by ZAVADSKOY_NOMER"В ORDER BY переменных быть не может</description><pubDate>Thu, 01 Dec 2005 14:21:00 GMT</pubDate><dc:creator>morenko</dc:creator></item><item><title>Сортировка</title><link>http://www.relib.com/forums/Topic884021-21-1.aspx</link><description>Не знал куда написать так что извините:select * from SPYSOK_PRIBOROV where (INDEKS_KPA LIKE :Indeks or :Indeks is null) and (GORANT_SROK like :GarantSrok or :GarantSrok is null) and (ZAVADSKOY_NOMER LIKE :ZAVADSKOY or :ZAVADSKOY is null) and (PAPKA=:Papka or apka is null) and (OTMETKA_O_PROVED LIKE:OTMETKA or :OTMETKA is null) and (DATA_IZGOTOVLENIY &gt;= to_date(:in_dat1,''''dd.mm.yyyy'''') and DATA_IZGOTOVLENIY &lt;=to_date(:in_dat2,''''dd.mm.yyyy'''')) and (DATA_PROVERKI &gt;= to_date(:in_dat3,''''dd.mm.yyyy'''') and DATA_PROVERKI &lt;=to_date(:in_dat4,''''dd.mm.yyyy'''')) order by :Sortirovka в билдере прописываю OraQuery1-&gt;ParamByName("Sortirovka")-&gt;AsString ="ZAVADSKOY_NOMER"; а блин он не сортируетПомогите </description><pubDate>Thu, 03 Nov 2005 05:16:00 GMT</pubDate><dc:creator>Zapes</dc:creator></item></channel></rss>