Viewing 15 posts - 76 through 90 (of 269 total)
When I try with collate I get incorrect syntax..
SELECT
'EXEC sp_rename ''' + TABLE_SCHEMA + '.' + TABLE_NAME + '.' + COLUMN_NAME + ''', ''' + UPPER(COLUMN_NAME) + ''',''COLUMN''' FROM INFORMATION_SCHEMA.COLUMNS...
December 15, 2011 at 8:26 am
We are facing some issues on the application with the lower case fields in the database.. So we need to change them all to upper case..
I would really...
December 15, 2011 at 8:11 am
When I try without limiting to character fields it works and I seem to get all the fields in lower case.
SELECT
'EXEC sp_rename ''' + TABLE_SCHEMA + '.' + TABLE_NAME +...
December 13, 2011 at 2:20 pm
Oh no.. Is there a way to find the non character columns that are in lower case? I should may be run the sql for non character fields first and...
December 13, 2011 at 1:52 pm
Thanks a lot!!
One other doubt, do I need to drop & recreate all DF* and check constraints for those columns before I can rename them?
Thanks
December 13, 2011 at 1:39 pm
Thanks a lot!!
One other doubt, do I need to drop & recreate all DF* and check constraints for those columns before I can rename them?
Thanks
December 13, 2011 at 1:38 pm
It works but this generates script for all the columns.. We need the results only for specific tables with the collation !SQL_Latin1_General_CP1_CI_AS for the character columns... I tried the below:
SELECT
...
May 11, 2011 at 11:50 am
Thanks... SSMS is very helpful but since we will have to run this on a few environments we need to script it.. I tried the below query, it works to...
May 11, 2011 at 10:49 am
Thanks for your reply. Yes it is check constraint.
We have a few char/varchar/nchar columns that we would like the collation to be changed.. To remove the constraints & indexes...
May 11, 2011 at 9:14 am
I tried the sql using openquery but I'm not getting it right..
SELECT * from OPENQUERY(LS, 'SELECT * FROM U.ABO,
U.LED_ID,
U.PROJECT_NO,
T.WORDC,
...
May 10, 2011 at 11:18 am
Thanks a lot for your reply.
We don't have any CLOB/BLOBS columns in the oracle tables.. Since our application code is already written and we are testing the...
May 10, 2011 at 8:39 am
Hi all,
APplication connects to non-unicode SQL server database which has linked server connected to unicode Oracle database. Unfortunately, the application does not work when selecting unicode Oracle tables...
March 28, 2011 at 2:43 pm
I agree. But if the length is 0 for trlc.weight in SQL Server, it makes me wonder how this "select * from trlc where weight= ' '; - will return...
March 8, 2011 at 9:00 am
Viewing 15 posts - 76 through 90 (of 269 total)