Viewing 15 posts - 2,776 through 2,790 (of 5,103 total)
There is no index on QuestionId in table vts_tbAnswer.
Sorry but :
CREATE CLUSTERED INDEX [idxiQuestionID] ON [dbo].[vts_tbAnswer]([QuestionId]) ON [PRIMARY]
GO
Proof your assumption wrong
...
September 8, 2005 at 10:06 am
another good one is:
Have a nice day ... unless you have other plans from "GilaMonster"
![]()
![]()
September 7, 2005 at 4:07 pm
Don't have much time now but a glance at your indexes logic indicate that your :
CREATE CLUSTERED INDEX [idxiPollID] ON [dbo].[vts_tbQuestion]([SurveyID], [ParentQuestionID], [QuestionId]) ON [PRIMARY]
GO
Should probably better be:
CREATE UNIQUE...
September 7, 2005 at 4:04 pm
Here is my favorite from "rudy komacsar"
exec sp_update_resume -- followed by
exec sp_distribute_resume
![]()
September 7, 2005 at 3:54 pm
Watch out for NULLs on those <> comparisons though ![]()
September 7, 2005 at 3:18 pm
what SP are you running? :
select severproperty('ProductVersion'), serverproperty('ProductLevel')
September 7, 2005 at 10:24 am
September 7, 2005 at 10:20 am
Tools:
Sql Compare -> Redgate
SQL Diff --> Apex SQL (look at the add)
DB Ghost --> Look at the Adds on the site
ChangeManager --> Embarcadero Technologies
etc..
Finally there is an script that works well...
September 7, 2005 at 10:12 am
Just one more thing!
Make sure you have indexes in place for the joins and that a you are getting seeks over only one table scan!
September 7, 2005 at 9:33 am
Carlos scripting the change is maybe the only way around and is not very complicated. There is not such thing as sp_altertype ![]()
September 7, 2005 at 9:21 am
User defined data-types are not ALTERABLE!! to accomplish what you want you need to create a new type, alter those columns using the old type to use the new and...
September 7, 2005 at 9:14 am
BCP only works with csv of fixed length text files
DTS can use XL Sheets directly
Or
You can create a Linked server or use Openrowset to access the file directly from SQL
September 6, 2005 at 2:14 pm
Looks very funny but is very difficult to pronounce ![]()
September 6, 2005 at 2:00 pm
You just need two insert statements
insert into Table1 (fld1,fld2,fld3,fld4,fld5)
select DareID, Type, Brand, Model, Serial from XLSheet
--XLSheet is View wrapping a linked server access
insert into Table2 (fld1,fld2)
select Vendor, OuRPO...
September 6, 2005 at 1:54 pm
Viewing 15 posts - 2,776 through 2,790 (of 5,103 total)