Viewing 15 posts - 5,386 through 5,400 (of 6,036 total)
Use "Design Table" in EM.
Make all desired changes but don't press "Save". Click on "Create Script" and copy it to QA.
_____________
Code for TallyGenerator
April 20, 2006 at 4:55 am
What are the values of @Stream1 and @Stream2
_____________
Code for TallyGenerator
April 20, 2006 at 3:33 am
So,
select h.salesrep_Name ,disp_code,description,count(act_status)
from modifiedcalldata m
LEFT outer join histdata h on m.prog_sol_number = h.prog_sol_number
LEFT outer join dispositions d on d.disp_code = m.act_status
where month(calldate) = 3
group by h.salesrep_Name ,disp_code,description...
_____________
Code for TallyGenerator
April 20, 2006 at 3:30 am
REPLACE(Country, ' ', '')
_____________
Code for TallyGenerator
April 20, 2006 at 2:13 am
SELECT col1, col2, col3, MIN(col4)
FROM
_____________
Code for TallyGenerator
April 20, 2006 at 2:11 am
Which table column "calldate" belongs to?
Which table is main in this query?
_____________
Code for TallyGenerator
April 20, 2006 at 2:09 am
April 18, 2006 at 9:52 pm
You don't need cursor at all.
DECLARE @TBL TABLE (
PCT int,
CDate datetime,
GroupCol varchar(50))
INSERT INTO @TBL
SELECT 20, '2006-04-01', 'A'
UNION
SELECT 15, '2006-04-02', 'A'
UNION
SELECT 12, '2006-04-03', 'A'
UNION
SELECT 17, '2006-04-04', 'B'
UNION
SELECT 14, '2006-04-05', 'B'
UNION
SELECT...
_____________
Code for TallyGenerator
April 17, 2006 at 7:33 pm
So, there is no JOIN, there is INNER JOIN, and you may use alias name "JOIN" for referensing actual "INNER JOIN".
Same for LEFT JOIN and LEFT OUTER JOIN.
If you do...
_____________
Code for TallyGenerator
April 17, 2006 at 7:09 pm
April 17, 2006 at 6:43 pm
Optimiser choses the fastest way to execute query. That's why it applyes strongest condition first to eliminate maximum number of rows from resultset.
" > 5" is stronger that "ISMUMERIC", that's...
_____________
Code for TallyGenerator
April 17, 2006 at 3:52 pm
Author must have used set of values with another year.
Because he displays the table with value '2002-02-29' in datetime column.
It's impossible.
I think originally there was another year in those examples,...
_____________
Code for TallyGenerator
April 16, 2006 at 5:49 am
It's obvious that author just used not the same DATEFIRST settings on his server as you.
_____________
Code for TallyGenerator
April 16, 2006 at 5:14 am
I better not comment the code. Just for a purpose not to appear rude.
But you cannot supply empty string as a parameter to your SP because all of your parameters...
_____________
Code for TallyGenerator
April 16, 2006 at 5:02 am
There is no "JOIN" ib SQL 2000.
There are:
INNER JOIN
LEFT OUTER JOIN
RIGHT OUTER JOIN
FULL OUTER JOIN
Which one you mean to use?
If you mean "INNER JOIN" (parser will make this replacement automatically)...
_____________
Code for TallyGenerator
April 14, 2006 at 5:24 pm
Viewing 15 posts - 5,386 through 5,400 (of 6,036 total)