User Profile

Collapse

Profile Sidebar

Collapse
sarma
sarma
Last Activity: Jun 5 '07, 03:11 AM
Joined: Sep 7 '06
Location: Mumbai
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ok, ThanQ very much sir

    I'll try to follow your guidelines


    thanx

    sarma
    See more | Go to post

    Leave a comment:


  • Thanx sir............ ..


    I am using One of My RDBMS as MySQL and I am using 'C' to connect to DB. Now I am looking to have another RDBMS.



    thanx
    sarma
    See more | Go to post

    Leave a comment:


  • Can I Have 2 different RDBMS for a single application

    Hi friends,

    Happy New Year.

    Can I have two different RDBMS for a single application, like i would like to store one set of database in MySQL and another set of databases in PostGreSQL. Is it possible? If so, How can I implement it???????


    thanx
    sarma
    See more | Go to post

  • sarma
    replied to How to call Stored Procedure from C program
    in C
    Hello folks, Thanx for paying attention to my post.

    I wrote a stored procedure to execute query "Select * from Emp" and Emp table have Empno, Empname fields.

    I called this stored procedure from C using mysql_query(han dle, "call sp()");

    But i m unable to get result set using mysql_use_resul t or mysql_store_res ult.

    Im using MySQL 5.0.24a on Linux. This is FYI.
    ...
    See more | Go to post

    Leave a comment:


  • sarma
    started a topic How to call Stored Procedure from C program
    in C

    How to call Stored Procedure from C program

    Hi friends,

    I created a stored procedure in MySQL like

    create procedure p()
    select NOW();

    I write a C program, from which i wish to call this stored procedure, i used both mysql_query() and mysql_real_quer y() functions, but unable to call this stored procedure. Can U please help me out in this......

    "CALL p() failed: PROCEDURE sarma.p can't return a result set in the...
    See more | Go to post

  • Thanks shashi.

    I re-compiled with --openssl option and encountered same error. So I decided to use aes_encrypt() and aes_decrypt() functions instead of des_encrypt() and des_decrypt().

    Anyways thanks shashi.

    regards
    sarma...
    See more | Go to post

    Leave a comment:


  • sarma
    started a topic need help on MySQL error:1289(--openssl missing)

    need help on MySQL error:1289(--openssl missing)

    Hi friends,

    I am using MySQL 5.0.24a on Linux.

    When I try to use des_encrypt() function, I am getting the warning like des_encrypt() is disabled and You need MySQL built with '--with-openssl' to have it working.

    To be specific, Output is

    Error (Code 1289): The 'des_encrypt' feature is disabled; you need MySQL built with '--with-openssl' to have it working.

    can u please...
    See more | Go to post

  • sarma
    started a topic need help on Performance parameters

    need help on Performance parameters

    Hi Guys,

    I wrote a small C program, which will connect to MySQL Client and execute "select * from Emp" SQL statement infinite times(say 50,000 times). After running for n(say 1000) times, Query execution time is increased, it is running very slowly.
    Structure of Emp Table is Emp(EmpId INT, EmpName Char(20))

    Can anybody please suggest me some parameters(MySQ L Variables) to change so that I can get...
    See more | Go to post

  • sarma
    replied to Joins
    Hi,

    U can write a simple join query as

    select id from emp e, dept d
    where e.id !=d.id;

    This will give emp ids which are not included in any depts.(change the table names according to your names)


    regards
    sarma
    See more | Go to post

    Leave a comment:


  • sarma
    started a topic need help on show variables query_prealloc_size

    need help on show variables query_prealloc_size

    Hi,

    I am using MySQL 5 as my database

    I am not able to set variables query_alloc_blo ck_size, query_prealloc_ size and read_buffer_siz e. I tried SET GLOBAL command. I tried in Windows env and Linux env.

    When I executed SQL Statement,

    SET GLOBAL query_prealloc_ size = 32768;

    Its not giving any error, but when i checked in variables, it is same as 8192(old value)....
    See more | Go to post

  • sarma
    replied to backup script
    Hi one and all,


    ThanQ very much for your response....... ............... ............




    thanx
    sarma
    See more | Go to post

    Leave a comment:


  • sarma
    replied to backup script
    I would like to write some shell program which will be automatically run by crond and take data which is effected on that day. It will store only updates or modifications.


    regards
    sarma
    See more | Go to post

    Leave a comment:


  • sarma
    started a topic backup script

    backup script

    i would like to write a shell script to store database on daily basis. I am using MySQL 5 as my database. Any inputs are welcome...


    regards
    sarma
    See more | Go to post

  • sarma
    replied to To get n rows for a given attribute
    U can limti the no. of records using command LIMIT.

    for example,

    select account_id from tbl
    where client_id = 10
    LIMIT 10;

    so it will display only 10 records which satisfy condition in where clause.


    sarma
    See more | Go to post

    Leave a comment:


  • sarma
    replied to need help on USERs of MySQL
    I am using MySQL as my database....... in that i want to know command to know how many users are created on a particular database...


    sarma
    See more | Go to post

    Leave a comment:


  • sarma
    started a topic need help on USERs of MySQL

    need help on USERs of MySQL

    dear frens,

    Can u tell me the command to know the no. of users created for a single database?

    like if i create a user test for database "sample", is there any command to know whether it is created. Show tables will show all the tables in that database, is there any command for users of that kind?????

    thank in advance
    sarma
    See more | Go to post

  • sarma
    started a topic how to know users in MySQL

    how to know users in MySQL

    dear frens,

    Can u tell me the command to know the no. of users created for a single database?

    like if i create a user test for database "sample", is there any command to know whether it is created. Show tables will show all the tables in that database, is there any command for users of that kind?????

    thank in advance
    sarma
    See more | Go to post
No activity results to display
Show More
Working...