Returned 5 Results for "sql"

dbPHP - Object Relational Mapping for PHP


2009-05-16 Digg! icurtain Delcious icurtain Technorati icurtain


banner


MySQL full indexed text search - just like a real database!!


2009-03-24 Digg! icurtain Delcious icurtain Technorati icurtain



sql


2008-12-08 Digg! icurtain Delcious icurtain Technorati icurtain


  1. sql 
  2.  
  3. SERVEROUTPUT ON 
  4.  
  5. declare 
  6.    result_limit number := 10; 
  7.    current_query_no number := 1; 
  8.    --table_n varchar2(30) := 'brian.cran1400_der_results'; 
  9.    --cursor all_results is select * from brian.cran1400_der_results; 
  10.    cursor result_list(counter number) is select * from brian.cran1400_der_results where queryno = counter order by score DESC, docno ASC; 
  11.    --cursor sub_list is select * from brian.cran1400_der_results where  
  12.    --select all results from table where query number is less than 10 
  13.    inner_min number := 1; 
  14.    inner_max number := 10; 
  15.    total_precision number := 0; 
  16.  
  17.  
  18. begin 
  19.  
  20. for result_record IN result_list(current_query_no) loop 
  21. --loops through the result list in the cursor (all records 1 - 10) 
  22.  
  23.    for counter_one in inner_min..inner_max loop 
  24.          -- do stuff here 
  25.          current_query_no := counter_one; 
  26.           
  27.          if result_record.rn = 'R' then total_precision := total_precision + 1; 
  28.          dbms_output.put_line (total_precision); 
  29.          end if; 
  30.  
  31.  
  32.  
  33.    end loop; 
  34. end loop; 
  35. end; 
  36.  
  37.  
  38.  

Command Line Web Browser


2008-06-05 Digg! icurtain Delcious icurtain Technorati icurtain


If need to browse the world wide web and you are either running in an ssh window or you really hate the whole web 2 thing.. help is at hand

Centos
yum install lynx

Debian
apt-get intall lynx

run lynx then you can view this page like this...

icurtain - lights on the roundabout
[H] Blog IDAT205 IDAT204 IDAT203 IDAT201 AINT204 SOFT221 ISAD223 SOFT218 Linux JSF PHP Java[EE] Java[J2ME] SQL submit search for..________
Centos NFS Install

2008-06-04 11:41:15 digg this!

Download the Centos Boot image
Download the Centos DVD image and save it on an NFS enabled share on your lan

Install with Network boot CD

choose to boot: linux text

Choose Manual IPv4
192.168.1.* / 255.255.255.0
192.168.1.*
192.168.1.*

(NORMAL LINK) Use right-arrow or to activate.
Arrow keys: Up and Down to move. Right to follow a link; Left to go back.
H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list


sql server - set db offline


2008-05-30 Digg! icurtain Delcious icurtain Technorati icurtain


if you can't track down all the life connections and you need to force changes:

use master
alter database db_name set offline with rollback immediate