{"id":357,"date":"2007-12-11T20:06:01","date_gmt":"2007-12-11T19:06:01","guid":{"rendered":"http:\/\/soci.hu\/blog\/index.php\/2007\/12\/11\/sql-server-2008-ujdonsagok-3-udt-meretkorlat-megszunese\/"},"modified":"2007-12-11T20:06:01","modified_gmt":"2007-12-11T19:06:01","slug":"sql-server-2008-ujdonsagok-3-udt-meretkorlat-megszunese","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2007\/12\/11\/sql-server-2008-ujdonsagok-3-udt-meretkorlat-megszunese\/","title":{"rendered":"SQL Server 2008 \u00fajdons\u00e1gok 3. &#8211; UDT m\u00e9retkorl\u00e1t megsz\u0171n\u00e9se"},"content":{"rendered":"<p>Az SQL Server 2005-ben megjelent a VARCHAR(MAX) \u00e9s VARBINARY(MAX), ami nagyon leegyszer\u0171s\u00edtette a nagyobb sz\u00f6vegek vagy bin\u00e1ris adatok t\u00e1rol\u00e1s\u00e1t \u00e9s els\u0151sorban a kezel\u00e9s\u00e9t. Emellett elt\u0171nt a sorm\u00e9ret 8 kbyte-os korl\u00e1tja is.<\/p>\n<p>Azonban a User Defined Type-ok, azaz a CLR t\u00edpusk\u00e9nt defini\u00e1lt t\u00edpusok eset\u00e9n a 8 k limit megmaradt. Ez sajnos igaz volt az aggreg\u00e1l\u00f3 f\u00fcggv\u00e9nyekre is. Az el\u0151bbin\u00e9l m\u00e9g csak-csak lenyeli az ember a dolgot, hab\u00e1r mondjuk ha egy UTF-8-k\u00e9nt stringet t\u00e1rol\u00f3 t\u00edpust akarok \u00edrni, akkor a 8k limit nagyon bosszant\u00f3. Az aggreg\u00e1tumokn\u00e1l viszont pillanatok alatt \u00e1t lehet l\u00e9pni a 8kt, gondoljunk egy string \u00f6sszef\u0171z\u0151 f\u00fcggv\u00e9nyre.<\/p>\n<p>No, 2008-ban az UDT-k \u00e9s az aggreg\u00e1l\u00f3 f\u00fcggv\u00e9nyek \u00e1ltal feldolgozott adatok felh\u00edzhatnak 2 G-ig, mint a t\u00f6bbi nagy t\u00edpus. De az\u00e9rt csak \u00e9sszel, nem minden kliens \u00f6r\u00fcl, ha fel kell dolgoznia egy 2 GByte-os ojjektumot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Az SQL Server 2005-ben megjelent a VARCHAR(MAX) \u00e9s VARBINARY(MAX), ami nagyon leegyszer\u0171s\u00edtette a nagyobb sz\u00f6vegek vagy bin\u00e1ris adatok t\u00e1rol\u00e1s\u00e1t \u00e9s els\u0151sorban a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4,30,58],"tags":[],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-adatbazisok","category-szakmai-elet","category-sql-server","category-sql-server-2008"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":0,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}