<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1337.aspx</link><pubDate>Thu, 14 Dec 2006 14:09:32 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1337</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1337.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1337</wfw:commentRss><description>A aparut si o a 6-a &lt;a href="http://en.wikipedia.org/wiki/Database_normalization"&gt;http://en.wikipedia.org/wiki/Database_normalization&lt;/a&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1331.aspx</link><pubDate>Thu, 14 Dec 2006 11:00:15 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1331</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1331.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1331</wfw:commentRss><description>&lt;p&gt;E vorba ca cel mai des uzitate sunt FN1, FN2 si FN3 (nu numai FN3).&lt;/p&gt;&lt;p&gt;Un lucru este interesant si trebuie avut in vedere: nu se dau formule, panacee pentru o schema de baze de date viabila&lt;/p&gt;&lt;p&gt;ci totul depinde de experienta (arta) analistului.&lt;/p&gt;&lt;p&gt;De exemplu, ati vazut ca uneori apar in anumite baze de date serioase,&amp;nbsp; facute pentru aplicatii la fel de serioase coloane&lt;/p&gt;&lt;p&gt;de tip Address1, Address 2 si chiar Address3. Dupa FN1 acestea n-au ce cauta intr-o tabela normala la cap, insa iata ca se accepta&lt;/p&gt;&lt;p&gt;din motive de query/aplicatie.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1330.aspx</link><pubDate>Thu, 14 Dec 2006 10:22:59 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1330</guid><dc:creator>katalyn</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1330.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1330</wfw:commentRss><description>&lt;p&gt;Din cate stiu eu sunt&amp;nbsp;5 dar cea folosita este cea de-a 3-a... &lt;/p&gt;&lt;p&gt;vezi &lt;a href="http://www.trumpetpower.com/Papers/Normal_Forms" title="forme normale"&gt;aici&lt;/a&gt; mai multe detalii...sigur este vorba de ceva introductiv pentru ca discutia poate continua mult mai mult si chiar sunt carti destinate explicatiei acestor forme normale&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1329.aspx</link><pubDate>Thu, 14 Dec 2006 10:19:33 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1329</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1329.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1329</wfw:commentRss><description>&lt;p&gt;Sunt 5 (+1) forme de normalizare.&lt;/p&gt;&lt;p&gt;Pentru OLTP primele 3 sunt folosite.&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1328.aspx</link><pubDate>Thu, 14 Dec 2006 08:16:32 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1328</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1328.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1328</wfw:commentRss><description>Cam pana la a cata forma normala aduceti tabelele din cate tin eu minte erau vreo sapte ,am impresia ca sunt si softuri care ajuta la normalizarea tabelelor?</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1327.aspx</link><pubDate>Thu, 14 Dec 2006 07:42:20 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1327</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1327.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1327</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;crestinul:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Ce-ati zice daca in loc de adresa tabele alea doua sa fac o coloana adresa de tip xml in clienti:)?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Sună interesant, dar o să fie mai greu de făcut un &amp;quot;GROUP BY Judet, Sector&amp;quot; sau chiar si un &amp;quot;WHERE Localitate=&amp;#39;Bucuresti&amp;#39;&amp;quot;. Sigur, există XQuery, dar: &lt;/p&gt;&lt;p&gt;1) e un limbaj &amp;icirc;n plus de &amp;icirc;nvăţat&lt;/p&gt;&lt;p&gt;2) e important să se definească o schemă pentru XML-ul respectiv (şi acea coloană să fie Typed XML, ca să se verifice să fie conform schemei)&lt;/p&gt;&lt;p&gt;3) cred că performanţa pentru un XML index e mai slabă dec&amp;acirc;t cea pentru un index obişnuit &lt;/p&gt;&lt;p&gt;4) s-ar putea ca unii să scrie &amp;quot;Bucureşti&amp;quot;, alţii &amp;quot;Bucuresti&amp;quot;, alţii &amp;quot;Buc&amp;quot; (sau la judeţ &amp;quot;Caraş Severin&amp;quot; &amp;icirc;n loc de &amp;quot;Caraş-Severin&amp;quot;). &lt;/p&gt;&lt;p&gt;Dacă ai tabele separate ([Judete], [Localitati], [Adrese], etc) atunci poţi să eviţi astfel de probleme. Totuşi, astfel de design trebuie să ţină cont de ce fel de adrese trebuie ţinute &amp;icirc;n baza de date (dintr-un singur oraş / din Rom&amp;acirc;nia / de oriunde).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;Icirc;n final, design-ul depinde de scopul pentru care sunt stocate aceste informaţii (altfel spus: care sunt rapoartele care trebuie obţinute?) şi de importanţa relativă a unor aspecte faţă de altele (performanţă, finalizare mai rapidă a proiectului, acurateţea datelor, flexibilitatea).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Răzvan&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1326.aspx</link><pubDate>Wed, 13 Dec 2006 20:12:25 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1326</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1326.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1326</wfw:commentRss><description>Ce-ati zice daca in loc de adresa tabele alea doua sa fac o coloana adresa de tip xml in clienti:)?</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1324.aspx</link><pubDate>Wed, 13 Dec 2006 17:54:50 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1324</guid><dc:creator>Jourjaque</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1324.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1324</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorine nu trebuie sa faci decat ce ti se cere ! Plus ca mai poti da un ALTER dupa .. &lt;img src="http://sqlserver.ro/emoticons/emotion-2.gif" alt="Big Smile" /&gt; !&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Off topic :: Ti am trimis si mail si PM ! As vrea sa te intreb ceva , imi poti da un nr de tel ?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1319.aspx</link><pubDate>Wed, 13 Dec 2006 09:17:00 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1319</guid><dc:creator>katalyn</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1319.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1319</wfw:commentRss><description>&lt;p&gt;Eu as tine cont de exemplul lui Cristi si asi introduce si campul e-mail. Iar la telefon.... eu de exemplu am 3 telefoane (acasa, servici, mobil - 2 sunt fixe) dintre care pot fi gasit pe 2 (unul fix si unul mobil)... deci asi tine cont de teoria bazelor de date relationale si asi face o tabela cu date mai putin utilizate.... &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cand spun asta ma refer la faptul in in multe interogari o sa fie folosit ID-ul si numele clientului&amp;nbsp;si mai putin adresa de e-mail, adresa si&amp;nbsp;telefoane&amp;nbsp;asa ca le-asi separa&lt;/p&gt;&lt;p&gt;&amp;nbsp;Ca dimensiune a coloanelor sunt de parere cu ce este scris mai sus&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/1318.aspx</link><pubDate>Wed, 13 Dec 2006 08:56:31 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1318</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1318.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1318</wfw:commentRss><description>&lt;p&gt;Ca resurse pentru invatarea normalizarii:&lt;/p&gt;&lt;p&gt;&amp;quot;Description of the database normalization basics&amp;quot; &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;283878"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;283878&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;quot;ACC: Database Normalization Basics&amp;quot; &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;100139"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;100139&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;quot;Support WebCast: Database Normalization Basics&amp;quot; &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;324613"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;324613&lt;/a&gt;&amp;nbsp;(poate fi si download-at pentru vizualizare offline)&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/394.aspx</link><pubDate>Mon, 16 Oct 2006 14:42:47 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:394</guid><dc:creator>cretzu</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/394.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=394</wfw:commentRss><description>&lt;p&gt;As avea si eu cateva idei, poate nu f bune. &lt;/p&gt;&lt;p&gt;In primul rand campul AdresaClient tinand cont ca nu este impartit pe strada, numar , bloc, et etc eu zic ca este declarat cam mic de 40.. Oricum daca la nivelul rapoartelor trebuie anumite date mai detaliate despre adresa, ar fi o buna chestie sa impartiti campul.&lt;/p&gt;&lt;p&gt;Aceeasi observatie o am si pentru campul NumeClient. Poate este prea mic.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A doua idee, asta in functie pentru ce vrerti sa fol tabelul, ati putea ca in campul PersoanaContact sa fie o referinta catre o anumita tabela de persoane sau cine stie chiar si catre un alt client. Asa acel camp nu o sa il puteti folosi numai pentru raporturi.&lt;/p&gt;&lt;p&gt;&amp;nbsp;La telefon parerea mea este ca mai bine sa fie de tip varchar de maxim 15 pentru ca unii dintre utilizatori ar putea introduce numarul separat cu &amp;quot;-&amp;quot; si atunci .... trebuie mai multe verificari din layerul de interfata, adica ceva de genu 0040-722-122345. Oricum poate ar fi bine chiar impartirea numarului in 3 parti sau se poate sa aveti un tabel cu tari si cu prefix si atunci numarul sa fie format numai din 722-122345. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Daniel&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/377.aspx</link><pubDate>Mon, 16 Oct 2006 09:29:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:377</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/377.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=377</wfw:commentRss><description>Ca database patterns eu personal folosesc&amp;nbsp;regulile de normalizare (pt OLTP).</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/375.aspx</link><pubDate>Mon, 16 Oct 2006 07:56:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:375</guid><dc:creator>MrSmersh</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/375.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=375</wfw:commentRss><description>&lt;p&gt;Cam asa ceva e mai obisnuit.&lt;/p&gt;&lt;p&gt;BTW: Exista database patterns? Si si tool de a le verifica?&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/372.aspx</link><pubDate>Sun, 15 Oct 2006 12:20:04 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:372</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/372.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=372</wfw:commentRss><description>&lt;p&gt;Eu as normaliza un pic tabela adaugand o tabela pentru persoanele de contact si una pentru adrese.&lt;/p&gt;&lt;p&gt;Ca sa va faceti o idee de tabela normalizata redau un fragment din baza de date demo AdventureWorks:&lt;/p&gt;&lt;p&gt;&lt;img border="0" height="535" src="http://sqlserver.ro/photos/snapshots/images/370/original.aspx" width="747" /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border="0" height="500" src="http://sqlserver.ro/photos/snapshots/images/371/original.aspx" width="749" /&gt;&lt;/p&gt;</description></item><item><title>Re: Tables</title><link>http://sqlserver.ro/forums/thread/369.aspx</link><pubDate>Sun, 15 Oct 2006 09:24:26 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:369</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/369.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=369</wfw:commentRss><description>&lt;p&gt;Si inca ceva: folositi interfata mai intai daca aveti nevoie de scriptul de creare tabel. Iata cum&lt;/p&gt;&lt;p&gt;1.Construiti tabelul prin interfata apoi&lt;/p&gt;&lt;p&gt;2.Right-Click pe tabelul dorit --&amp;gt;Script Table As--&amp;gt;Create to --&amp;gt;Clipboard&amp;nbsp; si Paste unde vreti(asta la SQL 2005, la 2000 intrati in Query Analyzer si e cam similar)&lt;/p&gt;</description></item></channel></rss>