Viewing 15 posts - 2,866 through 2,880 (of 5,103 total)
My view when on interviews as interviewee I try ussually to turn the table around to try to Identify the purpose of the questions being asked and assess the skills...
August 16, 2005 at 8:40 am
Definitely costly but is the best way to count the distinct values Good I/O needed for speed
In regards with the text datatype the only possible way is to splitt the...
August 16, 2005 at 8:24 am
-- Temptable
SELECT c.code, p.id, p.name, SUM(c.paid) TotalPaid
into #T1
FROM table1 AS c
INNER JOIN table2 AS p ON c.id = p.id
WHERE c.code > ' '
GROUP BY c.code,p.id.p.name
HAVING SUM(p.paid) > 0
-- Use it...
August 12, 2005 at 3:06 pm
Yeah I meant He makes. True money is not everything but it makes life a lot easier ... most of the time
August 12, 2005 at 2:42 pm
I don't really like him but wouldn't mind to make one half of what i makes ![]()
August 12, 2005 at 2:30 pm
Ok if it works, that's fine! I just don't like the variables because triggers are meant to be always multirow (front end can and most of the time will change)...
August 12, 2005 at 2:11 pm
Another warning here: you can't have more than 256 columns in an XL worksheet ![]()
August 12, 2005 at 2:02 pm
Let me try to dissect a bit what I posted to see if it makes sense for you:
tblReport( PicID --Picture
, 100
, 110 -- Line
, 120 -- Line
, 121 ...
August 12, 2005 at 1:42 pm
1. You don't need that distintc in the inner query
2. I am going to guess:
select a.editor
, a.softname
, a.version
, count(a.hostname) total
, case when suite = 0 then 'NO' ELSE 'YES' END...
August 12, 2005 at 1:16 pm
Some more stuff:
On very rare occation nested triggers are usefull and even in that case I still try to go for other non-recursive method of accomplishing the same thing! Therefore...
August 12, 2005 at 12:52 pm
This is a classic scenario of:
Fast,Cheap,Good --> Pick Two ![]()
I have been in that possiton quite a bit and even after my recommendation...
August 12, 2005 at 12:14 pm
There IS an advantage to put a single select statement in stored procedures!!
Reasons:
1. if that statement is has parameters The previously compiled plan can be reused on the contrary ad-hoc is...
August 12, 2005 at 11:33 am
Viewing 15 posts - 2,866 through 2,880 (of 5,103 total)