<?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</title><link>http://sqlserver.ro/forums/14/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1288.aspx</link><pubDate>Mon, 11 Dec 2006 11:11:27 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1288</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1288.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1288</wfw:commentRss><description>Razvan un ALTER DATABASE e mai pasnic decat un rebuild de master. Parerea mea personala!</description></item><item><title>Re: Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1282.aspx</link><pubDate>Mon, 11 Dec 2006 08:31:14 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1282</guid><dc:creator>MrSmersh</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1282.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1282</wfw:commentRss><description>&lt;p&gt;Eu am confundat putin &amp;quot;collation&amp;quot; cu &amp;quot;collation setting&amp;quot; cred despre care in ghidul de studiu pentru 70-431 de la Sybex se zice:&lt;/p&gt;&lt;font face="Sabon-Roman" size="2"&gt;&lt;p align="left"&gt;&lt;em&gt;&amp;quot;once you have installed SQL Server, you cannot change the collation setting. To change it, you must reinstall SQL Server and rebuild all your databases. So, choose wisely; it is usually best to use the default sort setting of case insensitivity and build sensitivity into your applications if you need it.&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;Si cu collation de baza de date m-am tot jucat, si in general a mers bine si fara probleme.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1281.aspx</link><pubDate>Mon, 11 Dec 2006 08:07:35 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1281</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1281.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1281</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;xmldeveloper:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="indent"&gt;&lt;/div&gt;&lt;div class="indent"&gt;Insa eu ti-as recomanda sa schimbi collation la nivel de baza de date cu ALTER DATABASE.&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/div&gt;&lt;p&gt;&amp;Icirc;n general, eu nu recomand să folosiţi baze cu un collation diferit de cel al server-ului, deoarece puteţi avea probleme atunci c&amp;acirc;nd folosiţi join-uri cu tabele temporare sau cu tabele sistem. &lt;/p&gt;&lt;p&gt;De exemplu:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;CREATE DATABASE db COLLATE French_CI_AS&lt;br /&gt;GO&lt;br /&gt;USE db&lt;br /&gt;CREATE TABLE TBL(X varchar(10) PRIMARY KEY)&lt;br /&gt;CREATE TABLE #TMP(X varchar(10) PRIMARY KEY)&lt;br /&gt;GO&lt;br /&gt;SELECT * FROM TBL A INNER JOIN #TMP B ON A.X=B.X&lt;br /&gt;&lt;br /&gt;GO&lt;br /&gt;/*&lt;br /&gt;DROP TABLE #TMP&lt;br /&gt;USE master&lt;br /&gt;DROP DATABASE db&lt;br /&gt;*/&lt;/strong&gt; &lt;/p&gt;&lt;p&gt;produce eroarea: &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Cannot resolve the collation conflict between &amp;quot;SQL_Latin1_General_CP1_CI_AS&amp;quot; and &amp;quot;French_CI_AS&amp;quot; in the equal to operation.&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Sigur, există şi cazuri &amp;icirc;n care trebuie să folosim baze de date cu collation-uri diferite pe acelasi server, din cauza unor factori care nu sunt sub controlul nostru. &amp;Icirc;n asemenea cazuri, putem rezolva problema specific&amp;acirc;nd collation-ul la crearea tabelelor temporare sau folosind clauza COLLATE &amp;icirc;n comparaţie:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;SELECT * FROM TBL A INNER JOIN #TMP B ON A.X=B.X COLLATE French_CI_AS&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Răzvan&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1277.aspx</link><pubDate>Sun, 10 Dec 2006 12:33:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1277</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1277.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1277</wfw:commentRss><description>&lt;p&gt;Pentru SQL Server 2005: &lt;a class="l" href="http://msdn2.microsoft.com/en-us/ms177439.aspx"&gt;&lt;strong&gt;&lt;font color="#0000cc"&gt;Setting and Changing Collations&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;SQL Server 2005 collations can be specified at any level. When you install an instance of SQL Server 2005, you specify the default collation for that instance. Each time that you create a database, you can specify the default collation used for the database. If you do not specify a collation, the default collation for the database is the default collation for the instance. Whenever you define a character column, variable, or parameter, you can specify the collation of the object. If you do not specify a collation, the object is created by using the default collation of the database.&lt;/p&gt;&lt;p&gt;The following topics explain how to work with collations at the server, database, column, expression, and identifier levels:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms179254.aspx"&gt;Setting and Changing the Server Collation&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms175835.aspx"&gt;Setting and Changing the Database Collation&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms190920.aspx"&gt;Setting and Changing the Column Collation&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms187053.aspx"&gt;Setting Expression Collation&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms188686.aspx"&gt;Identifier Collation&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;La nivel de instanta: &lt;a href="http://msdn2.microsoft.com/en-us/library/ms179254.aspx"&gt;Setting and Changing the Server Collation&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;font color="#800080"&gt;Changing the Server Collation&lt;br /&gt;&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;&lt;div class="section" id="ctl00_LibFrame_ctl03d54b29e" style="display:block;"&gt;&lt;div id="ctl00_LibFrame_ctl03"&gt;&lt;p&gt;Changing the default collation for an instance of SQL Server 2005 can be a complex operation and involves the following steps: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Make sure you have all the information or scripts needed to re-create your user databases and all the objects in them.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Export all your data using a tool such as bulk copy.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Drop all the user databases.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Rebuild the &lt;strong&gt;master&lt;/strong&gt; database specifying the new collation in the SQLCOLLATION property of the &lt;strong&gt;setup&lt;/strong&gt; command. For example:&lt;br /&gt;&lt;div class="code" id="ctl00_LibFrame_ctl04_other"&gt;&lt;div class="CodeSnippetTitleBar"&gt;&lt;div class="CodeDisplayLanguage"&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class="code" id="ctl00_LibFrame_ctl04other"&gt;start /wait setup.exe /qb INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=test SQLCOLLATION=SQL_Latin1_General_CP1_CI_AI&lt;/pre&gt;&lt;/div&gt;For more information about rebuilding the &lt;strong&gt;master&lt;/strong&gt; database, see &lt;a href="http://msdn2.microsoft.com/en-us/library/ms143269.aspx"&gt;How to: Rebuild the Master Database for SQL Server 2005&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Create all the databases and all the objects in them.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Import all your data. &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="alert"&gt;&lt;table&gt;&lt;tr&gt;&lt;th align="left"&gt;&lt;img class="note" height="10" src="http://msdn2.microsoft.com/en-us/library/ms179254.note(en-US,SQL.90).gif" width="10" /&gt;Note: &lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Instead of changing the default collation of an instance of SQL Server 2005, you can specify a default collation for each new database you create.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1276.aspx</link><pubDate>Sun, 10 Dec 2006 12:20:00 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1276</guid><dc:creator>MrSmersh</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1276.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1276</wfw:commentRss><description>&lt;p&gt;Sa inteleg ca pe 2000 se putea face asta?&lt;br /&gt;Sau nu am inteles eu despre ce e vorba?&lt;br /&gt;Sau nu am inteles cum e in 2005?&lt;/p&gt;</description></item><item><title>Re: Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1275.aspx</link><pubDate>Sun, 10 Dec 2006 11:50:14 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1275</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1275.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1275</wfw:commentRss><description>&lt;p&gt;In general se face rebuild la master &lt;a href="http://support.microsoft.com/kb/257716"&gt;http://support.microsoft.com/kb/257716&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Q. How do I rebuild the master database? &lt;br /&gt;&lt;br /&gt;A: To rebuild the master database of a SQL Server 2000 instance, use the Rebuild Master Utility, Rebuildm.exe. You must rebuild the master database to fix corrupted master databases or to change collation settings for the instance. Detailed steps and information are available in the &amp;quot;How to rebuild the master database&amp;quot; topic in SQL Server Books Online. Also, be aware of the issue that is mentioned in the following article in the Microsoft Knowledge Base: &lt;/p&gt;&lt;div class="indent"&gt;&lt;a class="KBlink" href="http://support.microsoft.com/kb/273572/"&gt;273572&lt;/a&gt;&lt;span class="pLink"&gt; (http://support.microsoft.com/kb/273572/)&lt;/span&gt; BUG: Rebuildm.exe utility stops responding when source directory is on a CD &lt;/div&gt;&lt;div class="indent"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/div&gt;&lt;div class="indent"&gt;&lt;/div&gt;&lt;div class="indent"&gt;Insa eu ti-as recomanda sa schimbi collation la nivel de baza de date cu ALTER DATABASE. &lt;/div&gt;</description></item><item><title>Change Server Collation - intrebare pe ITBoard</title><link>http://sqlserver.ro/forums/thread/1274.aspx</link><pubDate>Sun, 10 Dec 2006 11:47:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1274</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1274.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=14&amp;PostID=1274</wfw:commentRss><description>&lt;div&gt;&lt;strong&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Valy Greavu wrote the following post at 12-08-2006 14:01:&lt;/strong&gt; &lt;/div&gt;&lt;div class="ForumReplyToPostArea"&gt;&lt;p&gt;Salut, &lt;/p&gt;&lt;p&gt;Imi poate spune cinve care ar fi calea sa modific Collate pentru tot serverul de SQL 2000?&lt;/p&gt;&lt;p&gt;Stiu ca am mai facut odata treaba asta dar nu mai gasesc nici in ruptul capului cum se o face....&lt;/p&gt;&lt;p&gt;Multumesc!&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;/div&gt;</description></item></channel></rss>