SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Dynamic Collation Query
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jco510811
Starting Member

9 Posts

Posted - 08/21/2006 :  09:02:30  Show Profile  Reply with Quote
Hi,

Does anyone have any code that will dynamically change the collation of tables etc?

Thanks in adavance

harsh_athalye
Flowing Fount of Yak Knowledge

India
5581 Posts

Posted - 08/21/2006 :  09:24:14  Show Profile  Visit harsh_athalye's Homepage  Click to see harsh_athalye's MSN Messenger address  Send harsh_athalye a Yahoo! Message  Reply with Quote
Why do you want to do this? You will have to change collation for every character column of the table...If you want to do this for each table, better change collation at DB level, changing collation only for some table is to be with extreme care and avoided as far as possible.

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30265 Posts

Posted - 08/21/2006 :  09:26:44  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Does changing the collation for the database, really change all the already created tables and column too? Or is it only added tables and columns thereafter that inherits the new collation?

I am sure there are many topics about changing collation at this forum.

Peter Larsson
Helsingborg, Sweden
Go to Top of Page

jco510811
Starting Member

9 Posts

Posted - 08/21/2006 :  09:36:41  Show Profile  Reply with Quote
hi,

Thakns for this - is there any chnace to can tell me how to do at db level?

Thanks
Go to Top of Page

harsh_athalye
Flowing Fount of Yak Knowledge

India
5581 Posts

Posted - 08/21/2006 :  10:38:52  Show Profile  Visit harsh_athalye's Homepage  Click to see harsh_athalye's MSN Messenger address  Send harsh_athalye a Yahoo! Message  Reply with Quote
quote:
Originally posted by Peso

Does changing the collation for the database, really change all the already created tables and column too? Or is it only added tables and columns thereafter that inherits the new collation?

I am sure there are many topics about changing collation at this forum.

Peter Larsson
Helsingborg, Sweden



oh, Yes....Sorry Peter, you are right...I had something else on my mind !

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000