Viewing 15 posts - 166 through 180 (of 253 total)
Thank you, Sean
It comes back as VARCHAR for a DataType column
October 15, 2014 at 4:38 am
Thank you, Ed
This is an issue - I am not allowed to publish any code for that specific customer.
This is why I am asking for guidelines only, as I...
October 14, 2014 at 2:34 pm
Forcing an index improved the performance from 03:55 to 01:46 only.
Anything else you could advise, please?
October 14, 2014 at 1:22 pm
Thank you!
I have looked into the actual execution plan (I am not sure I can publish it here due to company's security policy).
What I have seen that with CASE it...
October 14, 2014 at 12:05 pm
mister.magoo (7/1/2014)
(Note: I could not get this to work with your schema collection though, for some reason it complains about...
July 1, 2014 at 4:44 pm
Thank for the reply. I am getting "XQuery [value()]: Heterogeneous sequences are not allowed in '=', found 'xdt:anyAtomicType' and 'xs:unsignedByte'." when I try it.
That said, the requirement has been extended...
July 1, 2014 at 4:03 pm
Thank you.
From what I have seen, they end up with a same processing, meaning you need to know what level to look: SELECT @x.value('employees[1]/emp[2]/phone[1]','VARCHAR(20)') AS Phone
June 30, 2014 at 2:28 pm
Agree - my bad. It should be read "that problematic DB of mine had a compatibility set back to 90 (2005)"
June 24, 2014 at 11:09 am
Thanks, but found the issue already - that problematic DB of mine had a compatibility set back to 80 (2005). Once changed, all is working.
Thanks again.
June 24, 2014 at 7:54 am
Something like this?
select TOP 1 t.* from #return_schedule t
where COALESCE(t.col_val,0)=0
AND DATEDIFF(minute, t.time_sched_end_dt,t.time_sched_start_dt)>= 60
ORDER BY t.time_sched_start_dt ASC, t.time_sched_end_dt ASC
June 23, 2014 at 1:12 pm
Still not with you. Is it something you've been looking for?
WITH myEmp AS (
SELECT 1 AS empID,
'John' AS empName
UNION ALL
SELECT 2,
'Stephen'),
myAudit AS (
SELECT 1 AS auditID,
...
June 23, 2014 at 12:53 pm
Not sure I understood what you want to achieve. Is it OK to ask you to show before / after / what would you like to have by the end...
June 23, 2014 at 11:38 am
Thanks for looking!
I think after giving it a proper thought, the solution was easy after all:
WITH currencies AS (
SELECT 'AED' AS Currency,
0.454438 AS BaseToHedgeRate,
0 AS BaseCurrency
UNION...
June 13, 2014 at 4:46 am
Hi Lowell
Thank you for the quick reply, I didn't expect a solution, but guidelines what to do.
Thanks again!
February 20, 2014 at 5:45 am
Khades (1/27/2012)
Ok, looks like the compatibility level of some databases are set to 2005, found the issue, thanks!
Thanks, Khades!
You have saved my day with the compatibility level issue!
February 3, 2014 at 8:58 am
Viewing 15 posts - 166 through 180 (of 253 total)