Viewing 15 posts - 241 through 255 (of 505 total)
Also note these table are in 2 different databases, I didn't indicate that in the statement I originally posted.
Here is execution results of the queries you sent, I modified them...
September 28, 2011 at 11:27 am
GSquared thanks for helping with this.
We are on 2008 R2 Ent.
here are the table and index defs
CREATE TABLE ADMStage.[dbo].[EventReference] (
[EventGuid] [uniqueidentifier] NOT NULL
,[DateKey]...
September 28, 2011 at 9:47 am
Ok, I've attached 2 plans, the original (plan1) and a second with the where condition removed (plan2)
September 27, 2011 at 11:08 am
If anyone is interested here are the rest of the pieces...
I use the stored procedure (below) to load this table. then I export the table to Excel (using ssis). We...
July 28, 2011 at 10:37 am
Thanks for the help everyone.
Here is my modified SP using dynamic sql for entire statement, works much better, although I'm not sure why I need the commit but without it...
July 28, 2011 at 10:24 am
got it, little slow today I guess.....
July 28, 2011 at 9:56 am
Ok, what is MAX DOP 1 ??
July 28, 2011 at 9:46 am
Ninja, that makes sense, just like what I stated a couple posts above regarding Adi's post.
July 28, 2011 at 9:30 am
declare @SqlCmd nvarchar(200)
declare @Database varchar(200)
set @Database = 'tempdb'
SET @SqlCmd = 'Use ' + @Database + ' PRINT db_name()' --should show tmpedb
...
July 28, 2011 at 9:26 am
Ok, here is the whole procedure
Error:
Msg 50000, Level 16, State 1, Procedure ApplyExtendedProperties, Line 145
Object is invalid. Extended properties are not permitted on 'dbo.MessageMask.ColumnMapping', or the object does not exist.
dbo.messagemask.columnMapping...
July 28, 2011 at 9:17 am
Thanks for the help, obviously my understanding of nvarchar(max) was not so good. I get it now, guess I've never run into this before.
July 25, 2011 at 10:24 am
Ninja, what do you mean by post DLL?
Sorry nevermind, didn't read properly
July 25, 2011 at 9:53 am
Lowell,
That appeared to work, I'm confused now, when I do the print statement I only get part of the definition, but the execution works.
Is Nvarchar(4000) the same as Nvarchar(max)?
July 25, 2011 at 9:42 am
that is what I am currently using, the variable name is @ViewDefinition, this is the variable that gets executed, it's too small and cuts off the view definition so the...
July 25, 2011 at 9:35 am
no errors tried all options, not going to set trustworthy on as that blog suggests. did everything else nothing.
So i just put the stored procedure call in my SSIS...
July 22, 2011 at 12:54 pm
Viewing 15 posts - 241 through 255 (of 505 total)