Viewing 15 posts - 3,121 through 3,135 (of 15,381 total)
Nuhamovici (3/19/2015)
Can you share the code that does this? Calling sp_who from within a function?
Why? What could you possibly gain from calling a stored proc from within a function? You...
March 19, 2015 at 9:32 am
terry999 (3/13/2015)
It takes about >95% of the time to move this...
March 13, 2015 at 10:10 am
terry999 (3/13/2015)
I'm archiving some data. In a 2 step process.
1. Copy old data from each table in LiveDB to same table in ArchiveDB.
2. Delete the data from each...
March 13, 2015 at 8:42 am
To expand on Gail's recommendation of brackets I am pretty sure you want something more like this.
WHERE
b.field1 LIKE 'ABC'
AND b.field2 BETWEEN GETDATE() - 30...
March 13, 2015 at 8:05 am
measterbro (3/12/2015)
March 12, 2015 at 12:41 pm
I am obviously missing something here because making this run as dynamic sql seems a layer of complexity that just isn't needed here. It sort of looks like a dynamic...
March 12, 2015 at 12:32 pm
Have you evaluated the contents of your dynamic sql? I would do that too. without knowing the exact code you are trying to execute it is difficult to know what...
March 12, 2015 at 12:08 pm
measterbro (3/12/2015)
Msg 102, Level 15, State 1, Line 67
Incorrect syntax...
March 12, 2015 at 12:05 pm
Brandie Tarvin (3/12/2015)
March 12, 2015 at 10:56 am
Brandie Tarvin (3/12/2015)
Stephanie Giovannini (3/12/2015)
March 12, 2015 at 9:22 am
thomashohner (3/12/2015)
Thank you so much. This did work and provided my solution to a very hard to understand table structure and requested query I was dealing with. I have...
March 12, 2015 at 9:18 am
measterbro (3/12/2015)
March 12, 2015 at 9:14 am
ZZartin (3/12/2015)
Sean Lange (3/12/2015)
March 12, 2015 at 8:48 am
This thing screams of denormalized data when I see columns like IRSORRES6, IRSORRES7, IRSORRES8. If you can normalize the data you could eliminate the need to have 3 queries here...
March 12, 2015 at 8:31 am
andyscott (3/12/2015)
March 12, 2015 at 8:29 am
Viewing 15 posts - 3,121 through 3,135 (of 15,381 total)