HI There,
when i select the top 200 rows for a table and then select the SQL for the select it includes the table collation in one of the columns:
SELECT TOP (200) MediaFileUploadId, MediaFileFormatID, Name COLLATE Latin1_General_CI_AS AS Expr1, ProgrammeTemplateID, UploadedDate,
CreatedBy COLLATE Latin1_General_CI_AS AS Expr2, CreatedDateTime, ModifiedBy COLLATE Latin1_General_CI_AS AS Expr3, ModifiedDateTime,
Active, RowVersion, MediaFileUploadTypeId, MediaFileStatusId, FileSize, InUTC, OutUTC, MediaFileURL COLLATE Latin1_General_CI_AS AS Expr4,
PublishId, StartDate, ProfileId, OriginalName COLLATE Latin1_General_CI_AS AS Expr5, BRINumber, Title, Description
FROM MediaFileUpload
However if i log in as a seperate user and perform the same action i receive the sql without the collation.
Would anyone know why sql server is doing this?
Thanks in advance,
Niall
when i select the top 200 rows for a table and then select the SQL for the select it includes the table collation in one of the columns:
SELECT TOP (200) MediaFileUploadId, MediaFileFormatID, Name COLLATE Latin1_General_CI_AS AS Expr1, ProgrammeTemplateID, UploadedDate,
CreatedBy COLLATE Latin1_General_CI_AS AS Expr2, CreatedDateTime, ModifiedBy COLLATE Latin1_General_CI_AS AS Expr3, ModifiedDateTime,
Active, RowVersion, MediaFileUploadTypeId, MediaFileStatusId, FileSize, InUTC, OutUTC, MediaFileURL COLLATE Latin1_General_CI_AS AS Expr4,
PublishId, StartDate, ProfileId, OriginalName COLLATE Latin1_General_CI_AS AS Expr5, BRINumber, Title, Description
FROM MediaFileUpload
However if i log in as a seperate user and perform the same action i receive the sql without the collation.
Would anyone know why sql server is doing this?
Thanks in advance,
Niall