Viewing 15 posts - 1,366 through 1,380 (of 1,988 total)
Iwas Bornready (5/3/2016)
Andy Warren (5/3/2016)
May 4, 2016 at 9:01 am
Ray K (5/4/2016)
Grumpy DBA (5/4/2016)
djj (5/4/2016)
ThomasRushton (5/4/2016)
TomThomson (5/3/2016)
Ed Wagner (5/3/2016)
RandyThe Band
Bonzo
Bozo (the clown)
Krusty (the clown)
Pennywise (the clown)
Turtle
May 4, 2016 at 8:53 am
I believe you'd be looking for the DENSE_RANK or RANK functions to do what you're trying to do with the Account ID's, keep in mind that will break if you...
April 29, 2016 at 2:42 pm
Instead of processing all the records for each table then moving on to the next, can you process all the records in all the tables related to one customer?
Another option...
April 28, 2016 at 12:44 pm
You need to convert the @numRows to a varchar before trying to append it to the string.
Also it looks like you're just using TOP <x> rows on the main table,...
April 28, 2016 at 10:04 am
crookj (4/28/2016)
Luis Cazares (4/28/2016)
mjagadeeswari (4/28/2016)
djj (4/28/2016)
ThomasRushton (4/28/2016)
Ed Wagner (4/28/2016)
whereisSQL? (4/27/2016)
jeff.mason (4/27/2016)
Luis Cazares (4/27/2016)
Ray K (4/27/2016)
Ed Wagner (4/27/2016)
Big BrotherBig Sister
Candace
Bergan
Actress
Lead
Balloon
Helium
Atom
Arrow
Flash
Levitt
April 28, 2016 at 8:23 am
Iwas Bornready (4/28/2016)
David.Poole (4/28/2016)
We also have the...
April 28, 2016 at 8:10 am
Ed Wagner (4/27/2016)
djj (4/27/2016)
ThomasRushton (4/27/2016)
Ed Wagner (4/27/2016)
djj (4/27/2016)
Stuart Davies (4/27/2016)
crookj (4/26/2016)
Manic Star (4/26/2016)
Luis Cazares (4/26/2016)
Ed Wagner (4/26/2016)
whereisSQL? (4/26/2016)
Ed Wagner (4/26/2016)
Luis Cazares (4/26/2016)
Ray K (4/26/2016)
Ed Wagner (4/26/2016)
SongMusic
Sound
Waves
Ride
Horse
No Name
Rain (felt good to...
April 27, 2016 at 7:38 am
In your join you have this,
pm_inv.meta_key='_invoice_no'
In your case statement in the select you have this,
pm_inv.meta_key = '_invoice_date'
Won't those be mutually exclusive?
April 26, 2016 at 9:20 am
Grant Fritchey (4/26/2016)
GilaMonster (4/26/2016)
Grant Fritchey (4/26/2016)
April 26, 2016 at 8:53 am
What is the format of the send mail command you are using that worked successfully? It's also possible that your mail server is eating the emails from your Agent...
April 21, 2016 at 2:02 pm
Ed Wagner (4/19/2016)
Grumpy DBA (4/19/2016)
crookj (4/19/2016)
Gamble
Venture
Capital
Cash
Grab
April 19, 2016 at 7:29 am
Ok so I hit my books last night and I am going to use row_number I think for the case part, although I am looking at reworking the query as...
April 15, 2016 at 7:29 am
Phil Parkin (4/14/2016)
ZZartin (4/14/2016)
April 14, 2016 at 10:00 am
Your order by isn't working because you are trying to sort by a alphanumeric field that doesn't sort in the order you want. Did you try this,
ORDER BY
case...
April 14, 2016 at 9:28 am
Viewing 15 posts - 1,366 through 1,380 (of 1,988 total)