Viewing 15 posts - 1 through 15 (of 147 total)
Many thanks Drew for the suggestion and many thanks Steve - that was exactly what I needed.
You guys are stars!
March 23, 2023 at 3:45 pm
Solved...
Needed
ALTER AUTHORIZATION ON DATABASE::[DB_Test1] TO [sa]
GO
August 25, 2022 at 11:28 am
Code here...
CREATE MESSAGE TYPE ReceivedOrders
AUTHORIZATION dbo
VALIDATION = NONE
GO
CREATE CONTRACT postmessages (ReceivedOrders SENT BY ANY)
GO
CREATE QUEUE OrderQueue WITH STATUS = ON, RETENTION = OFF
GO
CREATE SERVICE OrderService
AUTHORIZATION dbo
ON...
August 25, 2022 at 11:14 am
Nice Jacob. thanks for the response.
September 29, 2020 at 4:24 pm
That did it - seems very obvious now and I feel a bit foolish!
Many thanks for taking the time to respond.
September 29, 2020 at 4:13 pm
Joe, chill out man - no one died, it's just a bit of code... It's not even a real table or data - I only created it to highlight my...
September 21, 2017 at 1:54 pm
Drew, that's a great solution. Many thanks.
September 20, 2017 at 2:34 pm
Perfect Phil. Many, many thanks for your help.
September 20, 2017 at 12:19 pm
Phil, you are a legend!
One further small request for help... If I wanted to make it so that if the last occurence was not missed, the record was...
September 20, 2017 at 12:01 pm
That's a good idea. Thanks
December 7, 2016 at 12:28 pm
That's great guys - thanks for all your help on this.
Many many thanks. 😀
December 22, 2015 at 2:06 pm
That works well Chris,
The only bit which doesn't work is the padding of the number to two digits with zero. I replaced your RIGHT('00' + rn, 2)
With
REPLICATE('0', 2 - LEN(rn))...
December 22, 2015 at 4:15 am
ChrisM@Work (12/22/2015)
December 22, 2015 at 3:54 am
John Mitchell-245523 (12/22/2015)
December 22, 2015 at 3:41 am
Brilliant Sean - Many thanks for this. 😀
November 20, 2015 at 7:59 am
Viewing 15 posts - 1 through 15 (of 147 total)