<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум PHP-MyAdmin.RU &mdash; Помогите сделать SQl запрос dle 11.2]]></title>
		<link>https://forum.php-myadmin.ru/viewtopic.php?id=4513</link>
		<atom:link href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=4513&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Помогите сделать SQl запрос dle 11.2».]]></description>
		<lastBuildDate>Mon, 10 Apr 2017 15:50:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27528#p27528</link>
			<description><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Средствами MySQL выбрать год из поля xfields не получится, особенно если нет точной позиции года в строке с разделителем. Можно попробовать для выборки написать скрипт, чтобы найти в строке пару year|год и записать его в отдельное поле.</p></blockquote></div><p>вк под профилем ваше,сегодня уже поздно, можно вам завтра напишу?</p>]]></description>
			<author><![CDATA[null@example.com (Роман48)]]></author>
			<pubDate>Mon, 10 Apr 2017 15:50:55 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27528#p27528</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27527#p27527</link>
			<description><![CDATA[<p>Средствами MySQL выбрать год из поля xfields не получится, особенно если нет точной позиции года в строке с разделителем. Можно попробовать для выборки написать скрипт, чтобы найти в строке пару year|год и записать его в отдельное поле.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Mon, 10 Apr 2017 14:35:53 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27527#p27527</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27526#p27526</link>
			<description><![CDATA[<p>update `dle_post` set `metatitle`= CONCAT(&#039; &#039;, `title`, `xfields`, &quot;year&quot;, &#039; смотреть онлайн бесплатно&#039;)<br />так запрос сработал. только вышло <a href="https://yadi.sk/i/F7keDEVr3GpjY4">https://yadi.sk/i/F7keDEVr3GpjY4</a> не то что нужно</p>]]></description>
			<author><![CDATA[null@example.com (Роман48)]]></author>
			<pubDate>Mon, 10 Apr 2017 13:19:02 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27526#p27526</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27525#p27525</link>
			<description><![CDATA[<p>да я отблагодарю,финансово! напишите пожалуйста чтоб скопировать и сделать запрос. какое мученьнье когда не понимаешь даже примерно как сделать. <br />update `dle_post` set `metatitle`= CONCAT(&#039; &#039;, `title`, `xfvalue_year`, `year`, &#039; смотреть онлайн бесплатно&#039;)<br /><a href="https://yadi.sk/i/HWBgINRE3GphZE">https://yadi.sk/i/HWBgINRE3GphZE</a> хорошо что на локалке делаю,ато довно бы без сайта остался.</p>]]></description>
			<author><![CDATA[null@example.com (Роман48)]]></author>
			<pubDate>Mon, 10 Apr 2017 13:10:27 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27525#p27525</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27524#p27524</link>
			<description><![CDATA[<p>Если пишете название поля, то оно должно быть в косых кавычках `xfvalue_year`. В одинарных или двойных кавычках идет строка.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Mon, 10 Apr 2017 10:16:16 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27524#p27524</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27523#p27523</link>
			<description><![CDATA[<p>не проходит запрос update `dle_post` set `metatitle`= CONCAT(&#039; &#039;, `title`, &#039;xfvalue&#039;, `year`, &#039; смотреть онлайн бесплатно&#039;)<br />поле из которого надо год вставить это [xfvalue_year] может что я не так делаю.вот что пишет <a href="https://yadi.sk/i/Pap7TDAj3Gp7Lf">https://yadi.sk/i/Pap7TDAj3Gp7Lf</a><br />напишите пожалуйста как точно сделать запрос<br />так тоже не проходит запрос <a href="https://yadi.sk/i/J3vmeQfg3Gp9Pp">https://yadi.sk/i/J3vmeQfg3Gp9Pp</a>&nbsp; <a href="https://yadi.sk/i/9JFkpNfb3Gp9XM">https://yadi.sk/i/9JFkpNfb3Gp9XM</a></p>]]></description>
			<author><![CDATA[null@example.com (Роман48)]]></author>
			<pubDate>Mon, 10 Apr 2017 08:50:59 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27523#p27523</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27522#p27522</link>
			<description><![CDATA[<p>Внутри CONCAT() добавьте через запятую название поля и окружающие пробелы.<br /></p><div class="codebox"><pre><code>...CONCAT(&#039; &#039;, `title`, &#039; &#039;, `year`, &#039; смотреть онлайн бесплатно&#039;)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Mon, 10 Apr 2017 08:26:36 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27522#p27522</guid>
		</item>
		<item>
			<title><![CDATA[Помогите сделать SQl запрос dle 11.2]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=27520#p27520</link>
			<description><![CDATA[<p>привет. помогите сделать запрос. нужно глобально поменять title<br />этот запрос решает мою проблему но не полностью.<br />update `dle_post` set `metatitle`= CONCAT(&#039; &#039;, `title` , &#039; смотреть онлайн бесплатно&#039;)</p><p>мне нужно вставить из поля год <strong>year</strong><br />вот как сделать запрос название новости, год из поля смотреть онлайн<br />получится должно<br />Куртизанки 2017 смотреть онлайн бесплатно</p>]]></description>
			<author><![CDATA[null@example.com (Роман48)]]></author>
			<pubDate>Mon, 10 Apr 2017 04:07:45 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=27520#p27520</guid>
		</item>
	</channel>
</rss>
