Viewing 15 posts - 91 through 105 (of 157 total)
I had to add COLLATE Database_Default, in order to get it to work.
As in:
/********************************************************************************************
*
* Author Rafal Skotak
* Purpose Created view displays all text columns' collations in the current database,
*...
April 4, 2008 at 2:31 am
Josep,
A Very nice script. Very useful.
I've added 2 features:
a) to have a MOVE xx to yy clause, so that the files can be restored to different drives/directories.
b) Stats=1, so...
February 12, 2008 at 2:31 am
Kenneth,
I work in a place with over 13000 employees, and 700+ h/w & s/w developers.
Naturally there are a lot of SQL installations.
The listed ones are just the ones that my...
January 16, 2008 at 7:00 am
Kenneth,
Thank you for bringing this to my attention.
Nice way to test the solution.
We have these collations
Danish_Norwegian_CI_AI
Danish_Norwegian_CI_AS
SQL_Latin1_General_CP1_CI_AS
SQL_Scandinavian_Pref_CP850_CI_AS (the only problematic, as far as I can see)
Latvian_CI_AS (the next one on...
January 16, 2008 at 1:32 am
Noel,
But it requires room for two copies of your database.
Our main database (at our biggest site) is about 800 GB, so having a backup ready at hand, and an additional...
January 16, 2008 at 1:25 am
John,
>>Be warned that if you change...
Which is exactly why we want to change the collation.
We upgraded a lot of databases from sql 2000 to sql 2005, and the tempdb no...
January 16, 2008 at 1:22 am
Kenneth,
Hurraaaa. 🙂
Thank you for testing, and sharing.
Henrik
January 15, 2008 at 3:16 am
Noel,
Are you saying that "ALTER TABLE xx ALTER COLUMN yy COLLATE zz" does not change the data in the table, that it only changes how the table appears to the...
January 15, 2008 at 1:37 am
Hi Kenneth,
My colleague has written the script in order to invalidate the "old proven" way.
We have tested it on our database, but have not had the currage to go live...
January 14, 2008 at 11:47 am
hi,
This only change the collation on the database, not the objects in the database.
Best regards,
Henrik Staun Poulsen
January 14, 2008 at 5:36 am
here is a small enhancement that will make it show more characters on a SQL Server 2005 box.
USE vdc
exec usp_DeleteIfExists 'dba_ShowCodeLine', 'STORED PROC'
go
CREATE PROCEDURE dbo.dba_ShowCodeLine
(
@SPID...
November 26, 2007 at 12:25 pm
Here is my suggestion.
Tested on SQL Server 2005, with sp_send_dbmail instead. Tests all drive letters.
SQL Code only:
--Author : Addanki Reddyprasad
--Usage : According to threshold value the respective person will get...
November 23, 2007 at 1:11 am
Wayne,
Thank you for your suggestion. I'm not sure I like mirrowing, as it is not simple. Currently we have problems with the backup/restore process we have, as restores have started...
September 3, 2007 at 4:08 am
I have a small "Attribute-Value" table, and a UDF to go with it.
Then I can do SELECT * FROM Orders where PaymentType = dbo.fn_SystemInfo('VISA'). Unfortunately this results in a convertion...
August 28, 2007 at 8:04 am
Viewing 15 posts - 91 through 105 (of 157 total)