via function, of course yes...but the point was he (TS) wanted it to be one-lined which i assumed is wala pa ta kahibaw..ang if ever somebody knows it (or might wanna contribute to the computing field solutions to scenarios like this) , then i would say its not LAZY CODE.. and it ain't BAD CODE
i would still say is computer science..it still digs into the notion of "a sequence of instructions that repeats either a specified number of times or until a particular condition is met"...simply computing..
computer science also not just sits on robust code and correct practices..as on my understanding computer science also deals with new fields of computing, new methods, way of solving probs...i guess this is the thin line between software engineering and computer science itself..
so i would still say the TS's prob is still valid ( sticking to a one-liner script, not via functions )
i told you i have the solution, but my apology if you saw me too busy lately that might be the reason why you hesitate to remind me. anyway, i'll just leave a scratch paper containing a very short solution at the guard house if i am not able catch you personally. furthermore, i believe this site was block in your work place since last week i guess... hmm... so it doesn't make sense to send you pm.
have a nice coding!
yup, naa nani solution...
------------------------------------
SELECT COLUMN_NAME
FROM USER_TAB_COLUMNS
WHERE TABLE_NAME = XTABLE
AND COLUMN_NAME <> XCOLUMN
-------------------------------------
from this QUERY makuha na ang solution ani... kamo na bahala kung unsa inyong paagi...![]()
Last edited by UtOkbOlinAO; 07-23-2009 at 05:32 PM.
Similar Threads |
|