User Profile

Collapse

Profile Sidebar

Collapse
mklprasanna
mklprasanna
Last Activity: Apr 30 '07, 05:35 AM
Joined: Apr 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mklprasanna
    replied to Error in SELECT Query
    Hi,

    Try to use single quotes to the string your appending.Like,
    cmd.CommandText = "select Name,Website from ' " & category & "' where Name like " & " ' %" & value & "% ' " & " ;"
    I marked it has bold with underline.
    Try to check it out.It may work for you....
    See more | Go to post

    Leave a comment:


  • Hi,
    for this you can try it like this,I want to know In which language your doing.
    bcz string concatination isdiffer.
    str=windows'xp'
    cmd1.CommandTex t = "insert into table_a values(\"" & str & "\");"

    try to use this.you have to give the quotation that to double quotes.bcz in your string you have single quote and no need to addslashes

    prasanna...
    See more | Go to post

    Leave a comment:


  • Hi,

    I don't have any idea.If any boady knows then let me know.


    prasanna
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to Group by problem
    Hi,

    Select * from ayniyat_x group by hesap_kodu,duze y_1,duzey_2;

    In this query we are using group by clause and the records are grouped based on these hesap_kodu,duze y_1,duzey_2 three values.and that to these three values should be same.

    Thats what i am saying,With the example.

    I think it was clear now!!!...
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to Help plz...if statement
    in PHP
    Hi,
    In the result set you may have some Quantitiy might be zero.So that two msgs will be displayed.If your desire out put is ,

    whenever any one of the quantitity is zero then don;t display the form at all.
    If this is the case then you can set the flag variable and assign the form to one variable.if the flag is set then display the msg otherwise display the form.

    I think by this you can sort this problem....
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to File Upload Error
    in PHP
    Hi,

    The Code what you wrote is correct and its working.Execute once again!!

    prasanna
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to Date Ranges???
    Hi,

    I think your asking to get the data between the begining date and ending date.
    and in your sql where condition syntax is what you wrote is wrong.
    Are you using PHP to execute this query.
    if yes,
    $pfld_BegDate=" 2007/01/01";
    $pfld_EndDate=" 2007/01/04";
    "(effective date >=".$pfld_BegDa te." and effectivedate <=".$pfld_EndDa te.")"
    ...
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to Group by problem
    Hi,
    if you have same values in hesap_kodu,duze y_1,duzey_2 these fileds then you can write query like this

    Select * from ayniyat_x group by hesap_kodu,duze y_1,duzey_2;

    then you will get one record which is having the same data for all fileds.

    For example.
    hesap_kodu duzey_1 duzey_2
    1 1 1
    2 1 1
    1 1 ...
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to Does Select Statement Come Under DML
    Hi,

    DML is to manipulating the data.
    DDL is to manipulate the structure of the table.

    By using select statement we are getting the data resides in the table.
    So,select statement is come under DML.

    If you want clear idea then you can reffer this site, http://www.w3schools.c om/sql/sql_intro.asp


    prasanna
    See more | Go to post

    Leave a comment:


  • mklprasanna
    replied to how copy two array into three
    in Java
    Hi,

    For this we have two methods by interating the loop we can copy the two arrays into third array or
    By using the System.arraycop y() method.
    For this go through this link so that you may get clear idea of it.
    http://ftp.lanet.lv/javafaq/course/week2/31.html


    Regards,
    prasanna
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...