<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - atrybuty LIKE]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=331&amp;type=atom"/>
	<updated>2009-10-29T18:42:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=331</id>
		<entry>
			<title type="html"><![CDATA[Odp: atrybuty LIKE]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1480#p1480"/>
			<content type="html"><![CDATA[To moze jeszcze raz WIELKIMI LITERAMI :)
[quote]
"SMITKO                        "
[/quote]
ten wyraz nie kończy się literą O i jedną spacją. Widzisz to?
Policz sobie ile jest tych spacji i wpisz w like'u, cos w stylu
[code]
like '%O           '
[/code]
Jasne?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-10-29T18:42:31Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1480#p1480</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: atrybuty LIKE]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1479#p1479"/>
			<content type="html"><![CDATA[SELECT * FROM PRAC WHERE nazwp LIKE 'S%O ';    - tu jest spacja na końcu 
SELECT * FROM PRAC WHERE nazwp LIKE 'S%O_';
Też mi nie działa ;(]]></content>
			<author>
				<name><![CDATA[gregorio99]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1002</uri>
			</author>
			<updated>2009-10-29T18:21:49Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1479#p1479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: atrybuty LIKE]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1478#p1478"/>
			<content type="html"><![CDATA["SMITKO                        " kończy się spacją a nie literą 'O']]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-10-29T18:12:09Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1478#p1478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[atrybuty LIKE]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1477#p1477"/>
			<content type="html"><![CDATA[Jeżeli wykonam instrukcje:

SELECT * FROM PRAC WHERE nazwp LIKE 'S%';

7369;"SMITKO                        ";"URZĘDNIK                      ";7902;"1980-12-17";800;;20
7788;"SKOTNIK                       ";"ANALITYK                      ";7566;"1982-12-09";3000;;20

ale juz po poniższej instrukcji nie dostaję żadnego rezultatu:

SELECT * FROM PRAC WHERE nazwp LIKE 'S%O';

a spodziewałbym się rekordu SMITKO, czy ktoś ma jakiś pomysł co jest źle?]]></content>
			<author>
				<name><![CDATA[gregorio99]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1002</uri>
			</author>
			<updated>2009-10-29T17:49:40Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1477#p1477</id>
		</entry>
</feed>
