Click here to Skip to main content
15,900,378 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query performance Pin
PIEBALDconsult10-Aug-10 17:59
mvePIEBALDconsult10-Aug-10 17:59 
AnswerRe: Query performance Pin
Bernhard Hiller10-Aug-10 20:17
Bernhard Hiller10-Aug-10 20:17 
Questionhow to write a query change the datatype for primary key coulm in atable using sqlserver 2008. Pin
Ch.Gayatri Subudhi9-Aug-10 19:42
Ch.Gayatri Subudhi9-Aug-10 19:42 
AnswerRe: how to write a query change the datatype for primary key coulm in atable using sqlserver 2008. Pin
Mycroft Holmes9-Aug-10 21:13
professionalMycroft Holmes9-Aug-10 21:13 
GeneralRe: how to write a query change the datatype for primary key coulm in atable using sqlserver 2008. Pin
Ch.Gayatri Subudhi9-Aug-10 21:19
Ch.Gayatri Subudhi9-Aug-10 21:19 
GeneralRe: how to write a query change the datatype for primary key coulm in atable using sqlserver 2008. Pin
Mycroft Holmes9-Aug-10 21:26
professionalMycroft Holmes9-Aug-10 21:26 
GeneralRe: how to write a query change the datatype for primary key coulm in atable using sqlserver 2008. Pin
5fingers10-Aug-10 22:29
5fingers10-Aug-10 22:29 
QuestionSQL Server Indexing Errors with message that should not apply Pin
JHizzle9-Aug-10 2:41
JHizzle9-Aug-10 2:41 
We have a maintenance plan set up to run on a set period taht includes indexing the databases. For some reason, the index tasks is faling with the following:
Failed:(-1073548784) Executing the query "ALTER INDEX [PK_redactedname] ON [dbo].[tblredactedname] REBUILD WITH ( PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, SORT_IN_TEMPDB = OFF, ONLINE = ON )
" failed with the following error: "Online index operation cannot be performed for index 'PK_redactedname' because the index contains column 'redactedfield' of data type text, ntext, image, varchar(max), nvarchar(max), varbinary(max) or xml. For non-clustered index the column could be an include column of the index, for clustered index it could be any column of the table. In case of drop_existing the column could be part of new or old index. The operation must be performed offline.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

I'm not an expert so I could be reading this wrong but the field that it's referring to...is not an identity field nor is it indexable so why is it trying? The message code is unfortunately too generic judging from google fu. I've tried looking around to see if there's a setting I need to override so that it doesn't try to index this table but to no effect.

Can anyone offer some pointers?
AnswerRe: SQL Server Indexing Errors with message that should not apply Pin
Mycroft Holmes9-Aug-10 21:16
professionalMycroft Holmes9-Aug-10 21:16 
GeneralRe: SQL Server Indexing Errors with message that should not apply Pin
JHizzle10-Aug-10 23:28
JHizzle10-Aug-10 23:28 
QuestionTransaction scope and MSDTC enable on which server Pin
devvvy9-Aug-10 2:31
devvvy9-Aug-10 2:31 
Questionwriting a scalar-function Pin
mrkeivan9-Aug-10 1:19
mrkeivan9-Aug-10 1:19 
AnswerRe: writing a scalar-function [modified] Pin
Goutam Patra9-Aug-10 1:38
professionalGoutam Patra9-Aug-10 1:38 
AnswerRe: writing a scalar-function Pin
J4amieC9-Aug-10 1:52
J4amieC9-Aug-10 1:52 
AnswerRe: writing a scalar-function Pin
PIEBALDconsult9-Aug-10 15:27
mvePIEBALDconsult9-Aug-10 15:27 
JokeRe: writing a scalar-function Pin
Mycroft Holmes9-Aug-10 16:28
professionalMycroft Holmes9-Aug-10 16:28 
GeneralRe: writing a scalar-function Pin
PIEBALDconsult9-Aug-10 16:48
mvePIEBALDconsult9-Aug-10 16:48 
GeneralRe: writing a scalar-function Pin
Mycroft Holmes9-Aug-10 17:01
professionalMycroft Holmes9-Aug-10 17:01 
GeneralRe: writing a scalar-function Pin
PIEBALDconsult9-Aug-10 17:25
mvePIEBALDconsult9-Aug-10 17:25 
Questionhow to execute stored procedure in a function using sql server 2000 Pin
developerit8-Aug-10 1:15
developerit8-Aug-10 1:15 
AnswerRe: how to execute stored procedure in a function using sql server 2000 Pin
The Digital Worm11-Aug-10 2:17
The Digital Worm11-Aug-10 2:17 
Questionquery optimization Pin
pstsp9117-Aug-10 13:07
pstsp9117-Aug-10 13:07 
AnswerRe: query optimization Pin
Mycroft Holmes8-Aug-10 2:04
professionalMycroft Holmes8-Aug-10 2:04 
AnswerRe: query optimization Pin
PIEBALDconsult9-Aug-10 17:21
mvePIEBALDconsult9-Aug-10 17:21 
Question0x00 byte problem while storing binary data to MySQL BLOB via ODBC (C API) Pin
whitesail7-Aug-10 2:24
whitesail7-Aug-10 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.