Tag: query
Fast Tutorial About YQL Select Query
by Abu Aisyah on Jan.26, 2010, under Catatanku, Ngoprek, PHP
YQL or Yahoo Query Language, a new API from yahoo that makes it easier to extract data from an existing HTML information on the Internet. You can INSERT, UPDATE, DELETE, SELECT from an HTML page dynamically data recorded in the HTML page. I made this short tutorial is only for Open Data, for example you want to create RSS from a specific web page for example. As an example we take from a site in Indonesia’s largest infotainment. For example we want to find out the latest news there, either movie reviews or celebrity news, we can create a simple RSS. Well the following steps: (continue reading…)
Another Freak Query
by Abu Aisyah on Oct.23, 2009, under Catatanku, Ngoprek
Yes true, I’m facing a crazy query once again. Actually, I could have done with a PHP script, but it did not really help me if I need dynamic data in the database. While I knew I could not work 100% in PHP scripts.
“TRUE POINT … +125 blåa blåa blaaa … … PIN = 34,234″
For the record, I just need a “TRUE POINT +125″, with the assumption that the number 125 is dynamic, such as 100, 10, 12,314, 7,723,423, and so on.
So I was really dizzy for 15 minutes
to look for. And finally I found a way, though I think I know there are other ways. But please know my friend, this is what I can and I find.
FROM tabel_string;
Once out of here I can know that there is a gap between the numbers and says thereafter. Quite right, space. That way I’ll be able to remove the value of the space, by looking for numbers in which the first space in the Instr. After that stay I love the functions left to cut it to only display + number only. : D
Then I just add concat function. Et voila, success. CMIIW.




