<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Problem z ładowaniem tabel do bazy]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=365&amp;type=atom"/>
	<updated>2009-12-24T08:17:05Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=365</id>
		<entry>
			<title type="html"><![CDATA[Odp: Problem z ładowaniem tabel do bazy]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1647#p1647"/>
			<content type="html"><![CDATA[[quote=sulavix]witam serdecznie;
[quote=adC]...struktury bazy SQL. ...[/quote]
co masz na mysli? poniewaz struktura bazy (albo schema) to jedno a SQL (albo jezyk zapytan) to drugie.
pozdrawiam[/quote]

chodzi m o skrypt tworzący baze, czyli 

[quote]create table ...[/quote]

zapomniałbym :

Wesołych Świąt :)]]></content>
			<author>
				<name><![CDATA[adC]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1030</uri>
			</author>
			<updated>2009-12-24T08:17:05Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1647#p1647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Problem z ładowaniem tabel do bazy]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1646#p1646"/>
			<content type="html"><![CDATA[witam serdecznie;
[quote=adC]...struktury bazy SQL. ...[/quote]
co masz na mysli? poniewaz struktura bazy (albo schema) to jedno a SQL (albo jezyk zapytan) to drugie.
pozdrawiam]]></content>
			<author>
				<name><![CDATA[sulavix]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=972</uri>
			</author>
			<updated>2009-12-23T15:41:57Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1646#p1646</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Problem z ładowaniem tabel do bazy]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1645#p1645"/>
			<content type="html"><![CDATA[Nie przepadam za windowsem.
Ale w pliku bat używasz normalnie psql-a i tam podajesz mu komendy 

w unixie jest to tak

[code]
(9)>$psql < create.sql 
CREATE TABLE
21:43:30 merlin@szarlotka:~/Programowanie/pg
(10)>$psql 
psql (8.4.2)
Type "help" for help.

merlin=# \dt
       List of relations
 Schema | Name | Type  | Owner  
--------+------+-------+--------
 public | t1   | table | merlin
(1 row)

merlin=# ^D\q
21:43:55 merlin@szarlotka:~/Programowanie/pg
(11)>$cat create.sql 
create table t1(pole int);
[/code]


A z windowsem, napisz, sprawdź i testuj ;]]]></content>
			<author>
				<name><![CDATA[psocha]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=519</uri>
			</author>
			<updated>2009-12-22T20:44:59Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1645#p1645</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Problem z ładowaniem tabel do bazy]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1644#p1644"/>
			<content type="html"><![CDATA[[quote=rski]jasne ze tak.[/quote]

:)  

a znasz może jakiś przykład, tutorial etc. 

Pozdrawiam]]></content>
			<author>
				<name><![CDATA[adC]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1030</uri>
			</author>
			<updated>2009-12-22T19:00:28Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1644#p1644</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Problem z ładowaniem tabel do bazy]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1643#p1643"/>
			<content type="html"><![CDATA[jasne ze tak.]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2009-12-22T18:13:22Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1643#p1643</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Problem z ładowaniem tabel do bazy]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1642#p1642"/>
			<content type="html"><![CDATA[Jest mój pierwszy post na tym forum tak więc na początku witam.

Druga sprawa - pisze aplikacje bazodanową i ona do poprawnego działania wymaga określonej struktury bazy SQL. Czy możliwe jest 'zautomatyzowanie' za pomocą np. skryptu *.bat ładowania tabel do bazy za pomocą skryptu *.sql ??

Pozdrawiam]]></content>
			<author>
				<name><![CDATA[adC]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1030</uri>
			</author>
			<updated>2009-12-22T16:52:37Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1642#p1642</id>
		</entry>
</feed>
