Viewing 9 posts - 1 through 9 (of 9 total)
I made a slight change to your code:
DECLARE @I INT = 0;
WHILE @I <[highlight="#ffff11"]=[/highlight] 10
BEGIN
IF @I%2 = 0
IF TAN(@I) > 0
...
July 18, 2016 at 2:51 pm
OK, thank you!
July 18, 2016 at 2:04 pm
Doesn't it matter if the OrderDT
is indexed or not when used in filter?
July 18, 2016 at 1:45 pm
Thanks Chuck for clarifying!
I agree with your statement:
it really needs to also be in the SELECT clause, and so that gives you some consistency in your predicates and the...
July 18, 2016 at 1:29 pm
I couldn't understand what exactly would be the use of the following code in real world? :unsure:
SELECT *
FROM MyOrder
WHERE CASE YEAR(OrderDT)
WHEN 2014 THEN 'Year 1'
WHEN 2013 THEN 'Year 2'
WHEN 2012...
July 18, 2016 at 1:00 pm
Upon my execution of Listing 12, I got the following results. So, I am not sure if I should agree with of using a JOIN is same as Subquery.
(1076 row(s)...
July 15, 2016 at 11:54 am
Could someone shed more light on the following code? What kind of scenario can this be used in a real world?
SELECT TOP (SELECT TOP 1 OrderQty
...
July 15, 2016 at 11:34 am
GilaMonster (1/23/2012)
Please don't cross post. It just wastes peoples time and fragments replies.No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1239976-17-1.aspx
The topic belongs to both the sections. So,...
January 23, 2012 at 4:35 pm
noeld (6/29/2005)
I don't know Pervasive DB either but I am pretty sure that the cast Construct is a MS proprietary thing. You should find out what are the functions used...
December 8, 2011 at 9:57 am
Viewing 9 posts - 1 through 9 (of 9 total)