Viewing 15 posts - 4,471 through 4,485 (of 14,953 total)
Peter E. Kierstead (3/29/2011)
March 29, 2011 at 1:58 pm
I've been on both sides of this. It's a two-way street, and it'll fluctuate on "rules" depending on situations too.
The idea of a plan for the week followed up...
March 29, 2011 at 1:29 pm
After Delete triggers won't run for an update command, unless there's another trigger that's doing an explicit delete action and the cascading triggers option is turned on.
The inserted and deleted...
March 29, 2011 at 1:19 pm
jcrawf02 (3/29/2011)
March 29, 2011 at 1:10 pm
Per the documentation on xp_cmdshell, the advice on using double-quotes may be flawed.
From MSDN (http://msdn.microsoft.com/en-us/library/ms175046(v=SQL.105).aspx):
' command_string '
Is the string that contains a command to be passed to the operating...
March 29, 2011 at 1:05 pm
You're probably missing the Office 2007 data providers, based on the error.
They can be found at: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en
March 29, 2011 at 12:46 pm
SET has the advantage/disadvantage that any attempt to assign multiple values to the same variable will fail and raise an error.
SELECT has the advantage that you can assign values to...
March 29, 2011 at 12:44 pm
You can skip the top row in the connection manager. Will that accomplish what you need?
March 29, 2011 at 6:42 am
I would avoid the update to the Parents table completely, and drop that column in the table. It would be easier to query the Parents table and calculate status...
March 29, 2011 at 6:39 am
Instead of adding a trigger to the table, either add a column to the table that indicates it has been transfered to the other server, or add a log table...
March 29, 2011 at 6:21 am
Try this instead:
ship_to_addr1 +'
' + ship_to_addr2
March 29, 2011 at 6:07 am
Jeff Moden (3/28/2011)
Either way, I still think it's a really bad idea to have such sequences write directly into the table.
Yep. Calculate at runtime, unless it's actually necessary for...
March 28, 2011 at 2:35 pm
It's usually better to handle that kind of formatting in the application/presentation layer, but if you have to do it in the query, it can look like this:
coalesce(
ship_to_addr1 + char(13)...
March 28, 2011 at 1:56 pm
The recommendations don't change. Apply the SP in dev/test, definitely, but only apply the CUs if they're applicable. With both, test to make sure they don't break anything...
March 28, 2011 at 1:35 pm
Viewing 15 posts - 4,471 through 4,485 (of 14,953 total)