PHP Manual
PEAR Manual
Smarty Manual
PostgreSQL
MySQL Manual
Perl Manual
Ciekawe adresy
- Kapitał ludzki
- Hiszpański Poznań
- Badania marketingowe
- Teneryfa
- Serwis Konica Minolta
- Opony
- Samochody Kempingowe
- Akcesoria Fryzjerskie
Czytnik RSS
» Uniwersytet Missouri: małe baterie atomoweBaterie nuklearne, wytwarzające energię z rozkładu radioizotopów są atrakcyjną propozycją do wielu zastosowań, ponieważ izotopy, które je zasilają mogą dostarczać użytecznej ilości prądu przez setki lat przy gęstościach elektrycznych milion razy wyższych niż w standardowych bateriach. Baterie atomowe służyły wojsku i służbom powietrznym przez wiele lat, jednak ich duża wielkość ograniczała powszechne użytkowanie.
» PMR: jedna trzecia MŚP nie korzysta z usług IT
Firma analityczna PMR wylicza, że prawie jedna trzecia małych i średnich firm nie korzysta w ogóle z usług IT. Zdecydowanie częściej czynią tak małe spółki(31%) niż średnie (18%).
» Internauci wolą surfowanie po sieci od seksu
O zgrozo. Jak wynika z sondażu PBI, internauci w wolnym czasie najchętniej wybierają surfowanie po sieci (90 proc.). Seks wskazała nieco ponad jedna czwarta ankietowanych.
» Internet Explorer 8 Beta 2 już jest!
Microsoft udostępnił Internet Explorer 8 Beta 2. W nowej odsłonie zobaczymy dwa nowe tryby, a mianowicie "InPrivate browsing" i "InPrivate blocking". Ponadto karty (zakładki) przeglądanych stron są oznaczane kolorami. Wprowadzono także nowy pasek wyszukiwania z opcją sugestii, a także zaimplementowano "inline searching". Nowy IE8 jest szybszy od swojego poprzednika i znacznie umila surfowanie w Sieci, jak wynika ze wstępnych oględzin. Pobierz IE8 Beta 2 dla Windows XP Pobierz IE8 Beta 2 dla Windows Vista/Server 2008 Dodatkowe zasoby w Sieci: Upgrade do bety drugiej przeglądarki Internet Explorer 8 Informacje dla deweloperów Informacje dla specjalistów IT Przygotuj swoją witryn pod IE8 Release Notes Klipy wideo o IE8
removing rows with delete
existing row data within postgresql can be removed with the standard sql delete command. unless carefully working within transaction blocks, removal via the delete command is permanent, and extreme caution should therefore be taken before attempting to remove data from your database.
the syntax to remove one or more rows from a table is as follows:
delete from [ only ] table [ where condition ]
- delete from [ only ] table
the only keyword may be used to indicate that only the table table should have rows removed from it, and none of its sub-tables. this is only relevant if table is inherited by any other tables.
- where condition
the where clause describes under what condition to delete rows from table. if unspecified, all rows in the table will be deleted.
the where clause is almost always part of a delete statement. it specifies which rows in the target table are to be deleted based on its specified conditions, which may be expressed syntactically in the same form as in the select statement.
it is a good habit to execute a select statement with the intended where clause for your delete statement. this allows you to review the data to be deleted before the delete statement is actually executed. this technique and a simple delete statement are demonstrated in example 4-57.
example 4-57. deleting rows from a table
booktown=# select * from stock booktown-# where stock = 0; isbn | cost | retail | stock ------------+-------+--------+------- 0394800753 | 16.00 | 16.95 | 0 0394900014 | 23.00 | 23.95 | 0 0451198492 | 36.00 | 46.95 | 0 0451457994 | 17.00 | 22.95 | 0 (4 rows) booktown=# delete from stock booktown-# where stock = 0; delete 4
if a where condition is not specified, the delete command removes all rows within that table, as shown in example 4-58.
Najskuteczniejsza reklama to pozycjonowanie - Pozycjonowanie stron <= zajrzyj tu i dowiedz się więcej o pozycjonowanie stron