<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Odejmowane daty]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=213&amp;type=atom"/>
	<updated>2009-05-18T08:49:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=213</id>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=886#p886"/>
			<content type="html"><![CDATA[Wystarczy mi tyle ;) dziala wszystko.. Teraz widze akie glupie bledy robie.. Dzieki bardzo:)]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-18T08:49:42Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=886#p886</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=883#p883"/>
			<content type="html"><![CDATA[???
Jak potrzebujesz cos wypisac (5 liter nazwiska) to piszesz to po selecie

[code]
select substr(nazwisko,1,5) ...
[/code]
Sorki ale reszty nie skumałem :)]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-05-18T08:42:43Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=883#p883</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=881#p881"/>
			<content type="html"><![CDATA[mam  2 tabele. Z jednej potrzebuje wlasnie nazwisko (5 liter) a z drugiej tabeli daty i ten NR wypozyczenia. Mam baze firmy o wypozyczeniach samochodow. data wyp- wypozyczenia a odd- to oddania.]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-18T06:37:12Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=881#p881</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=879#p879"/>
			<content type="html"><![CDATA[A co chcesz uzyskac?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-05-18T06:34:11Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=879#p879</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=878#p878"/>
			<content type="html"><![CDATA[a gdzie to powinienem wstawic? Mam tak:

select NAZWISKO ,NR_WYPOZYCZENIA, DATA_WYP, DATA_ODD from wypozyczenia JOIN klienci SUBSTR (NAZWISKO, 1, 5);

Ale przy tym mam blad.]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-18T06:20:10Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=878#p878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=876#p876"/>
			<content type="html"><![CDATA[ale 
[code]
substring('Thomas' from 2 for 3)
[/code]
jest równoważne
[code]
substr('Thomas',2,3)
[/code]
Próbowałeś tą drugą składnię z nazwą kolumny? Powinno działać]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-05-16T09:22:25Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=876#p876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=873#p873"/>
			<content type="html"><![CDATA[RObie to z 5 pierwszymi literami nazwiska ale na strone ktora podales jest tylko przyklad z danym  nazwiskiem (substring('Thomas' from 2 for 3) . A nie idzie jak zamiast thomas wpisuje nazwe kolumny:|]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-15T06:55:37Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=873#p873</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=871#p871"/>
			<content type="html"><![CDATA[Dzięki bardzo:)]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-14T18:27:49Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=871#p871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=866#p866"/>
			<content type="html"><![CDATA[Polecam lekturę manuala  - jest naprawdę przyjazny. 
Pierwszy problem rozwiążesz używając funkcji z tego manual'a - [url]http://www.postgresql.org/docs/8.3/static/functions-datetime.html[/url]
Drugi problem rozwiążesz używając funkcji z tego manual'a - [url]http://www.postgresql.org/docs/current/static/functions-string.html[/url]]]></content>
			<author>
				<name><![CDATA[orcus]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=761</uri>
			</author>
			<updated>2009-05-14T12:13:32Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=866#p866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=861#p861"/>
			<content type="html"><![CDATA[I jeszcze jedno. Mam wyswietlic tylko 5 poczatkowych liter z nazwiska (np Kowalski  =  Kowal) .

Dzieki]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-14T10:25:22Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=861#p861</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odejmowane daty]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=860#p860"/>
			<content type="html"><![CDATA[Witam. Mam za zadanie napisac zapyanie, ktorym  musze pobrac z tabeli 2 kolumny. Jedna jak i druga to data. Musze odac jedna od drugiej i podac wynik (np. 2004-02-03  -  2004-01-16 = 19) Wie ktos jak to zrobic?

Dziekuje i Pozdrawiam TidoN]]></content>
			<author>
				<name><![CDATA[tidon]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=904</uri>
			</author>
			<updated>2009-05-14T10:22:34Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=860#p860</id>
		</entry>
</feed>
