Viewing 15 posts - 5,656 through 5,670 (of 7,164 total)
When you use a Linked Server in a trigger you're starting a transaction on the remote server within the context of an already running transaction in the local server...which requires...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 4:47 pm
Please post DDL, DML to create sample data, expected results and what you have tried so far.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 4:36 pm
get-SqlServerList returns the instance name as part of the results. All I see you need to do is connect to each instance returned by that call and select the Edition...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 4:28 pm
sravnmaganti (7/5/2011)
Package Validation Error (Package Validation Error)
===================================
Error at Data Flow Task [OLE DB Destination [5779]]: Column "creation_tm" cannot convert between unicode...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 4:13 pm
radb4u (7/5/2011)
Hi, I have to execute the SSIS package from stored procedure.
Why?
Is there any simple way other than xp_cmdshell?
You could put the call to your SSIS package in a SQL...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 4:11 pm
As an alternative for you and others dropping by you can also fully qualify your proc reference like this:
SET @DUMMY = 'EXEC ' + @DB_Name + '.sys.sp_grantdbaccess ' +
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 3:51 pm
You can use this when assigning the value to the column in your UPDATE statement:
destination_column_name = CAST(source_column_name as XML)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 3:45 pm
It's risky to run with the default SQL Server max memory setting (unlimited). Please have a look at this article: http://www.sqlservercentral.com/blogs/glennberry/archive/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008.aspx
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 3:40 pm
xXShanXx (7/5/2011)
is it possibe on triggers to directly insert into the remote tables ?
Yes, but I am not sure what WC is referring to. I can't make a connection as...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 3:07 pm
Query from original post reformatted:
SELECT TOP 1
h.Invoice_id AS Invoice_Id,
h.IssueDate AS [Invoice Date],
h.Optional_1 AS [Division Buyer],
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 2:55 pm
Please post DDL, DML to create sample data, expected results and what you have tried so far.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 2:45 pm
SQLkiwi (7/5/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 2:13 pm
beejug1983 (7/5/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 2:07 pm
I can't help thinking about how this query might have been faster on the old hardware given the same plan (can you confirm the plan looked the same on the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 11:03 am
Ninja's_RGR'us (7/5/2011)
Gianluca Sartori (7/5/2011)
Ninja's_RGR'us (7/5/2011)
Gianluca Sartori (7/5/2011)
However 4 MLN rows from both tables is a huge load. I suspect it would run much better with a...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 5, 2011 at 10:44 am
Viewing 15 posts - 5,656 through 5,670 (of 7,164 total)