Search:

Type: Posts; User: srisa

Page 1 of 6 1 2 3 4

Search: Search took 0.13 seconds.

  1. Re: [Serious]Why are you not a believer of the existence of God

    As long as these things remain at the "i believe" and "i don't believe" level there is no end to these discussions. Get hold of the questioner and questions will cease.
  2. Replies
    22
    Views
    1,356

    Poll: Re: How long will you live?

    What is the difference between 70 years and 80 years? Theory of relativity.....
  3. Thread: Creationism ??

    by srisa
    Replies
    58
    Views
    1,800

    Re: Creationism ??

    Religion wasn't part of curricula in my school.
    Blind believers aren't limited to religion alone, even science has them. If I say , "Jesus said so and so..", there are people who will believe it....
  4. Poll: Re: [Serious] What technologies/concepts should a young web developer learn

    http://www.search-this.com/2008/06/24/10-things-any-web-developer-worth-their-spit-should-know/

    HTML, CSS, Javascript, one server side scripting language (php, asp.net, python, ruby on rails,...
  5. Replies
    8
    Views
    2,216

    Re: MySQL Database & Visual Basic 6.

    If it is a single user app without need for transaction support etc, you can consider sqlite too.
  6. Re: What is the code for DISTINCTION if there are more than one field?

    You can get a proper result set only if one TSCN has only unique combination of TCO and TSB.

    select tsb, tscn, tco
    from DTracking
    where tscn in
    (select tscn from DTracking
    group by...
  7. Replies
    128
    Views
    4,669

    Re: The End of the World is Nigh!

    I was not aware of the world in deep sleep. Does that mean world came to an end in sleep?
  8. Thread: What is too old?

    by srisa
    Replies
    22
    Views
    1,452

    Re: What is too old?

    May I ask why and how?
  9. Replies
    2
    Views
    548

    Re: Optimising this PHP/MySQLi code?

    One thing you can do for sure is having a JOIN statement to get the brand name along with the foodid etc.

    $query = "SELECT f.foodid, f.foodname, f.foodbrand, f.foodsite, b.brandname
    FROM...
  10. Replies
    16
    Views
    853

    Re: I want to learn programming

    Once you are comfortable with simple programming, may be you should consider SAP HR module. That way you can do programming and your experience in HR can be put to use.
  11. Replies
    25
    Views
    1,065

    Re: Giving estimates to business users.

    How do you give an estimate on something which you never worked with? Very very early in my career I was asked to give an estimate on a project which involved interfacing with the google documents....
  12. Replies
    17
    Views
    9,460

    Re: Discussion: PHP 5 OOP

    One thing with regard to the escape_string function. Before using mysql_real_escape_string on the variable, it is necessary to check if magic_quotes_gpc is enabled. Otherwise we will be escaping the...
  13. Replies
    7
    Views
    802

    Re: csv export formatting

    while($row = mysql_fetch_row($export)) {
    $line = '';
    $count = count($row);
    for($i=0;$i<$count;$i++){
    if ((!isset($row[$i])) OR ($row[$i] == "")) {
    $value = "\t";
    } else {
    if ($i...
  14. Replies
    1
    Views
    3,095

    Re: Move to first record after loop

    $results->data_seek(0); before the next loop.
  15. Replies
    7
    Views
    802

    Re: csv export formatting

    It is a csv file right? Commas in the column should automatically put them in separate cells. But since you are using " to enclose the values that might not be happening. What you can do is split the...
  16. Replies
    7
    Views
    802

    Re: csv export formatting

    After fetching the data of the last column, replace the commas in that with a | . str_replace(',' '|', $value);
  17. Replies
    4
    Views
    543

    Re: mySQL * vs Normal

    My guess is * will be slower. In that case engine has to do some kind of querying on its own to determine the columns of the table. If I am not wrong this is a generic sql question not specific to...
  18. Replies
    6
    Views
    954

    Re: mysql_result issue (I think)

    I believe it has something to do with the charset thing, but I am not sure which charset to use. Try charset=iso-8859-1.
  19. Replies
    3
    Views
    646

    Re: MYSSQL, SQL SERVER and LINUX Question

    http://dev.mysql.com/downloads/
    You have several tools listed there.
  20. Replies
    6
    Views
    954

    Re: mysql_result issue (I think)

    What is the charset used for the page containing the select box. I mean the meta tag <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    I guess it has something to do with the...
  21. Re: MYSQL Cursor doesnt working when inside select is null

    I don't know much about stored procedures. May be you could try

    SELECT IFNULL(gas, 0) INTO vgas FROM someTable WHERE car=rec2 AND driver=rec1;
  22. Replies
    5
    Views
    839

    Re: MySQL Database Connection error

    Also check that the mysql server is running.
  23. Replies
    1
    Views
    590

    Re: warning on myqsl_fetch_array

    Check if the query has executed successfully before using the result set.
  24. Re: [RESOLVED] Why is "not in" slower than "join"

    And this is what EXPLAIN says for 'not exists'.
  25. Re: Why is "not in" slower than "join"

    Thanks folks. This was a good learning experience.
  26. Re: Why is "not in" slower than "join"

    With the "not in" we assume that the optimizer will retrieve all the r_id's from ra table and do something like

    select name, r_id from r where r_id not in (1,2,3,4);
    But that doesn't seem to be...
  27. Re: Why is "not in" slower than "join"

    I have attached screen shot of the result as given by phpmyadmin.
    First result is for the join, second one is for the not in.
  28. Re: Why is "not in" slower than "join"

    There is a statement called 'EXPLAIN' which gives out info about the performance of a query in MySQL. And here is the link which gives detailed info about the 'EXPLAIN'.explain
  29. Re: Why is "not in" slower than "join"

    I am using MySQL. Will 'EXPLAIN' review the execution plan.
    I am not sure if JOIN will do what I want. I want to know r_id's in table r which are NOT in table r_id. I can't claim to be knowledgeable...
  30. [RESOLVED] Why is "not in" slower than "join"

    I have this query to retrieve rows from table r which do not have a corresponding entry in the table ra.

    SELECT name, r_id FROM r WHERE r_id NOT IN (SELECT r_id FROM ra GROUP BY r_id);
    This one...
  31. Replies
    1
    Views
    482

    Re: Some help with arrays / displaying results

    I would rewrite the echoing part to something like this.

    if (mysql_num_rows($res) > 0){
    while ($row=mysql_fetch_assoc($res){
    echo $row['city'].'<br/>';
    echo $row['name'].'<br/>';
    ...
  32. Replies
    5
    Views
    486

    Re: help with sql: count

    Thanks brucevde. Your query was spot on. Thanks again.
  33. Replies
    5
    Views
    486

    Re: help with sql: count

    Thank you. But that is returning only one value, while there are several rid's whose count is greater than 1.
  34. Replies
    4
    Views
    578

    Re: setcookie function problem

    May be you have already done it, but did you try to check through php if the cookie is actually being set, rather than look at the IE files?
  35. Replies
    5
    Views
    486

    [RESOLVED] help with sql: count

    Hello,
    I have a table which apart from other columns, has id and rid columns. id is the primary key and rid is a reference to another table.
    What I want to do is retrieve the rid's which have more...
  36. Replies
    5
    Views
    482

    Re: Learning SQL

    Thanks everyone. It seems to be rather round about way of doing it. But then, if that is the only way, there is nothing much one can do but follow it.
    btw, this is my first visit to the forums in...
  37. Replies
    5
    Views
    482

    Re: Learning SQL

    Thanks for the reply. I think I couldn't explain myself properly. Do we have anything in ms-access through which we can execute the sql statements directly instead of taking recourse to query wizards...
  38. Replies
    5
    Views
    482

    [RESOLVED] Learning SQL

    The goal is to learn SQL. Can I do it from within ms-access? I am not familiar with it. A quick look at it shows query designers , wizards etc.
    Thank you.
  39. Replies
    2
    Views
    477

    Re: schema for storing polls

    Thank you.
  40. Replies
    2
    Views
    477

    [RESOLVED] schema for storing polls

    Hello,
    I have thought of using the schema explained below to store the poll questions, answers and votes received.
    1- Table 'poll_questions' - columns: id(primary key), question
    2- Table...
Results 1 to 40 of 239
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width