Wednesday, March 7, 2012
Alter Database Collation ( If possible )
Can i change my existing database collation with new one ,if it is possible than how i will be done
Thank's for any suggesion
Faheem Lati
NETWORK SOLUTIONHello Faheem,
You can change the default database collation by writing something like
this:
ALTER DATABSE [testing] COLLATE French_CI_AS
But - this will only change the collation for any new tables. Already
created tables will keep their collation, and you have to change them also,
if that's what you're looking for. Look in BOL for the ALTER TABLE syntax to
change the collation of a table.
HTH,
Andrés Taylor
"Faheem" <anonymous@.discussions.microsoft.com> wrote in message
news:EFF8D2E4-951F-470B-B75D-DFCCE4F1C237@.microsoft.com...
> Dear Experts ,
> Can i change my existing database collation with new one ,if it is
possible than how i will be done.
> Thank's for any suggesion .
> Faheem Latif
> NETWORK SOLUTION
Alter Database Collation ( If possible )
Can i change my existing database collation with new one ,if it is possible than how i will be done.
Thank's for any suggesion .
Faheem Latif
NETWORK SOLUTION
Hello Faheem,
You can change the default database collation by writing something like
this:
ALTER DATABSE [testing] COLLATE French_CI_AS
But - this will only change the collation for any new tables. Already
created tables will keep their collation, and you have to change them also,
if that's what you're looking for. Look in BOL for the ALTER TABLE syntax to
change the collation of a table.
HTH,
Andrs Taylor
"Faheem" <anonymous@.discussions.microsoft.com> wrote in message
news:EFF8D2E4-951F-470B-B75D-DFCCE4F1C237@.microsoft.com...
> Dear Experts ,
> Can i change my existing database collation with new one ,if it is
possible than how i will be done.
> Thank's for any suggesion .
> Faheem Latif
> NETWORK SOLUTION
Alter Database Collation ( If possible )
Can i change my existing database collation with new one ,if it is possible
than how i will be done.
Thank's for any suggesion .
Faheem Latif
NETWORK SOLUTIONHello Faheem,
You can change the default database collation by writing something like
this:
ALTER DATABSE [testing] COLLATE French_CI_AS
But - this will only change the collation for any new tables. Already
created tables will keep their collation, and you have to change them also,
if that's what you're looking for. Look in BOL for the ALTER TABLE syntax to
change the collation of a table.
HTH,
Andrs Taylor
"Faheem" <anonymous@.discussions.microsoft.com> wrote in message
news:EFF8D2E4-951F-470B-B75D-DFCCE4F1C237@.microsoft.com...
> Dear Experts ,
> Can i change my existing database collation with new one ,if it is
possible than how i will be done.
> Thank's for any suggesion .
> Faheem Latif
> NETWORK SOLUTION
Alter Column Type.
Easy one for the SQL experts.
I have a simple table. For the example let's say it looks like this:
CREATE TABLE doc_exb ( column_a INT, column_b VARCHAR(20) NULL)
Now I want to alter this table and make the column column_a a float
instead of an INT.
How do I do that? I cannot DROP and ADD the column I would lose some
very precious data.
Thanks a lot"luc h" <lhovhannessian@.hotmail.com> wrote in message
news:d4175164.0402250955.2802d9e3@.posting.google.c om...
> Hello,
> Easy one for the SQL experts.
> I have a simple table. For the example let's say it looks like this:
> CREATE TABLE doc_exb ( column_a INT, column_b VARCHAR(20) NULL)
> Now I want to alter this table and make the column column_a a float
> instead of an INT.
> How do I do that? I cannot DROP and ADD the column I would lose some
> very precious data.
> Thanks a lot
See ALTER TABLE in Books Online:
alter table dbo.doc_exb
alter column column_a float
Simon
Thursday, February 16, 2012
Allow Null values
Hello experts,
I’ve got I little problem how the Null values are stored in the Cube.
I’ve got a Dimension what contains an Attribute e.g. “MyPerfectDate”.
Sometimes this Attribute has a Null value.
So far so long no problems.
Now if I try to build a Report with SSRS and found out, that SSAS stored the NULL values as blank or “empty” and change the datatype.
I tried to work with the DataItem and set NullProcesing to “Preverse” or “UnknownMember” but this doesn’t resolve my Problem.
Have someone another idea?
Thanks a lot
Alex
Hello,
Have nobody any idea?
This problem sounds not so complex to me, I think I forgot an option.
Could it be that I forget some information that you couldn’t help me?
Yours sincerely,
Alex
|||We had a similar problem with a string value containing nulls and empty values in RS. Our solution was to go back to the cube and change the value to "". Since, yours is a date you might want to set the date to 1/1/1753.
|||Hello phuhn,
Thanks a lot for the response. Today I thought about this option too.
You never found a better solution? I don’t know why my solution didn’t work, because there are some others threads and there is the solution to change the DataItem….
Best regards,
Alex
Allow Null values
Hello experts,
I’ve got I little problem how the Null values are stored in the Cube.
I’ve got a Dimension what contains an Attribute e.g. “MyPerfectDate”.
Sometimes this Attribute has a Null value.
So far so long no problems.
Now if I try to build a Report with SSRS and found out, that SSAS stored the NULL values as blank or “empty” and change the datatype.
I tried to work with the DataItem and set NullProcesing to “Preverse” or “UnknownMember” but this doesn’t resolve my Problem.
Have someone another idea?
Thanks a lot
Alex
Hello,
Have nobody any idea?
This problem sounds not so complex to me, I think I forgot an option.
Could it be that I forget some information that you couldn’t help me?
Yours sincerely,
Alex
|||We had a similar problem with a string value containing nulls and empty values in RS. Our solution was to go back to the cube and change the value to "". Since, yours is a date you might want to set the date to 1/1/1753.
|||Hello phuhn,
Thanks a lot for the response. Today I thought about this option too.
You never found a better solution? I don’t know why my solution didn’t work, because there are some others threads and there is the solution to change the DataItem….
Best regards,
Alex