Viewing 6 posts - 1 through 6 (of 6 total)
Thanks - you've confirmed my thoughts!
I've managed to get something like
select * from customers where (stage & intValue) > 0
where the intValue is the user chosen values of the...
March 20, 2008 at 5:51 am
Great thanks.
It aint pretty but I guess it is what it is! A lot better than 15 x the code.
Cheers again.
December 3, 2007 at 5:49 am
Yeah sorry... a parameter will be passed into the proc giving the column name (or a look up value if required - as it hasn't been written yet!).
So lets assume...
December 3, 2007 at 5:34 am
OK Thanks!
Here's a more realistic snippet (you'll have to work around the temp table!):
SELECT cc.vchrCustomer, tintWeekNo,dteWeekEndSubmit, MYCOLUMN , s.vchrFirst_name + ' ' + s.vchrSurname, cc.vchrFile_number
FROM tbl_bpm_customer_collection cc
INNER JOIN #staff s
ON
s.vchrFile_Number...
December 3, 2007 at 5:22 am
The easiest way is to use a DTS which in itself is a fairly large area of knowledge but the task you want should be fairly straight forward. Lots of...
December 3, 2007 at 5:19 am
So.... given the real world example where my proc is actually considerably longer than the simple select shown, I am going to have to replicate the code 15 times?.. or...
December 3, 2007 at 5:12 am
Viewing 6 posts - 1 through 6 (of 6 total)