Search Results

Showing results 1 to 40 of 76
Search took 0.02 seconds.
Search: Posts Made By: Shanti Chepuru ; Forum: MySQL and child forums
Forum: MySQL Apr 29th, 2009
Replies: 2
Views: 521
Posted By Shanti Chepuru
As i know , i got this information for your 3 rd question:

you need to look at what makes each engine unique:

myisam -- fast for reading and inserting, table level lock which makes
it not...
Forum: MySQL Oct 25th, 2008
Replies: 1
Views: 1,530
Posted By Shanti Chepuru
sorry company_name is already inserted in person table, thats why use update or else...
Forum: MySQL Oct 16th, 2008
Replies: 5
Views: 645
Posted By Shanti Chepuru
Forum: MySQL Oct 15th, 2008
Replies: 5
Views: 645
Posted By Shanti Chepuru
Form where $result_row comes from???
i thinks its $rowsql...
i hope so....check it...
Forum: MySQL Oct 13th, 2008
Replies: 2
Views: 717
Posted By Shanti Chepuru
try this code:

$qry=mysql_query("SELECT * FROM yourtablename ");
$num=mysql_num_rows($qry);
$start=0;
$len=1000;
$value=$_POST['field']
while($start<$num)
{
$f="update tablename set...
Forum: MySQL Oct 13th, 2008
Replies: 5
Views: 2,821
Posted By Shanti Chepuru
or try this:

SELECT t1.Name, SUM(t1.Salary + t2.Bonus) as Total From tb1 as t1, tb2 as t2 WHERE t1.Name = t2.Name group by t1.Name order by t1.Salary
Forum: MySQL Oct 13th, 2008
Replies: 1
Views: 800
Posted By Shanti Chepuru
try this:


$t=mysql_query("select * from headlines");
$result=mysql_fetch_array($t);
$r=mysql_query("select c as count(*) from comments where hidofctbl='".$result['hid']."'");
Forum: MySQL Oct 13th, 2008
Replies: 2
Views: 1,325
Posted By Shanti Chepuru
AVG(Votes) is exactly what you want......
Forum: MySQL Oct 1st, 2008
Replies: 2
Views: 807
Posted By Shanti Chepuru
desc is a keyword,
so change that name to any like desc1...
and try...
Forum: MySQL Sep 29th, 2008
Replies: 2
Views: 930
Posted By Shanti Chepuru
Forum: MySQL Sep 26th, 2008
Replies: 2
Views: 930
Posted By Shanti Chepuru
Hello Friends...

Tell me how to store my product information in xml file using php ...
Is this is a replacement of my database...

Please tell me any information on this...

Thanks in...
Forum: MySQL Sep 26th, 2008
Replies: 2
Views: 1,052
Posted By Shanti Chepuru
As i know Use multiple-row INSERT statements to store many rows with one mysQL statement is the best.....

For more information visit this...
Forum: MySQL Sep 24th, 2008
Replies: 2
Views: 752
Posted By Shanti Chepuru
use PHP String Functions to do this...
take a look at this (http://www.w3schools.com/PHP/php_ref_string.asp)
Forum: MySQL Sep 24th, 2008
Replies: 5
Views: 937
Posted By Shanti Chepuru
Forum: MySQL Sep 24th, 2008
Replies: 5
Views: 937
Posted By Shanti Chepuru
yes, save colors_pic with comma separated...and retrieve them appropriately...
see:

The implode() function takes an already existing array as
it's argument, and concatenates the contents of...
Forum: MySQL Sep 24th, 2008
Replies: 5
Views: 937
Posted By Shanti Chepuru
You can store them with comma separated...
And retrieve them with implode and explode functions...
And tel me , by which reason you are trying to store multiple image paths into single field...
Forum: MySQL Sep 22nd, 2008
Replies: 2
Views: 565
Posted By Shanti Chepuru
select is DML command...
Forum: MySQL Sep 22nd, 2008
Replies: 2
Views: 565
Posted By Shanti Chepuru
Truncate
1.Truncate Can be DDL Command.
2.it cannot be rollback.
3.we cann't use Where clause.
4.truncate=delete+commit so we cann't rollback.
5.truncate delete all record from the table....
Forum: MySQL Sep 22nd, 2008
Replies: 3
Views: 1,431
Posted By Shanti Chepuru
see this:
http://dev.mysql.com/doc/refman/5.1/en/binary-log.html
Forum: MySQL Sep 22nd, 2008
Replies: 2
Views: 798
Posted By Shanti Chepuru
yes , you can write joins to get your desired details...

select l.user_name,l.password,u.fname,u.lname,u.address from login_table as l,user_table as u where l.user_id=u.user_id;
Forum: MySQL Sep 22nd, 2008
Replies: 2
Views: 727
Posted By Shanti Chepuru
yes,
if you put your order_id in session, after order is completed,then make your session destroy...
then you can write that query as:

select product_id from orders where...
Forum: MySQL Sep 22nd, 2008
Replies: 6
Views: 1,033
Posted By Shanti Chepuru
Need more information on this.....
Forum: MySQL Sep 18th, 2008
Replies: 13
Views: 2,711
Posted By Shanti Chepuru
hello
try this instead of your 87th line:
if(!empty($_POST['master_id']))
Forum: MySQL Sep 17th, 2008
Replies: 4
Views: 644
Posted By Shanti Chepuru
select * from table where c_id like '% 4%';
Forum: MySQL Sep 17th, 2008
Replies: 3
Views: 515
Posted By Shanti Chepuru
echo $_POST['sel_id'];exit;
see what it prints...
Forum: MySQL Sep 17th, 2008
Replies: 6
Views: 818
Posted By Shanti Chepuru
hello dickersonka and pritaeas...
Please give clear explanation about mysql indexing...how to use??

Thanks in advance...
Forum: MySQL Sep 16th, 2008
Replies: 6
Views: 2,706
Posted By Shanti Chepuru
select * from tablename;
this statement will print all the columns, not the matter of null or empty..
Forum: MySQL Sep 16th, 2008
Replies: 7
Views: 2,098
Posted By Shanti Chepuru
then drop the table with same name.
or rename those tables and import them...
Forum: MySQL Sep 16th, 2008
Replies: 7
Views: 2,098
Posted By Shanti Chepuru
Export one table, then import it in the other database....
If you are using PHPMyAdmin then follow the below:
OK. For example, database name: db1 and db2
The table name is tb.
Export table
1)...
Forum: MySQL Sep 16th, 2008
Replies: 10
Solved: Query Needed
Views: 1,167
Posted By Shanti Chepuru
Welcome...
Forum: MySQL Sep 15th, 2008
Replies: 6
Views: 2,706
Posted By Shanti Chepuru
1.A NULL value represents the absence of a value for a record in a field (others softwares call it also a missing value).

2.An empty value is a "field-formatted" value with no significant data in...
Forum: MySQL Sep 12th, 2008
Replies: 10
Solved: Query Needed
Views: 1,167
Posted By Shanti Chepuru
hello...have you checked it???
have you got solved your problem...???
Forum: MySQL Sep 12th, 2008
Replies: 4
Views: 587
Posted By Shanti Chepuru
this is one of the best titorial:
http://www.tizag.com/mysqlTutorial/
Forum: MySQL Sep 11th, 2008
Replies: 1
Views: 375
Posted By Shanti Chepuru
see this link and try your self:
http://www.digitalpropulsion.org/Programming/Triggers_in_MySQL_5_0
Forum: MySQL Sep 10th, 2008
Replies: 10
Solved: Query Needed
Views: 1,167
Posted By Shanti Chepuru
i think you have to add one more column like month the you will calculate hours per month by using group by month column...
Forum: MySQL Sep 10th, 2008
Replies: 10
Solved: Query Needed
Views: 1,167
Posted By Shanti Chepuru
hello see this example will help you:
t1 table having 4 columns like year,month,day,points...
year month day points
2000 01 01 1
2000 01...
Forum: MySQL Sep 10th, 2008
Replies: 10
Solved: Query Needed
Views: 1,167
Posted By Shanti Chepuru
hello vssp...
there is a function called SUM in mysql to calculate total of any numerical column...and if you want to calculate per month,then use limit by 30 days...or created_date < last day of...
Forum: MySQL Sep 10th, 2008
Replies: 10
Solved: Query Needed
Views: 1,167
Posted By Shanti Chepuru
can u post your table structure...
Forum: MySQL Sep 10th, 2008
Replies: 2
Views: 416
Posted By Shanti Chepuru
It really depends on what you are trying to do, and versus what. MySQL versus Access? MySQL versus Oracle? MySQL versus DB2? MySQL versus a spreadsheet? MySQL is good for web apps, integrates nicely...
Forum: MySQL Sep 10th, 2008
Replies: 2
Views: 416
Posted By Shanti Chepuru
There are really no disadvantages to using a database. I use a MySQL database and PHP to interpret the information. The advantages of a database are numerous.

1. You can keep a LOT of information...
Showing results 1 to 40 of 76

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC