Viewing 15 posts - 76 through 90 (of 117 total)
Try the following syntax -
ALTER TABLE dbo.test1
ALTER COLUMN test VARCHAR(255) COLLATE German_Phonebook_CI_AS NULL
Note: There sould not be any dependent objects for the column......if exists, you need to drop them and...
April 17, 2008 at 6:22 am
By default trace, do you mean that by default a trace runs for the SQL events always? What are the events that are logged in it?
Where is it saved(default location)?...
April 17, 2008 at 5:40 am
Points worth noting -
For Backup/Restore
1> As the databases are on the same server, the necessity for moving data is not there. But, in future, if you plan to move the...
April 17, 2008 at 5:32 am
Try by setting the isolation level to serializable......
this might be due to changes in how locks work in SQL 2005.........there is an accountable change in the same.....
April 17, 2008 at 5:18 am
You can also view the data collating the column to the required one as follows -
select test collate German_Phonebook_CI_AS
from dbo.test1
Note: Check your relevant collation from the SQL Server collation list
April 17, 2008 at 5:13 am
I merely gave it as a support for my opinion that for a different order of data, SQL Server needs to store it in the order specified by the index...
April 17, 2008 at 4:54 am
I am sorry to say this, but the project pans are the properties of the respective companies.....releasing them will lead to breach of contract and is against professional ethics.
Please don't...
April 17, 2008 at 4:08 am
Well, to support my opinion about storage and clustered index, try out the following....
create a view with schema binding......then try to create a non-clustered index on it......
April 17, 2008 at 4:02 am
Remove.....delete.....re-create......simple....
else, check your where clause for the delete statement.....
and you can never truncate a table with imposed constraints on it....you have to have to remove the constraints for that.....
April 17, 2008 at 3:24 am
I accept that this aspect was unknown to me, that a table need not have a Clustered index to have a NC index...thanks for that....but does this change my basic...
April 17, 2008 at 3:16 am
Now drop the index and create the following index on the table -
CREATE NONCLUSTERED INDEX [TEST1]
ON [dbo].[test1]
(
[test] ASC
)
INCLUDE ([id])
WITH (PAD_INDEX = OFF,
STATISTICS_NORECOMPUTE = OFF,
SORT_IN_TEMPDB =...
April 17, 2008 at 2:24 am
Ok GilaMonster.....I am giving an example....can you please tell me why this happens?
CREATE TABLE [dbo].[test1](
[id] [int] IDENTITY(1,1) NOT NULL,
[test] [varchar](255) NULL
)
INSERT INTO test1([test])
VALUES('1')
INSERT INTO test1([test])
VALUES('11')
CREATE NONCLUSTERED INDEX [TEST1]
ON [dbo].[test1]
(
[test]...
April 17, 2008 at 2:15 am
if you really want to drop the table, you can script the drop by right click on the table in Management Studio (SSMS)......
But it seems you have complicated things and...
April 17, 2008 at 1:33 am
I am devising a way to help you out in looping, as I know the tidious job in doing recursive work for a volume as big as 100 servers.....
As of...
April 16, 2008 at 6:09 am
what is the initial size and auto growth values for your database?
and are you sure that ur fill factors are 100%? This is true for the master database...check the differences....
April 16, 2008 at 4:57 am
Viewing 15 posts - 76 through 90 (of 117 total)