Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 26th, 2012  |  syntax: None  |  size: 0.83 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ----- OUTPUT 1 : with Ravi's and query "select * from vertica;"
  2. $VAR1 = [
  3.           [
  4.             'abc',
  5.             '234325'
  6.           ],
  7.           [
  8.             'def',
  9.             '234325'
  10.           ],
  11.           [
  12.             'ghi',
  13.             '98989'
  14.           ],
  15.           [
  16.             'jkl',
  17.             '98989'
  18.           ],
  19.           [
  20.             'mno',
  21.             '1103'
  22.           ]
  23.         ];
  24.  
  25.  
  26. ----- OUTPUT 2 : without Ravi's variable and query "select * from vertica;"
  27. $VAR1 = [
  28.           [
  29.             'abc',
  30.             '234325'
  31.           ]
  32.         ];
  33.  
  34.  
  35. ----- OUTPUT 3 : with Ravi's variables and query "select * from vertica where col1 = \'def\';"
  36. $VAR1 = [
  37.           [
  38.             'def',
  39.             ''
  40.           ]
  41.         ];
  42.  
  43.  
  44. ----- OUTPUT 4 : without Ravi's variables and query "select * from vertica where col1 = \'def\';"
  45. $VAR1 = [];