Viewing 9 posts - 1 through 9 (of 9 total)
Yeah, I was probably thinking that this would be a quick and easy(ish) thing to do!
Thanks for all the help. I will leave as it is.
May 7, 2015 at 8:09 am
The problem with the database is that it is indeed a legacy system.
That field is actually a free entry field so a user can enter what they want.
The majority of...
May 7, 2015 at 7:50 am
Gazareth, yes very observant, you are correct Period - I mean customer_order_no - '01/01/15 - 20/01/15' etc.
I am adapting old code, hence the numerous substrings - I don't know why...
May 7, 2015 at 7:24 am
The NOLOCK was drilled into me at my last job by the DBA there. He said it would stop deadlocks given records are constantly updating. It was a...
June 23, 2014 at 8:29 am
Thanks, that is fantastic, a great lesson for me too ?
I’ve never used cross apply before. I had a look at using to DECLARE a variable etc but this...
June 23, 2014 at 6:54 am
Hi Sachin,
They're currently stored in a varchar(max) field.
Some examples
IDCOMMENT
1New service
2NULL
3CED:01/09/2014
4CED:01/10/2007
5Contract renewed CED:31/10/2016
Thanks,
Gwyn
June 23, 2014 at 3:53 am
Thanks for the replies - I get it now!
Did the case, then a right() to get the date.
Cheers for the help 😀
January 17, 2014 at 9:39 am
Thanks 🙂
I will try that case. Cannot use where as script is huge as it is with lots of unions and where clauses so just wanted a nice easy...
January 17, 2014 at 9:17 am
Viewing 9 posts - 1 through 9 (of 9 total)