<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>firebird &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/firebird/</link>
	<description>Feed of posts on WordPress.com tagged "firebird"</description>
	<pubDate>Sun, 29 Nov 2009 20:08:06 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[FancyTunes Playlist and Listen-Again 28.11.2009]]></title>
<link>http://fancytunes.wordpress.com/2009/11/29/fancytunes-playlist-and-listen-again-28-11-2009/</link>
<pubDate>Sun, 29 Nov 2009 00:19:28 +0000</pubDate>
<dc:creator>fancytunes</dc:creator>
<guid>http://fancytunes.wordpress.com/2009/11/29/fancytunes-playlist-and-listen-again-28-11-2009/</guid>
<description><![CDATA[Hey Boys &amp; Girls, here is the latest FancyTunes playlist! You can find the link to the podcast t]]></description>
<content:encoded><![CDATA[Hey Boys &amp; Girls, here is the latest FancyTunes playlist! You can find the link to the podcast t]]></content:encoded>
</item>
<item>
<title><![CDATA[Pontiac Rolls into History Books, RIP]]></title>
<link>http://ahrcanum.wordpress.com/2009/11/26/pontiac-rolls-into-history-books-rip/</link>
<pubDate>Thu, 26 Nov 2009 17:20:07 +0000</pubDate>
<dc:creator>ahrcanum</dc:creator>
<guid>http://ahrcanum.wordpress.com/2009/11/26/pontiac-rolls-into-history-books-rip/</guid>
<description><![CDATA[This Thanksgiving week, General Motors has officially ceased production of it&#8217;s Pontiac brand ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://ahrcanum.wordpress.com/files/2009/11/pontiac.png"><img class="aligncenter size-full wp-image-2359" title="Pontiac" src="http://ahrcanum.wordpress.com/files/2009/11/pontiac.png" alt="" width="500" height="117" /></a></p>
<p>This Thanksgiving week, General Motors has officially ceased production of it&#8217;s Pontiac brand of vehicles as a result of the bailout by the U.S. government.  Not only could the car maker not meet it&#8217;s financial obligations but, the fact is that the car&#8217;s brand no longer had the appeal it once did and sales were declining.</p>
<p>The last Pontiac G-8 rolled off the assembly line in Orion heading for a fleet order rather than a museum for posterity sake yesterday.  <a href="http://www.detnews.com/article/20091126/AUTO01/911260411/Pontiac-reaches-end-of-the-line/?imw=Y">http://www.detnews.com/article/20091126/AUTO01/911260411/Pontiac-reaches-end-of-the-line/?imw=Y</a> </p>
<p><a href="http://www.pontiac.com/">http://www.pontiac.com/</a> has the official closeout information on remaining vehicles for sale with deals as low as o% financing for six years or cash back offers up to $4,500.  As a wake up call to anyone buying a car, six years is an absurd amount of time to pay off a car, especially when the warranty ends before you pay it off.</p>
<p>With discount offers like this across most of GM&#8217;s product line up, how they are ever going to make money, get out of bankruptcy and away from government ownership is beyond any one&#8217;s guess. </p>
<p>Besides the 1000&#8217;s of job losses at Pontiac plants, NUMMI the joint venture between  GM and Toyota venture looks to be shutting its doors as well. <a href="http://www.mercurynews.com/drive/ci_13766495">http://www.mercurynews.com/drive/ci_13766495</a> From the Bureau of Labor Statistics unemployment by state <a href="http://www.bls.gov/web/laumstrk.htm">http://www.bls.gov/web/laumstrk.htm</a> is listed.  Like the climategate, how true these numbers are is any one&#8217;s guess.</p>
<p>I recall the 1978 Pontiac Bonneville that I learned to drive in.  What a tank, but it had the radio antennae built into the glass which was pretty cool.  In 1982 came the Firebird and was featured on the TV Show <em>Knight Rider</em>.  I never owned one, but a lot of my buddies did and it was a girl magnet.</p>
<div id="attachment_2360" class="wp-caption aligncenter" style="width: 310px"><a href="http://ahrcanum.wordpress.com/files/2009/11/pontiac-fiero.jpg"><img class="size-full wp-image-2360 " title="pontiac fiero" src="http://ahrcanum.wordpress.com/files/2009/11/pontiac-fiero.jpg" alt="" width="300" height="223" /></a><p class="wp-caption-text">Pontiac Fiero </p></div>
<p>In 1984,  my dad through a mid life crisis or whatever, found the Pontiac Fiero much more in the spirit of things.  What a car it was and far removed from anything on the market.  The damned things body was made of plastic!  We&#8217;ll some sort of poly-resin- that when a grocery cart hit it it bounced off with no damage.  With no USA steel to give it strength, on impact the car crumbled.  Luckily, we never crashed it but traded it it on something or another.  Might have been the Cadillac Sedan De Ville with the horrendous 4-6-8 valve engine- another GM disaster.</p>
<p>Our Fiero was hot red in color with every option known to man, including the fabulous sound system from Bose.  Nothing like Van Halen screaming at you at ten decibels while driving down the highway. A definite babe magnet of a car.  It made you want to live in the fast lane or at least drive in it.</p>
<p>&#160;</p>
<div id="attachment_2361" class="wp-caption aligncenter" style="width: 258px"><img class="size-full wp-image-2361 " title="Pontiac-chief" src="http://ahrcanum.wordpress.com/files/2009/11/pontiac-chief.jpg" alt="" width="248" height="306" /><p class="wp-caption-text">Chief Pontiac, Ottawa Tribe</p></div>
<p>In the spirit of Thanksgiving, Chief Pontiac of the Ottawa Tribe must be glad to know that the spirit of the Pontiac brand of vehicles will go on- in memory at least.  He was quoted as saying, </p>
<p>According to a French chronicler, in a second council Pontiac proclaimed:</p>
<blockquote><p>It is important for us, my brothers, that we exterminate from our lands this nation which seeks only to destroy us. You see as well as I that we can no longer supply our needs, as we have done from our brothers, the French&#8230;. Therefore, my brothers, we must all swear their destruction and wait no longer. Nothing prevents us; they are few in numbers, and we can accomplish it.   Peckham, <em>Indian Uprising</em>, 119–20; Dixon, <em>Never Come to Peace</em>, 109. via  <a href="http://en.wikipedia.org/wiki/Chief_Pontiac#cite_note-8">http://en.wikipedia.org/wiki/Chief_Pontiac#cite_note-8</a></p></blockquote>
<p>It didn&#8217;t turn out so good for the Indians being forced to reservations, but in the long run some tribes are probably more financially stable than the U.S. government,  thanks to good fiscal policy and casino&#8217;s.</p>
<p>Ironically enough, the Pontiac Silverdome was sold this month for $583,000 USD to a Toronto, Canadadian businessman. Completed in 1975 as the Pontiac Metropolitan Stadium, at a cost of $55.7 million, the Silverdome seats 80,311. It contains 102 luxury suites and 7,384 club seats. more at <a href="http://en.wikipedia.org/wiki/Pontiac_Silverdome">http://en.wikipedia.org/wiki/Pontiac_Silverdome</a></p>
<p>&#8220;While still not sure what he&#8217;ll ultimately do with the stadium, adjacent fieldhouse and 127 acres of land, Apostolopoulos said he&#8217;d like to return it to being a place that hosts football, soccer, hockey and basketball as well as concerts.  &#8220;People today like sports so we have to keep it for sports events,&#8221; he said. &#8220;Whatever they like, we&#8217;ll do.&#8221; But Apostolopoulos said the zoning does allow for the tearing down of the stadium and the building of houses, apartments or almost any other kind of construction.&#8221; <a href="http://www.thestar.com/sports/article/729769--toronto-developer-snaps-up-vacant-pontiac-silverdome">http://www.thestar.com/sports/article/729769&#8211;toronto-developer-snaps-up-vacant-pontiac-silverdome</a></p>
<p>At less than $5000 USD an acre that was a good deal for any pilgrim. </p>
<p>™©® by repective owners.</p>
<p>  <img title="flag tounge" src="http://ahrcanum.files.wordpress.com/2009/06/flag-tounge.jpg?w=114&#038;h=160#38;h=160&#38;h=160" alt="flag tounge" width="114" height="160" /></p>
<p>Open wide, say ahhh and check out more posts from Ahrcanum including our Swine Flu report that started  in April and is updated regularly at <a href="http://ahrcanum.wordpress.com/swine-flu-report/">http://ahrcanum.wordpress.com/swine-flu-report/</a></p>
<p><strong>SUBSCRIBE NOW for further updates in the top right margin.</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DATEADD ()]]></title>
<link>http://firebirdlikebrasil.wordpress.com/2009/11/26/dateadd/</link>
<pubDate>Thu, 26 Nov 2009 10:49:00 +0000</pubDate>
<dc:creator>exodusthesmith</dc:creator>
<guid>http://firebirdlikebrasil.wordpress.com/2009/11/26/dateadd/</guid>
<description><![CDATA[DATEADD DATEADD (&lt;quantidade&gt; &lt;unidade&gt; TO [&lt;tipo&gt;] &lt;valor&gt;) &lt;quantidade]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><font face="tahoma"><b>DATEADD</b></font> </p>
<pre>DATEADD (&#60;quantidade&#62; &#60;unidade&#62; TO [&#60;tipo&#62;] &#60;valor&#62;)

&#60;quantidade&#62; = Quantidade de dias, meses, anos, horas, etc. a ser adicionado na data
&#60;unidade&#62; = YEAR &#124; MONTH &#124; DAY &#124; HOUR &#124; MINUTE &#124; SECOND &#124; MILLISECOND
<!--tipo-->[&#60;tipo&#62;] = Somente é obrigatório caso o valor seja inserido manual, e não proveniente de uma variável ou coluna do banco. Pode ser DATE, TIME ou TIMESTAMP
&#60;valor&#62; = A data ou hora ou ambos</pre>
<p><font face="tahoma"><br />
    <br />Exemplo: </p>
<p></font><font face="Courier New"></font></p>
<pre>SELECT cliente.nome, cliente.nascimento, DATEADD (4 YEAR TO cliente.nascimento)
FROM cliente

SELECT cliente.nome, cliente.nascimento, DATEADD (4 YEAR TO DATE ‘1974/10/21′)
FROM cliente</pre>
</p>
<p>No segundo caso, como o valor não provém de uma coluna ou variável, deve-se dizer ao banco o tipo do dado. </p>
<p>O comando pode ser usado como no WHERE, SELECT, CASE, GROUP, ETC.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Split]]></title>
<link>http://firebirdlikebrasil.wordpress.com/2009/11/24/split/</link>
<pubDate>Tue, 24 Nov 2009 19:05:05 +0000</pubDate>
<dc:creator>exodusthesmith</dc:creator>
<guid>http://firebirdlikebrasil.wordpress.com/2009/11/24/split/</guid>
<description><![CDATA[O objetivo desta função é separar valores de um string, retornando registros separados para cada uma]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>O objetivo desta função é separar valores de um string, retornando registros separados para cada uma.</p>
<p><strong>Ex:</strong></p>
<p>SELECT *   <br />FROM P_SPLIT (‘joao, maria, paulo, vanessa, claudia, marcos’, ‘,’)</p>
<p><strong>Retorna:</strong></p>
<p>joao   <br />maria    <br />paulo    <br />vanessa    <br />claudia    <br />marcos</p>
<pre style="font-family:courier new;">CREATE PROCEDURE P_SPLIT (
    itexto VARCHAR(4000),
    iseparador CHAR(1))
RETURNS (
    osplit VARCHAR(20))
AS
/*
* Autor:        Fabricio
* Data:         2009/11/23
* Desc:         Simula a função split comum nas linguagens de programação
* Parâmetros:
*   @itexto         String contendo o texto que irá ser separado
*   @iseparador     Caracter que será utilizado para separar o texto recebido
*/
DECLARE VARIABLE vtexto VARCHAR(4000);
DECLARE VARIABLE vposicao INTEGER;
DECLARE VARIABLE vposicao_inicial INTEGER;
DECLARE VARIABLE vsplit VARCHAR(4000);
BEGIN
    vtexto = itexto;
    vposicao_inicial = 1;
    vposicao = 1;

    IF (iseparador IS NULL OR itexto IS NULL OR iseparador = '') THEN
    BEGIN
        -- Sai da função sem executar
    END
    ELSE
    BEGIN
        WHILE (CHAR_LENGTH(vtexto) &#62; 0) DO
        BEGIN
            vposicao = POSITION (:iseparador, vtexto, vposicao_inicial);
            IF (vposicao &#60;= 0) THEN
            BEGIN
                vsplit = SUBSTRING (:vtexto FROM :vposicao_inicial FOR
                        CHAR_LENGTH (:vtexto) - vposicao_inicial + 1);
                IF (NOT :vsplit IS NULL AND NOT :vsplit = '') THEN
                BEGIN
                    osplit = :vsplit;
                    SUSPEND;
                END
                BREAK;
            END
            vsplit = SUBSTRING (:vtexto FROM :vposicao_inicial
                    FOR :vposicao - vposicao_inicial);
            IF (NOT :vsplit IS NULL AND NOT :vsplit = '') THEN
            BEGIN
                osplit = :vsplit;
            END
            vsplit = NULL;
            vposicao_inicial = :vposicao + 1;
            SUSPEND;
        END
    END
END</pre>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=34ccf04b-ee2e-871d-b036-76d122b690be" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[עבודה עם מסדי נתונים בצורה פחות כואבת חלק ראשון]]></title>
<link>http://idkn.wordpress.com/2009/11/18/less-painful-work-with-databases-first-part/</link>
<pubDate>Wed, 18 Nov 2009 18:00:20 +0000</pubDate>
<dc:creator>ik_5</dc:creator>
<guid>http://idkn.wordpress.com/2009/11/18/less-painful-work-with-databases-first-part/</guid>
<description><![CDATA[אזהרה: מדריך זה מאוד ארוך (5 דפים מלאים עם תמונות וקוד). כמעט כל מתכנת מגיע לשלב שהוא (או היא) צריכי]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div style="text-align:center;"><strong>אזהרה: מדריך זה מאוד ארוך (5 דפים מלאים עם תמונות וקוד)</strong>.</div>
<div style="text-align:center;"><a href="http://idkn.wordpress.com/files/2009/11/authors.png"><img class="size-medium wp-image-2530 alignnone" title="טבלת authors" src="http://idkn.wordpress.com/files/2009/11/authors.png?w=300" alt="טבלת authors" width="300" height="108" /></a></div>
<p>כמעט כל מתכנת מגיע לשלב שהוא (או היא) צריכים לטפל במסדי נתונים. כיום יש 3-4 גישות עבודה מקובלות עם מסדי נתונים:</p>
<ol>
<li>עבודה ישירה מול מסד נתונים ספציפי לפי API של היצרן</li>
<li>עבודה עם ספרייה שמאגדת פונקציות דומות עבור מבחר מסדי נתונים</li>
<li>מימוש עצמי של מסד נתונים (יש חברות בתעשייה שעושות טעויות כאלו)</li>
<li>עבודה עם כלי ORM אשר מנסות להשכיח את העבודה שיש מסד נתונים ומנסה לספק יכולת לעבוד כמה שיותר בתחביר של השפה בה אנחנו עובדים.</li>
</ol>
<p>האפשרות השלישית שציינתי קיימת בעיקר בחברות בינוניות וגדולות, אבל היא יחסית זניחה.</p>
<p>דלפי וכיום לזרוס כבר בשנות ה 90 הבינו כי נדרש שינוי משמעותי בעבודה עם מסדי נתונים, והם מספקים משהו שהוא חצי אפשרות השנייה וחצי האפשרות הרביעית ברשימה (משהו ביניים, שהוא בין שפה טבעית לבין API אחיד לכל מסדי הנתונים).</p>
<p>הבסיס הזה נקרא TDataset. הבסיס מאפשר לנו לקבל דבק אחיד של פעולות מבוססות מסדי נתונים, כאשר כל מה שאנחנו צריכים להחליף זו האפשרות של מה מנוע מסד הנתונים אליו אנחנו רוצים להתחבר. ופוסט זה עוסק בנושא הזה בצורה הפשוטה ביותר ללא נגיעה בכמעט כל האפשרויות ש Dataset מאפשר לנו לבצע.</p>
<p>בגדול מאוד בלי להיכנס יותר מידי לנושא, TDataset מאפשר לנו לדעת על המצב הנוכחי של טבלה/שאילתא (איזו פעולה היא ביצעה/ביקשה לבצע), אפשרות ליצור טבלה, אינדקסים ויחסי גומלין בין טבלאות, הכל באמצעות תחביר פסקל ולא דרך שימוש בשאילתות שאנחנו כותבים. אפשר לשלוט ברמה גבוהה יותר במה כל שדה עושה, כולל יחסי גומלין בין טבלאות גם כאשר מנוע מסד הנתונים לא תומך בזה (כדוגמת SQLite). אבל כאמור זה ממש בגדול בלי להיכנס כיצד עושים את זה.<!--more--></p>
<p>אז איך נתחיל בעבודה שלנו בלזרוס עם שימוש במסד נתונים עם כמה שפחות כאב ? ובכן נתחיל <a href="http://idkn.wordpress.com/2009/11/14/installing-packages/">בהתקנת החבילה</a> (במידה ולא עשיתם את זה) בשם <a href="http://wiki.freepascal.org/SQLdb_Package">SQLDBLaz</a>.</p>
<p><a href="http://idkn.wordpress.com/files/2009/11/data-access.png"><img class="alignright size-thumbnail wp-image-2497" title="לשונית data access" src="http://idkn.wordpress.com/files/2009/11/data-access.png?w=150" alt="לשונית data access" width="277" height="37" /></a>לאחר שלזרוס חזר לנו מההתקנה, ניצור פרוייקט חדש בשם my_blog (הרי כל המדריכים כיום למסדי נתונים מלמדים להקים blog, אז למה לא אני ? אל תדאגו לא ניצור במדריך זה אתר). ונוסיף לו מלשונית הרכיבים שלנו את ‎TDatasource הממוקמת בלשונית Data Access. הפקד מופיע עם צלמית של מסד נתונים עם הרבה חצים (הפקד השמאלי ביותר בתמונה).</p>
<p>במידה ויש אצלכם פחות רכיבים בלשונית, זה בסדר. אצלי מותקנים רכיבים נוספים שלא מותקנים בברירת מחדל בלזרוס ובחלקם ניגע בפוסטים הבאים.</p>
<p>לפני שנמשיך חשוב לי להסביר מה בעצם הולך להיות מהנקודה הזו.ישנם הרבה צורות חיבור למסדי נתונים, והרבה מימושים. רובם מתבססים על ה API של TDataset (שהוא רחב יותר מאשר מחלקה אחת), אבל מציעים צורות עבודה שונות. הפקדים של SQLDBLaz משתמשים ב API שמגיע עם FPC עבור מסדי נתונים למשל, בעוד ש FIBComponents יוצר API משל עצמו עבור Firebird אבל עדיין משתמש ב API של TDataset. בנוסף ל SQLDBLaz יש תמיכה בעוד מסדי נתונים שונים בצורות אחרות בלזרוס שאפשר להתקין, כך שאנחנו לא באמת מחוייבים להשתמש רק בגישה אחת בלבד. כמו כן, ישנה ספרייה בשם ZeosDB (אשר לא נתמכת כראוי לדעתי האישית ב64 ביט), שהיא ספרייה צד שלישי לObject Pascal שעובדת עם כמה מהדרים, והרבה משתמשים בה, וגם היא תומכת ב TDataset.</p>
<p>עכשיו ניגש<a href="http://idkn.wordpress.com/files/2009/11/database_transactions.png"><img class="alignright size-thumbnail wp-image-2511" title="טרנזאקציות של מסד הנתונים" src="http://idkn.wordpress.com/files/2009/11/database_transactions.png?w=108" alt="טרנזאקציות של מסד הנתונים" width="108" height="150" /></a> ללשונית של SQLDb <a href="http://idkn.wordpress.com/files/2009/11/sqldb1.png"><img class="alignleft size-thumbnail wp-image-2510" title="לשונית sqldb" src="http://idkn.wordpress.com/files/2009/11/sqldb1.png?w=150" alt="לשונית sqldb" width="150" height="22" /></a>ונבחר את החיבור למסד הנתונים שלנו. אני אישית עובד עם <a href="http://idkn.wordpress.com/2009/05/05/a-first-release-of-my-un-quick-start-guide-for-firebird-sql-in-hebrew/">firebird</a>. לאחר שבחנו את מסד הנתונים שלנו, נבחר את פקד הטרנזאקציות, ונחבר אותו אל מסד הנתונים שלנו (נוכל לבחור את זה בצורה גרפית ב Object Inspector).</p>
<p>העיקרון של SQLDB הוא שאנחנו תמיד נעבוד עם טרנזאקציות, ובמקרה של Firebird, אנחנו בכל מקרה מחוייבים מכורח צורת העבודה של מסד הנתונים. יותר מאוחר בפוסט נראה איך נשתמש ברכיב זה.<a href="http://idkn.wordpress.com/files/2009/11/sqlquery_object_inspector.png"><img class="alignleft size-thumbnail wp-image-2513" title="רכיב השאילתא" src="http://idkn.wordpress.com/files/2009/11/sqlquery_object_inspector.png?w=108" alt="רכיב השאילתא" width="108" height="150" /></a></p>
<p>הגדרות נוספות שנעשה במסד הנתונים הם הגדרת מסד הנתונים (במידה ומדובר ב firebird נגדיר או את מיקום מסד הנתונים או את ה alias שלו), נגדיר את כתובת שרת מסד הנתונים (אלא אם מדובר ב SQLite3), משתמש וסיסמה להתחבר ויש לנו חיבור מלא של מסד הנתונים שלנו.</p>
<p>עכשיו נוסיף שאילתא לרשימת הרכיבים שלנו. נחבר את השילתא למסד הנתונים ונראה שהוא גם לקח את ההגדרות של הטרנזאקציות שלנו.</p>
<p>ניצור למסד הנתונים שלנו טבלה (מחוץ ללזרוס כרגע) בשם authors:</p>
<div dir="ltr"><code>CREATE TABLE AUTHORS<br />
(<br />
ID Integer NOT NULL,<br />
NAME Varchar(255),<br />
CAN_AUTHOR "BOOLEAN" DEFAULT 1,<br />
ADDED Timestamp DEFAULT CURRENT_TIMESTAMP  NOT NULL,<br />
CHANGED Timestamp DEFAULT CURRENT_TIMESTAMP  NOT NULL,<br />
PRIMARY KEY (ID)<br />
);</code></div>
<p>כמובן שתשנו את זה בהתאם למסד הנתונים שלכם (אני מספק בסוף הפוסט קובץ להורדה עם הקוד כולל ה SQL המלא).</p>
<p>לאחר היצירה, נכתוב ברכיב השאילתא שלנו ב&#8221;תכונה&#8221; של SQL (בלבד) את הקוד הבא:<a href="http://idkn.wordpress.com/files/2009/11/select-sql-statment-property.png"><img class="alignright size-thumbnail wp-image-2514" title="שאילתת select" src="http://idkn.wordpress.com/files/2009/11/select-sql-statment-property.png?w=150" alt="שאילתת select" width="150" height="88" /></a></p>
<div dir="ltr"><code><strong>SELECT</strong> ID, NAME, CAN_AUTHOR, ADDED, CHANGED <strong>FROM</strong> AUTHORS</code></div>
<p>ואז נלך לרכיב של Datasource ונספק לו את רכיב השאילתא שלנו ונשמור את השינויים.</p>
<p>לפני שאמשיך יש כמה דברים שחשוב לי אפשר לפתוח חיבור ישיר למסד הנתונים שלנו בזמן תכנון ! מאוד מומלץ לא לעשות את זה למעט הצורך שלנו בזמן<a href="http://idkn.wordpress.com/files/2009/11/query-edit-fields.png"><img class="alignleft size-thumbnail wp-image-2524" title="עריכת שדות" src="http://idkn.wordpress.com/files/2009/11/query-edit-fields.png?w=150" alt="עריכת שדות" width="150" height="135" /></a> התכון לדברים ספציפיים. במקום זה נכתוב 2 שורות קוד שיפתחו ויסגרו בשבילנו את החיבור בזמן ריצה במקום בזמן תכנון.</p>
<p><a href="http://idkn.wordpress.com/files/2009/11/add-fields.png"><img class="alignright size-thumbnail wp-image-2525" title="הוספת שדות" src="http://idkn.wordpress.com/files/2009/11/add-fields.png?w=138" alt="הוספת שדות" width="138" height="150" /></a>כרגע נפעיל את החיבור של מסד הנתונים על ידי העברת ערך של Connected ל true (לחיצה כפולה עושה את העבודה). וניגש לרכיב השאילתא שלנו ונפעיל גם אותה עם התכונה Active בערך של true.</p>
<p>לחיצה כפולה על פקד השאילתא שלנו (או לחיצה על מקש ימני והפעלת הערך הראשון בתפריט: Edit Fields) בשביל לערוך שדות.</p>
<p>בברירת מחדל נקבל חלון לבן (תלוי בצבעי המערכת שלכם) וריק.  נלחץ על מקש ימני ונבחר את האפשרות Add Fields, ואז נסמן ונבחר את כולם (לחיצה על ID ואז לחיצה על מקש ה Shift ולחיצה על שדה הChanged) ועל OK. ועכשיו חלון עריכת השדות שלנו מלא בשדות.</p>
<p>הפעולה הבאה שנעשה היא ללכת ל ID ולסמן את התכונה של Readonly ל true ונשים False לתכונה Required. אנחנו עושים זאת בשביל להזין את הערך שלו בצורה &#8220;אוטומטית&#8221; במסד הנתונים (במקרה של Firebird מדובר בTrigger). במידה ולא נבצע את הצעדים האלו, כאשר נרצה לשמור רשומה חדשה, נקבל חריגה (Exception) שלא ציינו ערך לשדה שהוא חובה (מאוחר יותר נראה למה).</p>
<p>אותו הדבר נעשה גם לשדות Added ו Changed היות וגם אותם אני משנה עם טריגרים במקום ידנית ולא נזין את הערכים ידנית אצלנו.</p>
<p>במידה ולא הינו רוצים לקחת את ה ID (אנחנו זקוקים לו, אבל לא אסביר בחלק זה למה), לא היינו צריכים לעשות את צעד הוספת השדות, אבל מומלץ בחום כן לעשות זאת. את השדות של Added ו Changed הוספנו בשביל לימוד נטו ולא מעבר לפחות כרגע.</p>
<p>שימו לב שהוספת השדות קובעת איך לזרוס ורכיבים שונים בלזרוס יתנהגו לכל שדה, גם אם ההתנהגות שונה לגמרי מההתנהגות המקורית שמוגדרת במסד הנתונים עצמו. במדריך הבא נראה את זה מגיע לידי ביטוי. אנחנו גם יכולים להסתיר ככה שדות בצורה וויזואלית במידה ואנחנו משתמשים ברכיב כדוגמת Grid (רשת), במקום להציג את השדה, אך לא אכנס לזה במדריך זה.</p>
<p><a href="http://idkn.wordpress.com/files/2009/11/data-controls-tab.png"><img class="alignright size-thumbnail wp-image-2527" title="טאב data controls" src="http://idkn.wordpress.com/files/2009/11/data-controls-tab.png?w=150" alt="טאב data controls" width="150" height="17" /></a>ועכשיו מתחילה העבודה עם פקדים גרפיים. ניגש ללשונית של Data Control. חשוב לדעת לפני שנמשיך שהפקדים הגרפיים של Data Control כמעט לגמרי זהים לפקדים &#8220;הרגילים&#8221; שיש לנו (למעט 2 פקדים ספציפיים שנגע בהם במדריך הבא), עם שינוי אחד: הם יודעים לעבוד עם ‎TDataset  ולעקוב אחריו וגם לשתף פעולה איתו בצורה שהיא אוטומטית עבורינו, ובכך הם חוסכים לנו עבודה. אך במידה והם לא עונים על הגמישות שאנחנו צריכים, תמיד אפשר לעבוד עם פקדים רגילים, ולעבוד &#8220;קשה יותר&#8221; לעשות את הקישור בצורה תכנותית, או <a href="http://idkn.wordpress.com/2008/10/13/%D7%99%D7%A6%D7%99%D7%A8%D7%AA-%D7%A8%D7%9B%D7%99%D7%91-%D7%97%D7%93%D7%A9-%D7%91%D7%9C%D7%96%D7%A8%D7%95%D7%A1-%D7%97%D7%9C%D7%A7-%D7%A8%D7%90%D7%A9%D7%95%D7%9F/">ליצור</a> פקדים משל עצמנו.</p>
<p>בטאב, נזרוק את הרכיב TDBNavigator . תפקיד הרכיב הוא לתת לנו פעולות &#8220;מוכרות&#8221; אשר חוזרות על עצמן בDataset שלנו. כרגע אנחנו נוסיף לו את ה Datasource שלנו ונגיד לתכונה של align להיות alTop. כך הפקד ייושר כלפי מעלה, וכל שינוי בגודל החלון שלנו ישנה גם את הפקד הזה. בנוסף ב Visible Buttons נעיף את התמיכה בDelete (אני לא אוהב למחוק פיזית ממסד נתונים, אלא רק להסתיר אותם בברירת מחדל ולסמן אותם פנימית כ&#8221;מחוקים&#8221;). ואלו כרגע כל הפעולות שנעשה עם הפקד הזה.</p>
<p>נלך לטאב הראשון (Standard) ונוסיף עכשיו 2 פקדי TLabel  ונחליט שהם נמצאים ב Left 8. נוכל לעשות את זה לשניהם בייחד אם נבחר אחד, ואז נלחץ על shift ונבחר את השני,  ואז נלך לתכונה של left ונכתוב שם 8. אפשר לבחור גם עם העכבר עם מקש שמאלי לחוץ וגרירה של הסמן. ודרכים נוספות, שאתן לכם לגלות לבד, ולהחליט מה נוח לכם.</p>
<p>עכשיו נלך לתווית ההראשונה, ונכתוב לה &#8220;Name&#8221; בתכונה של Caption. ונעבר לתווית הבאה, ונכתוב שם &#8220;Can Author&#8221; בתכונה של Caption. וסיימנו לעבוד עם הפקדים האלו, למרות שאפשר לספק להם עוד יכולת שלא אכנס אליה במדריך זה, והיא לתת פוקוס לרכיב שיכול לקבל פוקוס על ידי תכונה בשם FocusControl אבל לא אכנס לזה במדריך זה.</p>
<p>עכשיו נחזור לטאב של Data Control ונבחר את הפקד TDBEdit ונשים אותו ליד התווית הראשונה. וTDBCheckBox ליש התווית השניה. עכשיו נמחק את ה Caption של TDBCheckBox (אני מחפש מראה אחיד שלא נוכל לקבל אם נשתמש בCaption של הפקד).</p>
<p>לאחר מכן נבחר גם את הרכיבים של הDBEdit וגם את DBCheckbox בייחד, ונשים להם בתכונה של Datasource את ה Datasource שלנו. עכשיו נבחר כל אחד בנפרד, ונתן להם את השדה המתאים (כלומר ל DBEdit ניתן את השדה Name ול DBCheckbox ניתן את Can_Author).</p>
<p>בDBCheckBox יש גם את 2 התכונות: ValueChecked ו ValueUnChecked. נשים בראשון את הערך 1 ובשני את הערך 0. במידה ונרצה להיות צדיקים נלך גם לSQLQuery1CAN_AUTHOR (השדה שיצרנו בצורה וויזואלית) ונספק לו MinValue של 0 ו MaxValue של 1, אבל לא חייבים.</p>
<p>עוד 2 צעדים ונוכל להריץ את התוכנה שלנו !!!</p>
<p>הצעד הבא יהיה להוסיף מטאב הAdditional את כפתור ה TBitBtn. יש לכפתור הזה 3 תכונות שאנחנו נרצה אותם:</p>
<ol>
<li>יכולת להציג תמונות</li>
<li>לקבל פוקוס (בניגוד לאחיו שנקרא TSpeedButton)</li>
<li>הוא מסוגל לבצע פעולות בלי שנכתוב לו קוד.</li>
</ol>
<p>לאחר ששמנו אותו על החלון, נלך לתכונה Kind ונגיד לו bkClose. לאחר מכן נלך לתכונה ModalResult ונגיד לו להיות mrOK. נראה שיש לנו תמונה של Close וטקסט בהתאם. זה מה ש bkClose סיפק לנו. הModalResult מאפשר לנו מאוחר יותר ליצור מהחלון שלנו דיאלוג שתופס את הפוקוס מעל שאר החלונות וכשהוא נסגר, הוא מחזיר ערך של mrOK. עוד תכונה ש Kind עשה בשבילו היא, שבמידה ונלחץ על הכפתור בזמן ריצה הוא יעשה עבורינו את הפעולה Close בלי שנכתוב קוד בשביל זה.</p>
<p>עכשיו נריץ את התוכנה שלנו וננסה להזין נתונים (אם סגרתם את החיבור של מסד הנתונים ו/או השאילתא, אנא פתחו אותם לפני הריצה, או שהפקדים לא יהיו פעילים בזמן הריצה) <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>במידה ואין בעיות כ<a href="http://idkn.wordpress.com/files/2009/11/object-inspector-events.png"><img class="alignright size-thumbnail wp-image-2529" title="אירועים בobject inspector" src="http://idkn.wordpress.com/files/2009/11/object-inspector-events.png?w=108" alt="אירועים בobject inspector" width="108" height="150" /></a>י עקבנו אחרי ההוראות, נלחץ על כפתור ה Close ונראה שהוא עובד. עכשיו נריץ שוב את התוכנית שלנו ונגלה דבר מעצבן, המידע שעבדנו עליו מקודם לא נשמר ! כמו שאמרתי מקודם, אנחנו עובדים עם טרנזאקציות, ואנחנו צריכים להגיד לחיבור שלנו לשלוח את הפעולות שלנו (זה יכול להתבצע אפילו לפני סגירת החחלון, כלומר לשלוח את השינויים שעשינו בפעם אחת), ולכן לא נשלחו השינויים פיזית למסד הנתונים בלי שנגיד להם במפורש לעשות זאת. עכשיו נתחיל לכתוב קצת קוד. נלך לפקד השאילתא שלנו ונבחר בטאב האירועים ונבחר את האירוע AfterPost ונלחץ עליו 2 לחיצות מהירות (הדרך המהירה לעשות את זה). ושם נכתוב את הקוד הבא (מסומן בקו תחתי):</p>
<div dir="ltr"><code>procedure TForm1.SQLQuery1AfterPost (DataSet : TDataSet );<br />
begin<br />
<span style="text-decoration:underline;">SQLQuery1.ApplyUpdates;<br />
SQLTransaction1.CommitRetaining;</span><br />
end;</code></div>
<p>וכן נלך ל Object Inspector חזרה לתכונות ונגיד לו UpdateMode לשים את הערך upWhereChanged.</p>
<p>כל מה שעכשיו נשאר לנו לעשות זה לסגור את החיבורים במצב תכנון, ולפתוח ולסגור אותם בזמן ריצה. את זה נעשה עם האירועים של החלון עצמו. נלחץ על החלון עצמו ונלך ב Object Inspector אל Events . ונבחר את האירוע של OnClose.</p>
<p>שם נסגור את החיבורים שלנו בצורה הבאה (הקוד עם הקו התחתי):</p>
<div dir="ltr"><code>procedure TForm1.FormClose (Sender : TObject ; var CloseAction : TCloseAction );<br />
begin<br />
<span style="text-decoration:underline;">if Datasource1.State in [dsEdit, dsInsert] then<br />
begin<br />
SQLQuery1.ApplyUpdates;<br />
SQLTransaction1.CommitRetaining;<br />
end;<br />
SQLQuery1.Close;<br />
IBConnection1.Close;</span><br />
end;</code></div>
<p>שורת ה if בודקת האם כרגע השאילתא שלנו היא במצב של הוספת ערכים או עריכתם. במקרה שכן אנחנו נשמור את השינויים (מומלץ לפני כן לשים חלון שישאל, אבל לא נעשה את זה בחלק זה). לאחר מכן, אנחנו סוגרים קודם את החיבור של השאילתא ורק אז את החיבור של מסד הנתונים.</p>
<p>לאחר מכן, נלחץ 2 לחיצות על החלון שלנו ונקבל אירוע חדש (ברירת מחדל) של יצירת החלון ושם ניצור את הפתיחה שלנו:</p>
<div dir="ltr"><code>procedure TForm1 .FormCreate (Sender : TObject );<br />
begin<br />
<span style="text-decoration:underline;">IBConnection1.Open;<br />
SQLQuery1.Open;</span><br />
end;</code></div>
<p>כאן אנחנו פותחים קודם כל את החיבור של מסד הנתונים ואז את החיבור של השאילתא שלנו.</p>
<p>וזהו יש לנו תוכנה מוכנה שמציגה, מוסיפה ומעדכנת רשומות עבור טבלה מסויימת.</p>
<p>אם תשרישו את הפעולות האלו בעבודה שלכם, תראו שהם ממש פשוטות ומהירות לביצוע ולוקח לכם פחות מ5 דקות לעשות את כל מה שהמדריך הזה מציג.</p>
<p>להורדת הקוד המלא של החלק הזה, לחצו <a href="http://ik.homelinux.org/projects/files/my_blog_1.tar.gz">כאן</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Let's GO! Fubar and Firebird November 17 - December 4]]></title>
<link>http://iamnotatest.wordpress.com/2009/11/17/lets-go-fubar-and-firebird-november-17-december-4/</link>
<pubDate>Tue, 17 Nov 2009 15:33:27 +0000</pubDate>
<dc:creator>iamnotatest</dc:creator>
<guid>http://iamnotatest.wordpress.com/2009/11/17/lets-go-fubar-and-firebird-november-17-december-4/</guid>
<description><![CDATA[You Know, a Funny Thing Happened to Me&#8230; I was thinking of my cousin&#8217;s band yesterday, He]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>You Know, a Funny Thing Happened to Me&#8230;</strong></p>
<p>I was thinking of my cousin&#8217;s band yesterday, <a href="http://www.myspace.com/hewhodredz">He Who Dredz</a>, who I know have a show coming up on the twenty-eighth of November, when I realized: I didn&#8217;t know at what time or where they were playing.</p>
<p>I thought they were playing at Pop&#8217;s. I was wrong.</p>
<p>Which, incidentally, is how I came to know of <a href="http://www.fubarstl.com/">Fubar</a>, in Midtown Alley, and of <a href="http://www.firebirdstl.com/">Firebird</a>, in St. Louis, which I will, from now on, bring to you news of upcoming shows from both monthly.</p>
<p>Billed the &#8220;Best All-Ages Venue,&#8221; by the Riverfront Times, <a href="http://maps.google.com/maps?lsm=1&#38;daddr=3108+Locust+St,+Saint+Louis,+MO+63103-1205+%28Fubar%29&#38;geocode=CSL5iFlbcDvkFRmKTQIdtkmf-iFE0UFwh3pu8A&#38;dirflg=&#38;saddr=209+South+Kingshighway+St.+Charles,+MO+63301&#38;vps=1&#38;f=li&#38;hl=en&#38;dq=Fubar+loc:+3108+Locust+St,+St+Louis,+St.+Louis+City,+Missouri+63103&#38;jsv=188a&#38;sll=38.636085,-90.223917&#38;sspn=0.006295,0.006295">Fubar is located in in the historic district between Compton and Cardinal at 3108 Locust, St. Louis, MO 63103.</a></p>
<p>Firebird, on the other hand, bills itself as &#8220;St. Louis&#8217; Best New Music Lounge. Firebird used to be known as Bluebird, before it closed for a few weeks in January for upgrades, and was reopened as Firebird. It is located close to Fubar, at <a href="http://maps.google.com/maps?lsm=1&#38;daddr=2706+Olive+St,+St+Louis,+MO+63103&#38;geocode=CVnN8MJpoONYFYuBTQIdgWOf-ikZBPMHXbPYhzFtI13Lvxu7tg&#38;dirflg=&#38;saddr=209+South+Kingshighway+St.+Charles,+MO+63301&#38;vps=1&#38;f=li&#38;hl=en&#38;jsv=188a&#38;sll=38.643825,-90.21286&#38;sspn=0.023463,0.049953">2706 Olive Street, St. Louis, MO 63103.</a></p>
<p>Both, while closer to Lindenwood than Pop&#8217;s, are also farther away than The Pageant, but unlike either Pop&#8217;s or The Pageant, cater exclusively (so far as the schedules say) to local and underground talent. You&#8217;re not going to see Megadeth or Skillet here, as you would at the other two.</p>
<p>Of course, this also means that prices are more manageable, for the Broke-Ass College Student (BACS) budget that&#8217;s usually got us up against the financial wall.</p>
<p>As well, it gets us away from the mainstream tractor beam that always seems to hold us in such awe. (I am, sadly, within firm grasp of it.)</p>
<p><strong>Situation: FUBAR</strong></p>
<p>The shows at the Fubar include:</p>
<ul>
<li>Tuesday, November 17, 2009: FREE Acoustic Show in Lounge, featuring Stian Skaaden, <a href="http://www.myspace.com/vinopalmusic">Mike Vinopal</a>, Pat Baum, Morgan Nusbaum of The 75, Jon Dittmer, and Riley James</li>
</ul>
<ul>
<li>Wednesday, November 18, 2009: Auternus, Latin, Lesser Key, SOMA, N.Nomurai, + guest</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/CRmH32FcdWM&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/CRmH32FcdWM&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/3Itl5apZalA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/3Itl5apZalA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Thursday, November 19, 2009: <a href="http://www.myspace.com/trestlegorskimusic">Jeff Gorski</a>, Off Course, Katherine Knight, Action Noun Action, Hearts Like Lead, Gay Breakfast, Jesse Ives &#38; Guests</li>
<li>Friday, November 20, 2009: Slave to the MetalFest hosted by Mistress Juliya, featuring Buried Beneath, Deadlife, My Name is a Weapon, Colors From a Cannon, Call Me Goliath, Powerhead, The Ship of Fools, Compelled to Destroy, Hollowed Point Heroes, Bare Knuckle Conflict, Inimical Drive, D-Railed, and Walk of Ignorance</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/kn0ksGzPVrY&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/kn0ksGzPVrY&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/WAXr8wunSDk&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/WAXr8wunSDk&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Saturday, November 21, 2009: Slave to the MetalFest hosted by Mistress Juliya, featuring The Tards, Modern Counter Culture, Mans Laughter, Drag the Dead, Paradigm Grip, Seven Year Existence, Humanities Dusk, Hope Can&#8217;t Save the Dead, Ashes of Scorn, Gigglefit, and Headchange</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/nnNcfOne-1I&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/nnNcfOne-1I&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>7:00 p.m., Monday, November 23, 2009: Dead Swans, Mother of Mercy, Nothing On Nothing, Feeding Lies, and Head For the Mountains</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/YfCGNYswl0w&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/YfCGNYswl0w&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>10:00 p.m., Monday, November 23, 2009: SPEEDWOLF, Zuul, Die Wasted, and Terra Caput Mundi</li>
<li>Tuesday, November 24, 2009: The White Tie Affair, Every Avenue, Stereo Skyline, Runner Runner, and The Chain Gangs of 1974</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/cxyngGPhpNA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/cxyngGPhpNA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Friday, November 27, 2009: November MetalFest featuring Shotgun/Bayonet, Invictus, Scavenger, Lyluth, and more.</li>
</ul>
<ul>
<li>Saturday, November 28, 2009: Days of the New w/ special guests Three Fortys, Bullshed, Take a Number, and Off Course</li>
</ul>
<ul>
<li>Monday, November 30, 2009: Broadcast the Nightmare, Corpus Christi, and Whisteria Cottage + Locals -  Divide the Past and Walk of Ignorance + 1 TBA</li>
<li>Thursday, December 03, 2009: <a href="http://www.captainmidnightband.com/">The Captain Midnight Band</a> and <a href="http://www.myspace.com/patsajakassassins">The Pat Sajak Assassins</a>, with guest</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/v0hY2Bl0tEo&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/v0hY2Bl0tEo&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p><strong>Burn, Baby, Burn</strong></p>
<p>At the Firebird, the performances include:</p>
<ul>
<li>Wednesday, November 18, 2009: Caporetto w/Engine Orchestra, and Tilts</li>
<li>Thursday, November 19, 2009: Daytrotter Presents- <a href="http://www.ezrafurman.com/">Ezra Furman &#38; The Harpoons</a> w/Rachel Goodrich and Peasant</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/G0HvpwTS1xc&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/G0HvpwTS1xc&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Friday, November 20, 2009: <a href="http://www.andersparker.com/">Anders Parker</a> w/Jon Hardy &#38; The Public and The Dive Poets</li>
<li>Saturday, November 21, 2009: Headlights w/Pomegranates and Fractured Army</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/FuLeIjWOwK4&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/FuLeIjWOwK4&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Wednesday, November 25, 2009: <a href="http://www.localh.com/">Local H</a> w/Kinch and One Lone Car</li>
<li>Thursday, November 26, 2009: Grand Buffet w/Celery, Humanoids</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/aTHkAsn9lHk&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/aTHkAsn9lHk&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Friday, November 27, 2009: <a href="http://www.myspace.com/lengrandband">Lengrand</a> w/Pirate Signal, Sleep In Sundays and Falsetto Boy</li>
<li>Saturday, November 28, 2009: EARLY SHOW &#8211; Raising Kane, He Who Dredz, Icon For Hire, Pinkleef, and The Drama Score</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/1bKEYMZ0eag&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/1bKEYMZ0eag&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/h8psQVpKCd4&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/h8psQVpKCd4&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Saturday, November 28, 2009: LATE SHOW &#8211; <a href="http://www.myspace.com/s2r">Season To Risk</a> w/Gold Tooth, and The Unmutuals</li>
<li>Sunday, November 29, 2009: We All Have Hooks For Hands w/Target Market and Tarlton</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/1n2ETXU95r0&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/1n2ETXU95r0&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Tuesday, December 01, 2009: <a href="http://www.myspace.com/hollygolightlyandthebrokeoffs">Holly Golightly and The Brokeoffs</a>, Kentucky Knife Fight, TBA</li>
<li>Wednesday, December 02, 2009: Big D &#38; The Kids Table w/Sonic Boom, BAMF!, and Disturbing Lou</li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/D8oM_-K9rXY&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/D8oM_-K9rXY&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<ul>
<li>Thursday, December 03, 2009: The Gorge, TBA</li>
</ul>
<p>Remember to check both Fubar&#8217;s and the Firebird&#8217;s websites for updates to shows with TBAs or for shows that were unbooked, and thus could not be reported on.</p>
<p>Check back in after December 11 for more shows to see at Fubar and the Firebird for your holiday break. &#8216;Cause there&#8217;s nothing like sampling the local music cuisine!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Zander Jackson's 68' Firebird Restoration]]></title>
<link>http://imreebs.com/2009/11/17/zander-jacksons-68-firebird-restoration/</link>
<pubDate>Tue, 17 Nov 2009 02:51:17 +0000</pubDate>
<dc:creator>imreebs</dc:creator>
<guid>http://imreebs.com/2009/11/17/zander-jacksons-68-firebird-restoration/</guid>
<description><![CDATA[This is my bud Zander&#8217;s 68&#8242; Pontiac Firebird. His brother bought it as a rolling shell o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;">This is my bud Zander&#8217;s 68&#8242; Pontiac Firebird. His brother bought it as a rolling shell on eBay earlier this year. Plans changed for his brother, so Zander took on the project himself. As soon as it was in his possession the restoration process began. The very first thing he did was strip the car down, and had his mechanic fabricate a rotisserie to hold the car up. He took the car up to Indy to have all the surface rust removed in some chemicals. He found a 455 Longblock from a 75&#8242; Grand Prix, ordered a Tremec 5 Speed Transmission, CCW Classics Wheels/Tires, Heidts Front Suspension, Strange Engineering Rear End (373 Gears), Wilwood 4 Piston Calipers, Wilwood 11&#8243; Rotors, QA1 Coilovers, and hes replacing any OEM parts that requires it. He&#8217;s planning on painting it Lambo Grey, and is shitting for 450-500HP N/A. Hes shooting for the car to be done by early 2010 (Jan-Feb). Possibly look out for more updates on the ride! Any questions, shoot them my way.<br />
<img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5002.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5004.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5007.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5009.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5011.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5013.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5014.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5015.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5017.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5018.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5020.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5023.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5024.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5025.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5026.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5030.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5033.jpg" alt="" /></p>
<p style="text-align:center;"><img src="http://i4.photobucket.com/albums/y130/imreebs/reebs%20life%202/IMG_5038.jpg" alt="" /></p>
<p style="text-align:center;">
<p style="text-align:center;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kansas City - St Louis : 247 miles]]></title>
<link>http://bobbylong.wordpress.com/2009/11/16/kansas-city-st-louis-247-miles/</link>
<pubDate>Mon, 16 Nov 2009 21:20:30 +0000</pubDate>
<dc:creator>Muriel LZ (Admin)</dc:creator>
<guid>http://bobbylong.wordpress.com/2009/11/16/kansas-city-st-louis-247-miles/</guid>
<description><![CDATA[La semaine-marathon continue puisque Bobby enchaîne six shows d&#8217;affilée avant de pouvoir se re]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">La semaine-marathon continue puisque <strong>Bobby </strong>enchaîne six shows d&#8217;affilée avant de pouvoir se reposer à San Francisco !</p>
<p style="text-align:center;"><a href="http://fr.tinypic.com" target="_blank"><img class="aligncenter" src="http://i36.tinypic.com/2vuzt5h.jpg" border="0" alt="Kansas City - St Louis" /></a></p>
<p>Ce soir, il sera au &#8220;<em>Firebird</em>&#8221; !</p>
<p style="text-align:center;"><a href="http://www.firebirdstl.com/" target="_blank"><img class="aligncenter" src="http://i33.tinypic.com/dza6c4.jpg" border="0" alt="Cliquez sur la photo pour accéder au Firebird" /></a></p>
<p style="text-align:justify;">Un petit message de <strong>Bobby</strong> avant le show :</p>
<blockquote>
<p style="text-align:justify;">&#8220;<em>Show à St Louis ce soir. Ramenez vos amis, venez me rencontrer&#8230;  A ce soir.&#8221;</em></p>
</blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[FancyTunes Playlist and Listen-Again 14.11.2009]]></title>
<link>http://fancytunes.wordpress.com/2009/11/16/fancytunes-playlist-and-listen-again-14-11-2009/</link>
<pubDate>Mon, 16 Nov 2009 16:30:06 +0000</pubDate>
<dc:creator>fancytunes</dc:creator>
<guid>http://fancytunes.wordpress.com/2009/11/16/fancytunes-playlist-and-listen-again-14-11-2009/</guid>
<description><![CDATA[Hello! Here is the playlist to our new FancyTunes radioshow on SSRadioUK.com You can liste-again or ]]></description>
<content:encoded><![CDATA[Hello! Here is the playlist to our new FancyTunes radioshow on SSRadioUK.com You can liste-again or ]]></content:encoded>
</item>
<item>
<title><![CDATA[Open Source DBMSes are ready to go?]]></title>
<link>http://kadenzercourant.wordpress.com/2009/11/15/open-source-dbmses-are-ready-to-go/</link>
<pubDate>Sun, 15 Nov 2009 21:34:41 +0000</pubDate>
<dc:creator>demakelaar</dc:creator>
<guid>http://kadenzercourant.wordpress.com/2009/11/15/open-source-dbmses-are-ready-to-go/</guid>
<description><![CDATA[Het is feest in open source database land. De laatste tijd ontstaan er steeds meer alternatieven. My]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignright size-thumbnail wp-image-69" title="open source" src="http://kadenzercourant.wordpress.com/files/2009/11/open-source1.png?w=150" alt="open source" width="150" height="129" />Het is feest in open source database land. De laatste tijd ontstaan er steeds meer alternatieven. MySQL, PostgeSQL en FireBird zijn er al een tijdje, maar nieuwe sterren aan het firmament dienen zich aan. Ik noem er maar een paar: <a href="http://www.monetdb.nl/">MonetDB </a>(de column-based open source database, een mooi Nederlands product), <a href="http://couchdb.apache.org/">CouchDB </a>(document georienteerd) en <a href="http://luciddb.org/">LucidDB </a>(speciaal getarget op DWH en BI).</p>
<p>Het interessante is nu dat  de open source markt zelfs winstgevend wordt; er is klaarblijkelijk steeds meer geld mee te verdienen. Althans, dit is de conclusie die ik trek als ik af ga op de bedrijven die professionele ondersteuning bieden op open source databases. Een paar voorbeelden:</p>
<p>MySQL AB doet dit kunstje al sinds jaren. Inmiddels is MySQL van Sun en Sun van Oracle, maar er is een nieuw bedrijf gesignaleerd dat ook professionele ondersteuning gaat bieden: <a href="http://askmonty.org/wiki/index.php/About_Us">Monty</a>.</p>
<p>Ingres zelf biedt <a href="http://www.ingres.com/services/operational-services.php">24&#215;7</a> ondersteuning op haar eigen open source database (hoewel voormalig closed source).</p>
<p>En vandaag <a href="http://www.b-eye-network.com/blogs/adrian/archives/2009/11/dynamodb_is_the.php">lees </a>ik dat LucidDB ogenschijnlijk ook volwassen wordt, nu DynamoDB een commerciele versie gaat leveren.</p>
<p>Zijn dit incidenten of lijkt het toch structureel te worden? Wie gebruikt er al open source databases voor DWH&#8217;s?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The Red Shoes, La Danse, and Maria Tallchief on Film]]></title>
<link>http://dancingperfectlyfree.com/2009/11/10/the-red-shoes-la-danse-and-maria-tallchief-on-film/</link>
<pubDate>Tue, 10 Nov 2009 11:00:22 +0000</pubDate>
<dc:creator>Evan</dc:creator>
<guid>http://dancingperfectlyfree.com/2009/11/10/the-red-shoes-la-danse-and-maria-tallchief-on-film/</guid>
<description><![CDATA[Moira Shearer in &quot;The Red Shoes&quot; NYC’s Film Forum is currently showing two dance films – o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_3610" class="wp-caption alignright" style="width: 248px"><a href="http://dancingperfectlyfree.wordpress.com/files/2009/11/moira-shearer-in-the-red-shoes2.jpg" target="_blank"><img class="size-medium wp-image-3610" src="http://dancingperfectlyfree.wordpress.com/files/2009/11/moira-shearer-in-the-red-shoes2.jpg?w=238" alt="" width="238" height="300" /></a><p class="wp-caption-text">Moira Shearer in &#34;The Red Shoes&#34;</p></div>
<p>NYC’s <a href="http://www.filmforum.org/" target="_blank">Film Forum</a> is currently showing two dance films – one new and one old.  Michael Powell and Emeric Pressburger’s 1948 film “The Red Shoes”, based on Hans Christian Andersen’s tale of shoes that dance the wearer to death, has been newly restored thanks to Martin Scorsese’s Film Foundation and the UCLA Film and Television Archive.  <a href="http://artsbeat.blogs.nytimes.com/2009/11/04/cinema-as-music-martin-scorsese-on-the-red-shoes/" target="_blank">Scorsese recently talked about his lifelong fascination with the film</a>, and this past Sunday, <a href="http://www.nytimes.com/2009/11/08/opinion/08dowd.html?ref=opinion" target="_blank">Maureen Dowd wrote about it</a> in her <em>NY Times </em>Op-Ed column.  <a href="http://www.filmforum.org/films/redshoes.html" target="_blank">Screenings are daily through November 19<sup>th</sup></a>.</p>
<p>Also at Film Forum is Frederick Wiseman’s newest and <a href="http://movies.nytimes.com/2009/11/04/movies/04danse.html?8ur=&#38;emc=ura1&#38;nl=" target="_blank">already highly praised documentary</a>, “La Danse”, which takes a close look at the Paris Opera Ballet as the dancers rehearse and perform seven different works.  Pina Bausch, Angelin Preljocaj, and Rudolph Nureyev are among the choreographers whose ballets are featured.  <a href="http://www.filmforum.org/films/ladanse.html" target="_blank">Screenings are daily through November 17<sup>th</sup></a>.  Film Forum is located at 209 West Houston   Street, between Sixth Avenue and Varick.</p>
<p>This Thursday at <a href="http://www.paleycenter.org/" target="_blank">The Paley Center for Media</a>, <a href="http://www.wordsondance.org/wordsondance.org/Home.html" target="_blank">Words on Dance</a> presents an intimate screening of Maria Tallchief, a former New York City Ballet principal, in conversation with former San Francisco Ballet principal Evelyn Cisneros.  The 1998 film also includes clips of Tallchief dancing in some of her most well-known roles, including <em>Firebird</em>, which George Balanchine created for her.  This event is at 1 PM on November 12<sup>th</sup>, and is free and open to the public.  The Paley Center is located at 25 West 52<sup>nd</sup> Street, at Fifth Avenue.  For more information, call The Paley Center at 212.621.6886.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pantalón Adidas Firebird W]]></title>
<link>http://tiendamanic.wordpress.com/2009/11/09/pantalon-adidas-firebird-w/</link>
<pubDate>Mon, 09 Nov 2009 12:54:23 +0000</pubDate>
<dc:creator>tiendamanic</dc:creator>
<guid>http://tiendamanic.wordpress.com/2009/11/09/pantalon-adidas-firebird-w/</guid>
<description><![CDATA[Un cómodo pantalón de corte recto, confeccionado a base de poliéster brillante, con un suave forro i]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><img class="alignnone size-full wp-image-49" title="Pantalón Adidas Firebird W" src="http://tiendamanic.wordpress.com/files/2009/11/p07765_b.jpg" alt="Pantalón Adidas Firebird W" width="190" height="190" /></p>
<p style="text-align:justify;">Un cómodo pantalón de corte recto, confeccionado a base de poliéster brillante, con un suave forro interior, un cordón en tonalidad de color en la cinturilla ajustable, las 3 bandas haciendo contraste óptico en la pernera y un logo bordado. ¡La prenda ideal para una imagen deportiva e informal!</p>
<p style="text-align:justify;">Material Principal: 100% Poliéster, punto, 220g</p>
<p style="text-align:justify;">Disponible en verde, negro y blanco en:</p>
<p>www.manic.es</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[תשובה לחידה]]></title>
<link>http://idkn.wordpress.com/2009/11/08/answer-to-riddle/</link>
<pubDate>Sun, 08 Nov 2009 09:04:31 +0000</pubDate>
<dc:creator>ik_5</dc:creator>
<guid>http://idkn.wordpress.com/2009/11/08/answer-to-riddle/</guid>
<description><![CDATA[לפני שבוע הצגתי חידה, ועכשיו אספק לה תשובה (שרוב האנשים כבר יודעים אותה). דבר ראשון, מי שמכיר את Fir]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>לפני שבוע <a href="http://idkn.wordpress.com/2009/11/01/riddle-what-does-the-following-code-do/">הצגתי</a> חידה, ועכשיו אספק לה תשובה (שרוב האנשים כבר יודעים אותה).</p>
<p>דבר ראשון, מי שמכיר את Firebird הצליח לנחש שמדובר בחלק מטריגר. במקרה הזה הטריגר מתבצע בעת הוספת רשומה.</p>
<p>הקוד מבצע סדרה חשבונית (סדרה הנדסית, או איזה שם אחר שתרצו לספק) אשר מחזירה על כל פעם שהיא רצה את הערך הבא:</p>
<p>הערך הקודם פלוס הערך הקודם ושומרת אותו ב sequence בתור הערך הבא. כל זה, כל עוד הערך הוא לא 0 או ריק, כי אז הsequence מכיל את הערך 1.</p>
<p>התוצאה הסופית היא סדרה כזו: 1, 2, 4, 8, 16, 32, 64, 128, 512, 1024 &#8230; (דיברתי על 10 הערכים הראשונים).</p>
<p>הפעולה מתבצעת כאמור על ידי פעולת <strong>חיבור</strong> ולא כפל או חזקה (דיאגו).</p>
<p>במקרה הזה כמו שאפשר לראות, השתמשתי בID (כלומר האינדקס) של הטבלה בשביל להכיל את זה, אבל באותה מידה היה אפשר להכיל את זה על כל שדה מספרי אחר.</p>
<p>השימוש ב GEN_ID מספק את הדרך היחידה לגשת ל sequence בגלל שהsequnce חייב להיות מוגן מפני שינויים רנדומליים ורק שינויים שהתכוונו אליהם חייבים להתבצע בצורה שהיא transaction safe, כך שכל טרנזאקציה תוכל לספק ערך חד חד ערכי בלי קשר לשאר החיבורים והטרנזאקציות האחרות בנושא. זו אחת מהדרישות של מבחן ה <a href="http://en.wikipedia.org/wiki/ACID">ACID</a> עבור מסדי נתונים, וכאמור Firebird עובר בציון של 100 את המבחן. הפונקציה ד&#8221;א מעלה את הערך של ה sequence בכמות שאנחנו מספקים לה בפרמטר השני, כך שאם הערך הוא 0, זה בסה&#8221;כ מחזיר את הערך של sequence ולא מבצע פעולת חיבור.</p>
<p>הסיבה שבחרתי דווקא באינדקס כזה ולא באינדקס שהוא מספר בסדר עולה, וכן שימוש בעוד שדה שהוא יכיל את הערך החד חד ערכי, הוא מאוד פשוט. זהו ערך חד חד ערכי שלפיו אני מחפש דברים, ואין לי צורך בעוד נתונים (או מפתחות) בשביל לחפש את הערך הזה, ולכן אין צורך ליצור אינדקס בסדר עולה (או יורד).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Clean, Mean, LS7-Powered Trans Am]]></title>
<link>http://blog.cardomain.com/2009/11/05/clean-mean-ls7-powered-trans-am/</link>
<pubDate>Fri, 06 Nov 2009 00:23:20 +0000</pubDate>
<dc:creator>Jen Dunnaway</dc:creator>
<guid>http://blog.cardomain.com/2009/11/05/clean-mean-ls7-powered-trans-am/</guid>
<description><![CDATA[With all the 2010 Camaro-to-Firebird conversions floating around the show, how come it hasn&#8217;t ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>With all the 2010 Camaro-to-Firebird conversions floating around the show, how come it hasn&#8217;t occurred to someone how awesome a completely updated Bandit-era Trans Am would be? Turns out that it has. This ultra-smooth &#8216;77 was built by <a href="http://www.pinkeesrodshop.com/" target="_blank">Pinkee&#8217;s Rod Shop</a>, and is packing a TRB Performance LS7, 4-wheel Wilwood discs, and one-off billet wheels&#8211;19&#8217;s in back and 18&#8217;s up front. Great, subtle details throughout: I love the Pontiac logo machined into the wheel centers. <a href="http://blog.cardomain.com/2009/11/05/clean-mean-ls7-powered-trans-am/#more-31786">More pics</a>!</p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200377_large.jpg" alt="" width="602" height="451" /></p>
<p><!--more--></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200380_large.jpg" alt="" width="602" height="451" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200383_large.jpg" alt="" width="602" height="366" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200378_large.jpg" alt="" width="572" height="480" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200379_large.jpg" alt="" width="602" height="451" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[תודה ללזרוס שהביאני עד הלום]]></title>
<link>http://idkn.wordpress.com/2009/11/03/thanks-for-lazarus/</link>
<pubDate>Tue, 03 Nov 2009 20:09:20 +0000</pubDate>
<dc:creator>ik_5</dc:creator>
<guid>http://idkn.wordpress.com/2009/11/03/thanks-for-lazarus/</guid>
<description><![CDATA[מזה זמן רב שאני מנסה ליצור מעין תוכנת crm קטנה עבור שימושי הפרטי שיעזור לי (וללקוחות שלי) לעקוב טוב ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>מזה זמן רב שאני מנסה ליצור מעין תוכנת crm קטנה עבור שימושי הפרטי שיעזור לי (וללקוחות שלי) לעקוב טוב יותר אחר הזמן שאני מקדיש להם.</p>
<p>אתמול פשוט נמאס לי לנסות לעבוד בגישת web אחרי שנתקלתי בכל כך הרבה בעיות שונות ומשונות (שאין לי רצון לדבר עליהם כבר מרוב יאוש), אז פניתי חזרה לשיטה שאני מאוד אוהב והיא שיטת ה RAD.</p>
<p>לקח לי בחצי שעה ליצור חיבור (כמעט לגמרי גנרי) למסד נתונים (firebird במקרה שלי) וליצור מסך שמכיל תמיכה בצפייה בכל הרשומות, עריכה/הוספה/מחיקה/עדכון של רשומות וסתם ריענון מידע.</p>
<p>למעט שורת select אחת (נשאר לי עוד ליצור שורות של update, insert ו delete), אין לי ולו שורת קוד אחת שכתבתי, ועדיין יש לי ממשק גרפי שמאפשר לי את כל זה !</p>
<p>החצי שעה שלקח לי, הוקדשה חלקה הגדול לחשיבה איך אני רוצה להציג את המידע ולערוך אותו, ורק 10 דקות מתוך החצי שעה הוקדש לפיזית יצירת המסך וכתיבת שאילתת ה select.</p>
<p>כמו כן, יש לי גם כפתור לסגור את המסך, שגם הוא לא דורש ממני לכתוב שורת קוד אחת, אלא רק לדעת איך לעבוד נכון עם TActionList אשר עושה את העבודה בשבילי (כולל לקחת את התמונה של סגירה מהמערכת, הגדרה בכפתור האם להתנהג לפי המערכת או לא (בהצגת הצלמית) ).</p>
<p>לא אכפת לי שאנשים מתעלמים מהכלי הזה ומעדיפים לעבוד מאוד קשה. רק לאחרונה קרה לי שתוכנה שהתקנתי במנהל החבילות, הכילה באג והקובץ glade לא נכלל בחבילה ועכשיו אני לא יכול לעבוד עם התוכנה בגלל זה. אצלי בלזרוס זה לא קורה <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>אז אם אתם כל כך רוצים תמשיכו להתעלם מהכלי המדהים הזה ולעבוד קשה הרבה יותר ממה שבניית תוכנות אמורה להיות, לי זה ממש לא אכפת, אני בניגוד אליכם יותר פרודקטיבי בשל כך.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Igor Stravinsky conducts <em>L’oiseau de feu</em>]]></title>
<link>http://etonmess.wordpress.com/2009/11/03/igor-stravinsky-conducts-l%e2%80%99oiseau-de-feu/</link>
<pubDate>Tue, 03 Nov 2009 18:49:12 +0000</pubDate>
<dc:creator>Robin Gosnall</dc:creator>
<guid>http://etonmess.wordpress.com/2009/11/03/igor-stravinsky-conducts-l%e2%80%99oiseau-de-feu/</guid>
<description><![CDATA[Here are some of Stravinsky’s thoughts on other composers, taken from Robert Craft’s less than relia]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/5tGA6bpscj8&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/5tGA6bpscj8&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>Here are some of Stravinsky’s thoughts on other composers, taken from Robert Craft’s less than reliable book <em>Conversations with Igor Stravinsky</em>:</p>
<p><em>I remember seeing Mahler in St. Petersburg. His concert there was a triumph. Rimsky was still alive, I believe, but he wouldn’t have attended because a work by Tchaikovsky was on the programme (I think it was <em>Manfred</em>, the dullest piece imaginable). Mahler also played some Wagner fragments and a symphony of his own. Mahler impressed me greatly, himself and his conducting.</p>
<p>Rachmaninov’s immortalizing totality was his scowl. He was a six-and-a-half-foot-tall scowl. He was the only pianist I have ever seen who did not grimace. That is a great deal.</p>
<p>Ravel? When I think of him, for example in relation to Satie, he appears quite ordinary. His musical judgement was quite acute, however, and I would say that he was the only musician who immediately understood <em>Le Sacre du Printemps</em>.</p>
<p>Satie was certainly the oddest person I have ever known, but the most rare and consistently witty person, too. No one ever saw him wash – he had a horror of soap. He was always very poor, poor by conviction, I think. His apartment did not have a bed but only a hammock. In winter Satie would fill bottles with hot water and put them flat in a row underneath his hammock. It looked like some strange kind of marimba.</p>
<p>We – and I mean the generation who are now saying “Webern and me” – must remember only Schoenberg’s perfect works, the <em>Five Pieces for Orchestra</em>, <em>Herzgewächse</em>, <em>Pierrot</em>, the <em>Serenade</em>, the <em>Variations</em> for orchestra and the <em>Seraphita</em> song from Op. 22. By these works Schoenberg is among the great composers. They constitute the true tradition.</p>
<p>If I were able to penetrate the barrier of style (Berg’s radically alien emotional climate) I suspect he would appear to me as the most gifted constructor in form of the composers of this century. His legacy contains very little on which to build, however. He is at the end of a development.</p>
<p>I would like to admit all Strauss operas to whichever purgatory punishes triumphant banality. Their musical substance is cheap and poor; it cannot interest a musician today. I am glad that young musicians today have come to appreciate the lyric gift in the songs of the composer Strauss despised, and is more significant in our music than he is: Gustav Mahler.</em></p>
<p><a href="http://www.blogcatalog.com/directory/music/classical" title="Classical Blogs - Blog Catalog Blog Directory"><img src="http://assets.blogcatalog.com/buttons/blogcatalog4.gif" alt="Classical Blogs - Blog Catalog Blog Directory" style="border:0;" /></a> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Firebird. UDFs sobre fechas]]></title>
<link>http://keepnet.wordpress.com/2009/11/03/firebird-udfs-sobre-fechas/</link>
<pubDate>Tue, 03 Nov 2009 13:16:00 +0000</pubDate>
<dc:creator>keeper</dc:creator>
<guid>http://keepnet.wordpress.com/2009/11/03/firebird-udfs-sobre-fechas/</guid>
<description><![CDATA[El manejo de fechas a menudo puede ser dificultoso. Firebird nos proporciona ciertas udf’s que nos p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>El manejo de fechas a menudo puede ser dificultoso. Firebird nos proporciona ciertas udf’s que nos pueden ayudar a la hora de operar con tipos date y timestamp.</p>
<p>Obviamente el trabajo con fechas tipo timestamp es más preciso y nos da mayor libertad a la hora de hacer ciertos cálculos. Entre otras cosas nos permite operar a nivel de horas, minutos y segundos.</p>
<p>Algunas de las udf’s útiles son las siguientes:</p>
<p>Para Timestamp y DateTime: Addday(), addmonth(), addweek(), addyear().<br />
Para Timestamp: Addhour(), addminute(); addsecond(), addmillisecond().</p>
<p>La utilización es bien sencilla para todas ellas: Ej. dateUnaSemanaMas = addweek(miTimesTamp, 1); /* nos devolvería la fecha “miTimesTamp” mas una semana.*/</p>
<p>Algo que puede ser útil también es restar; no hay problema, el segundo parámetro nos permite valores negativos con lo que si queremos buscar una fecha con un mes menos podremos hacer: select * from Tabla1 where fecha &#62; addmonth(&#8216;NOW&#8217;, -1).<br /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Another 2010 Camaro Trans Am Conversion]]></title>
<link>http://blog.cardomain.com/2009/11/02/another-2010-camaro-trans-am-conversion/</link>
<pubDate>Tue, 03 Nov 2009 01:08:01 +0000</pubDate>
<dc:creator>Jen Dunnaway</dc:creator>
<guid>http://blog.cardomain.com/2009/11/02/another-2010-camaro-trans-am-conversion/</guid>
<description><![CDATA[I really dig the period-correct wheels, though I think the nose is a little gnarly. And the hood sco]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I really dig the period-correct wheels, though I think the nose is a little gnarly. And the hood scoop doesn&#8217;t leave much room for the giant screaming firechicken that&#8217;d be necessary to complete this look. I think I like <a href="http://blog.cardomain.com/2009/11/02/lingenfelter-445-trans-am-concept/" target="_blank">the Lingenfelter Trans Am</a> better. How about you? See more angles below the jump.</p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200295_large.jpg" alt="" width="602" height="407" /></p>
<p><!--more--></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200289_large.jpg" alt="" width="602" height="451" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200291_large.jpg" alt="" width="602" height="433" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200292_large.jpg" alt="" width="602" height="420" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200293_large.jpg" alt="" width="602" height="451" /></p>
<p><img class="alignnone" src="http://carphotos.cardomain.com/ride_images/3/3239/4401/33097200294_large.jpg" alt="" width="602" height="451" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[חידה: מה עושה הקוד הבא ?]]></title>
<link>http://idkn.wordpress.com/2009/11/01/riddle-what-does-the-following-code-do/</link>
<pubDate>Sun, 01 Nov 2009 16:26:28 +0000</pubDate>
<dc:creator>ik_5</dc:creator>
<guid>http://idkn.wordpress.com/2009/11/01/riddle-what-does-the-following-code-do/</guid>
<description><![CDATA[יצרתי את הקוד הבא במסד נתונים שלי שעובד עם Firebird SQL, מה הקוד עושה ? למה נבחרה הגישה הזו בשביל למ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>יצרתי את הקוד הבא במסד נתונים שלי שעובד עם Firebird SQL, מה הקוד עושה ? למה נבחרה הגישה הזו בשביל לממש את הקוד ואילו תשובות אקבל בהזנת 10 ערכים ראשונים למסד הנתונים עם הקוד הזה ?</p>
<div dir="ltr"><code>IF ((NEW.ID IS NULL) OR (NEW.ID = 0)) THEN<br />
NEW.ID = GEN_ID(GEN_PERMISSIONS_ID, 1);<br />
ELSE<br />
NEW.ID = GEN_ID(GEN_PERMISSIONS_ID, GEN_ID(GEN_PERMISSIONS_ID, 0));</code></div>
<p>במידה ולא תפתרו את החידה כאן, אענה עליה בשבוע הבא <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Podcast Numero 27]]></title>
<link>http://fusionsonica.com/2009/11/01/podcast-numero-27/</link>
<pubDate>Sun, 01 Nov 2009 09:59:40 +0000</pubDate>
<dc:creator>fusionsonica</dc:creator>
<guid>http://fusionsonica.com/2009/11/01/podcast-numero-27/</guid>
<description><![CDATA[En este episodio volvemos al mundo del stoner, con los siguientes grupos: Solace The Compnay Band Tr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>En este episodio volvemos al mundo del stoner, con los siguientes grupos:</p>
<p>Solace<br />
The Compnay Band<br />
Trouble<br />
Red Fang<br />
Abdullah<br />
Snail<br />
Firebird<br />
Sideburn<br />
Masters Of Reality<br />
Struck By Lightning<br />
Solarized<br />
Hermano<br />
Unida<br />
Queens Of The Stone Age</p>
<p>También se habla sobre lo siguiente:<br />
The Dead Weather, Jack White, Pentagram, Neil Fallon, Clutch, James Rota, Fireball Ministry, Jess Margera, CKY, Brad Davies, Fu Manchu, Kory Clarke, Live In L.A., Bill Steer, Carcass, Napalm Death, Meteor City, John Garcia, Kyuss</p>
<p>El podcast se puede descargar en formato que prefiere desde aquí:</p>
<div class="media_formats">
<div><a href="http://fusionsonica.wordpress.com/files/2009/11/fusionsonicapodcast27.mp3" target="_blank"><img src="http://fusionsonica.files.wordpress.com/2009/06/mp3_format.jpg" border="0" alt="" /></a></div>
<div><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=321951393" target="_blank"><img src="http://fusionsonica.wordpress.com/files/2009/06/itunes_format.jpg" border="0" alt="" /></a></div>
<div class="clear"></div>
</div>
<p>O escucha online aquí:</p>
<p><span style='text-align:left;display:block;'><p><object type='application/x-shockwave-flash' data='http://wordpress.com/wp-content/plugins/audio-player/player.swf' width='290' height='24' id='audioplayer1'><param name='movie' value='http://wordpress.com/wp-content/plugins/audio-player/player.swf' /><param name='FlashVars' value='&amp;bg=0xf8f8f8&amp;leftbg=0xeeeeee&amp;lefticon=0x666666&amp;rightbg=0xcccccc&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xffffff&amp;text=0x666666&amp;slider=0x666666&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0x9FFFB8&amp;soundFile=http%3A%2F%2Ffusionsonica.wordpress.com%2Ffiles%2F2009%2F11%2Ffusionsonicapodcast27.mp3%26%23124%3Bbg%3D1b1814%26%23124%3Brighticon%3D1b1814%26%23124%3Blefticon%3D1b1814%26%23124%3Bslider%3D1b1814%26%23124%3Bbgcolor%3D1b1814%26%23124%3Btext%3Dce632f%26%23124%3Bleftbg%3Dce632f%26%23124%3Brightbg%3Dce632f%26%23124%3Brightbghover%3D1b1814%26%23124%3Brighticonhover%3Dce632f%26%23124%3Btrack%3D1b1814%26%23124%3Bloader%3Dce632f%26%23124%3Bborder%3D1b1814' /><param name='quality' value='high' /><param name='menu' value='false' /><param name='bgcolor' value='#FFFFFF' /></object></p></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Lingenfelter makes an ass out of the 2010 Camaro.]]></title>
<link>http://iedei.wordpress.com/2009/11/01/lingenfelter-makes-an-ass-out-of-the-2010-camaro/</link>
<pubDate>Sun, 01 Nov 2009 04:15:47 +0000</pubDate>
<dc:creator>iedei</dc:creator>
<guid>http://iedei.wordpress.com/2009/11/01/lingenfelter-makes-an-ass-out-of-the-2010-camaro/</guid>
<description><![CDATA[For ages, Corvette fanboys have been singing the praises of Lingenfelter Vettes and how they can tea]]></description>
<content:encoded><![CDATA[For ages, Corvette fanboys have been singing the praises of Lingenfelter Vettes and how they can tea]]></content:encoded>
</item>
<item>
<title><![CDATA[Newsflash: No more MySQL?]]></title>
<link>http://wings-of-wind.com/2009/10/29/newsflash-no-more-mysql/</link>
<pubDate>Thu, 29 Oct 2009 09:19:42 +0000</pubDate>
<dc:creator>Wings of Wind</dc:creator>
<guid>http://wings-of-wind.com/2009/10/29/newsflash-no-more-mysql/</guid>
<description><![CDATA[It seems that dark clouds are gathering around of the future of mySQL since its acquisition by Oracl]]></description>
<content:encoded><![CDATA[It seems that dark clouds are gathering around of the future of mySQL since its acquisition by Oracl]]></content:encoded>
</item>
<item>
<title><![CDATA[SCRIBEFIRE3FhoTalT2eSCRIBEFIRE]]></title>
<link>http://firebirdlikebrasil.wordpress.com/2009/11/25/scribefire3fhotalt2escribefire/</link>
<pubDate>Wed, 25 Nov 2009 11:01:37 +0000</pubDate>
<dc:creator>exodusthesmith</dc:creator>
<guid>http://firebirdlikebrasil.wordpress.com/2009/11/25/scribefire3fhotalt2escribefire/</guid>
<description><![CDATA[SCRIBEFIREOZmtvGSaSCRIBEFIRE]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>SCRIBEFIREOZmtvGSaSCRIBEFIRE</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[A Shiny New Firebird]]></title>
<link>http://emilysmithpearce.wordpress.com/2009/11/18/a-shiny-new-firebird/</link>
<pubDate>Wed, 18 Nov 2009 16:55:09 +0000</pubDate>
<dc:creator>Emily Smith Pearce</dc:creator>
<guid>http://emilysmithpearce.wordpress.com/2009/11/18/a-shiny-new-firebird/</guid>
<description><![CDATA[No, I didn&#8217;t get a new car. Charlotte has a new mascot. The Bechtler Museum of Modern Art is o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>No, I didn&#8217;t get a new car. Charlotte has a new mascot. The Bechtler Museum of Modern Art is opening on January 2, but right now I&#8217;m drooling over the outside of the museum, including the recently installed <em>Firebird</em> sculpture by French artist Niki de Saint Phalle.</p>
<p><a href="http://emilysmithpearce.wordpress.com/files/2009/11/dsc_0017.jpg"><img class="aligncenter size-medium wp-image-428" title="DSC_0017" src="http://emilysmithpearce.wordpress.com/files/2009/11/dsc_0017.jpg?w=199" alt="" width="199" height="300" /></a></p>
<p>I love the way the orange brick frames the sculpture. I just couldn&#8217;t help smiling when I stood next to it. And the light! The light bouncing off it creates these gorgeous constellations on the ground.</p>
<p><a href="http://emilysmithpearce.wordpress.com/files/2009/11/dsc_0015.jpg"><img class="aligncenter size-medium wp-image-429" title="DSC_0015" src="http://emilysmithpearce.wordpress.com/files/2009/11/dsc_0015.jpg?w=199" alt="" width="199" height="300" /></a> </p>
<p><a href="http://emilysmithpearce.wordpress.com/files/2009/11/dsc_0016.jpg"><img class="aligncenter size-medium wp-image-430" title="DSC_0016" src="http://emilysmithpearce.wordpress.com/files/2009/11/dsc_0016.jpg?w=300" alt="" width="300" height="199" /></a></p>
<p>I am so totally stoked about this museum. Its big ol&#8217; collection includes works by Giacometti, Miro, Picasso, Le Corbusier, Alexander Calder, Warhol, and on and on. I can barely wait for Jan. 2. For more info, click <a href="http://www.bechtler.org/">here</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Firebird. Cambiar dominio de varias tablas]]></title>
<link>http://keepnet.wordpress.com/2009/11/18/firebird-cambiar-dominio-de-varias-tablas/</link>
<pubDate>Wed, 18 Nov 2009 11:49:56 +0000</pubDate>
<dc:creator>keeper</dc:creator>
<guid>http://keepnet.wordpress.com/2009/11/18/firebird-cambiar-dominio-de-varias-tablas/</guid>
<description><![CDATA[Buenas, hoy toca sql. En firebird existe la posibilidad de cambiar un tipo de campo por otro (como e]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Buenas, hoy toca sql.</p>
<p>En firebird existe la posibilidad de cambiar un tipo de campo por otro (como en todos los motores).</p>
<p>Hoy aquí explicaré como hacerlo de forma controlada o masiva.<br />
Pongamos que tenemos un campo llamado &#8220;c1&#8243; en varias tablas, el cual es del tipo char(4), pero por alguna desgracia nos vemos obligados a cambiarlo una vez que la base de datos está definida.</p>
<p>Este proceso se torna sencillo desde un administrador de bases de datos (IBExpert en mi caso) pero si dicho campo se encuentra en muchas tablas el proceso puede ser más tedioso. A continuación muestro dos formas de realizar el proceso vía sentencias sql.</p>
<p>La primera sería para cada campo de cada tabla vinculada al dominio anterior:</p>
<pre class="brush: sql;">

CREATE DOMAIN NEWDOMAIN AS CHAR(5);
update RDB$RELATION_FIELDS set RDB$FIELD_SOURCE = 'NEWDOMAIN '  where (RDB$FIELD_NAME = 'c1') and (RDB$RELATION_NAME = 'TABLA1');
update RDB$RELATION_FIELDS set  RDB$FIELD_SOURCE = 'NEWDOMAIN'  where (RDB$FIELD_NAME = 'c1') and (RDB$RELATION_NAME = 'TABLA2');
</pre>
<p>Ó esta segunda forma, que lo hace para todos aquellos campos que se llamen &#8220;c1&#8243;.</p>
<p><em>[perogrullo=on]</em> <strong>Ojo </strong>con esto ya que si este campo significa cosas diferentes en distintas tablas de la misma base de datos con tipos de valores distintos el script en el <strong>mejor de los casos producirá un error </strong>en caso de no poder convertirlos, pero puede que no produzca ninguna excepción y nos cambie de tipo valores que no deseamos.<em>[perogrullo=off]</em></p>
<pre class="brush: sql;">

CREATE DOMAIN NEWDOMAIN AS CHAR(12);
update RDB$RELATION_FIELDS set RDB$FIELD_SOURCE = 'NEWDOMAIN '  where (RDB$FIELD_NAME = 'c1')
</pre>
</div>]]></content:encoded>
</item>

</channel>
</rss>
