Operation System Command
How I can execute an operation system command using MySQL connector?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
'minus' Operation
In my database there is a table A which contains few records. Refering to these records there are present few records in table B. Now i need to fetch count of those records which are in A but not in B.
String Operation
If i store a comma separated string(1,2,3,4) in a varchar field.Is there any operation using which i can retrieve the valuse 1,2,3,4 individually an use them in another query.
Operation Is Not Allowed
Hi I tried writing but problems crop up. I am not sure what this message means. I am using labSQL for labview. Problem: Exception occured in ADODB.Recordset, Operation is not allowed when the object is closed.. Help Path is C:WINDOWSHELPADO270.CHM and context 1240653 in ADO Recordset.
Sustract Operation In A Querry
Im trying to query something like this: UPDATE Caja SET Monto -$SubTotal WHERE Tienda = $Tienda let's say that : $SubTotal = 50 $Tienda = 1 (it really does not matter, it's just an index) and obviouslly it does not work !! I want to save me the "Talacha" of select first the Monto from Caja, make the simple arithmetic operation in php an then put the new value back on the table (Caja).
Compare 2 Tables ( <> Operation )
I have a small problem in comparing two tables, that has to return records that are not in the other table. Suppose I have the following tables: T1: T2: Field1 Field1 ------ ------- 1 b 2 a d c a 1 x z And, this is the code: select T1.Field1 from T1, T2 where T1.Field1 <> T2.Field1 group by T1.Field1 I was expecting the result of 2, d, x, z (which are not in T2). Instead, I got all 6 records from T1. I've tried other operation like !=, NOT IN, but came up the same. The Field1 on T1 is primary key.
Multiple-step Operation
Delphi Application use ADOConnection and ODBC to connect to MySQL database. Since I upgrade MySQL 4.1.13 to 5.0.15 following error occurs when try to open several (but not all!?) ADOTables and ADOQueries. "Multiple-step operation generated errors. Check each status value."
Performing Divide Operation In Query
I have two columns in the db named totalVotes and numVotes. To get the rating you do totalVotes / numVotes. Is there a way I can query the database somehow sorting by the rating (where totalVotes / numVotes) is the highest?
Mysql Date Operation Problem??
I am trying to display all the news which are up to todays date. I have used following query but didnt get the success PHP $sql = "SELECT * FROM news WHERE news_date < = todays_date";
Nested Sets - Move Operation
i am currently trying to create a menu structure with the "nested sets" principle. Although i already mastered to create and delete an item with and without all its children, i still hang with the "move item to..." operation... (with the items' childs included) so i'll hope anybody here knows a good documentation (or solution^^) for my problem, google didnt gave me useful stuff.
Automatic Operation When Some Condition Apply
I have a table with a big number of rows, on which I do simple operation (basically I need the sums of some columns). As the table gets bigger and bigger, I would like to know if there is a way such than when it reaches a given number of rows (let's say 100000), it stores the results on a new table and use this results for future query (I mean I want to avoid of summing all the rows each time, but I would prefer to use the results I already have obtained). If I have understood well, this could be done with triggers and procedures, but I have no idea about how.
Mysql Date Operation Problem??
I am trying to display all the news which are up to todays date. I have used following query but didnt get the success $sql = "SELECT * FROM news WHERE news_date < = todays_date"; May be i have not enough knowledge about date operation in mysql.
Math Operation On A Varchar Column
I have a numerical value that, thanks to the peculiarity of where I must place this value, is in a VARCHAR column. Can I do a basic incremental math operation on its value
How Do I Get System Date
I have a Timestamp which shows the Date and Time. I would like to change it to just show the Date. How do I do this using phpMyAdmin?
Getting System Date
I was wondering how to set up table to column to get the system date for a date stamp. Could someone help me with this. I tried date date SYSDATE with no luck
Best Way To Set Up Membership System
My site will have users that sign up and can then become part of multiple groups (think similar to Yahoo Groups or something like that). How would be the best way to set up the database/table structure so queries could be run to find both all the groups that a user is a member of and also get membership lists for each individual group?
System Tables?
Is there documentation on the system tables? I couldn't seem to find anything when I did a search on system tables. I know about the information schema, but I want to know about the tables the information schema uses to build the views it contains.
Registration System
I have my database and HTML forms made. When I click submit to submit the registration it doesnt go to to the database it comes to a page with all of my database stuff on it. Can someone help? I have the page register.html made with the forms on it. When you click on submit its supposed to go to register.php which will send the info to the database. But is doesnt. Here is the register.php code:
System Tables
When I create a new DB it's empty. Are there a base set of system tables / functions and so forth created?
Privilege System
Is there a way to limit update access for a user to a single record? I have a database table that contains various information about people. That information is contained in a record for each person. I want people to have read access to the whole table but update access only to their own record. Is this possible and if so how would I set it up?
System Log For Triggers
Is there a system log file which can be checked to see the histroy of triggers. I am trying to debug a trigger that is not executing when it should.
Rating System
i want to do a rating system like youtube's where it averages out the total ratings. i'd store each of the ratings per each row and have them seperated by comma's then in my code put them in to an array. i also wanted to store the usernames of the voters in the database in the same fashion (without displaying them though) as above say instead of using cookies (as they can be deleted). would method this be feasible? or would this say overload the database and cause slow down?
Booking System
Hi, does anyone know of a site (tutorialised / open source) that offers a PHP-MySQL Online Booking System (similar to a Hotel Booking System)
Privilege System
Can I change structure on "mysql" database to implement new Privilege System? Views named "user", "host" etc will return old structure style.
System Variable
i am connected to the server and i build some tables etc etc. everything is fine. i run the command "show variables". it executes fine and shows me the values of all the variables on the server. now if i try and change the value of the variable tmpdir using the set command, it tells me unknown "error 1193: system variable tmpdir". help needed here........ another point, the variable "tmpdir", points to the dir c:/windows/temp. i put a text file in that dir and try to load some data from that file into a table, and i get an error "file not found".
Ranking System
I've made a forum and i want to have a ranking system with it. I managed to display a postcount but i also want a few images to be displayed, like if you have made more then 50 posts, it displays 50.jpg or something, how can i accomplish this, in another way then just str_replace()ing all the number of posts? And how do i display 2, like if you have 50 posts, 50.jpg and if you have 60 posts, 60.jpg.
System Variable.
i am running mysql version 4.0.16-nt. now, i am connected to the server and i build some tables etc etc. everything is fine. i run the command "show variables". it executes fine and shows me the values of all the variables on the server. now if i try and change the value of the variable tmpdir using the set command, it tells me unknown "error 1193: system variable tmpdir". help needed here........ another point, the variable "tmpdir", points to the dir c:/windows/temp. i put a text file in that dir and try to load some data from that file into a table, and i get an error "file not found".
System.OutOfMemoryException
sql 2 error: Exception of type 'System.OutOfMemoryException' was thrown. this is the error I am getting using Mysql connect and Visual Studio. My program is set on a loop and after the program has opened and closed around a million connections in my error logs i see this error about 80 or 90 times then it gives me a timeout error until I stop the loop. If i try to restart it it will continue to fail unless I restart the computer containing the database. Does anyone know what is causing this or how I can fix it? Edited 1 time(s). Last edit at 07/18/2007 12:39PM by Joe Gates.
Voting System
*********************** | game_id | discussion_id | *********************** SELECT game_id, discussion_id, count( * ) FROM `games_voting` AS votes GROUP BY votes.game_id, votes.discussion_id using the above query to generate a count of votes grouped by game and then user who got the votes right now it returns all the users that received votes for each game, i'd like to only receive the user with the top vote count
Scoring System
Im sure some of you have come across 'neave' games? The scoring system is setup as below: CREATE TABLE games_pacman ( name VARCHAR(20) PRIMARY KEY NOT NULL, score INT(11) DEFAULT '0' NOT NULL, ip VARCHAR(15) ); CREATE TABLE games_banned_ip ( ip VARCHAR(15) PRIMARY KEY NOT NULL ); Clearly, it is possible to ban ip addresses from using the score system. But, can anyone tell me please if it is possible to set it up to ban certain names from being used?
System Configuration
I'm currently rebuilding my home system - a couple of linux boxes with Debian. Although I don't have a high load on any of my systems, I am going to set up a separate box with my mail server and another for my web services. I'm wondering if there is an arguement for or against putting MySQL over on the mail box or even putting it on its own box?Assuming the arguement is for putting MySQL on a different box, are there any pitfalls, tips, tricks I should consider before starting this project?
Heavy Traffic System
I am developing a very heavy traffic site. It may happen that at same time (exactly same) two user will try to register with the same username. What will be the approach to prevent this situation. Which user will be able to register and which one will be denied? Do I need to use any locking facility? If so is it a wise decision to lock entire table?
How To Get Today System Date?
Can anyone tell me how to fire a query in MySQL to get todays system Date. I want to Subtract yesterday's date from Today's date.I want to check that if todays date is greater than yesterdays date i have to delete yesterdays date.
Online Booking System
Im working on a dog walking site for my girlfriend and she wants to have an online booking system for walks. Can i use MySQL & PHP to create this or is the a language more suited to this form of application.
Song Request System
I'm new to MySQL and have been racking my brains at this for hours, studying the MySQL documentation, etc, and have given up. All I want is some form of PHP/MySQL integration on my website that allows visitors to Reuqest Songs, and my DJ's be able to view all the reuqests in a page. It'd just involve adding values to a database (song name and song title) then getting a page to query them out and display them again. Would someone be so kind to write me a very very basic script that will do what I require?
Standardized Naming System ?
is there a common naming system for db objects ? Like: 1) Tables: mytable, tblmytable, tbl_mytable 2) Indices: idx_anindex 3) Columns: int_somenumber, date_lastupdate 4) id for the numerical primary key e.g. table customers.id and then for referencing foreign keys table addresses : addresses.customer_id or addresses.customer_fk OK, I know I could name them the way I want but perhaps there is some kind of common sense in this regard ?
System Variable Tx_isolation
The System Variable tx_isolation is used for what? What this actually means, Development Server System Variable Value tx_isolation READ-COMMITTED Production Server trx_isolation REPEATABLE-READ What will be the difference between these two thing?
System Requirements Of MySQL
I need minimum system requirements for installing MySQL server. This is for service definition. Please provide me the info/link from where I can get the info.
Recommended System Specs?
I was wondering if anybody could point me to any documentation or could suggest some info on a small MySQL server that I'm setting up. This will be running Windows and IIS (i know, i know) and be for a maximum of 20 users; nothing special. Any suggestions for processor and RAM or things to look out for? It will be running the MySQL Community Server 5.0.
How Do I Set Up My System As A Testing Server
I work on a Windows XP Pro. Platform and I am having trouble setting my system up as a Testing Server for PHP pages. I want to be able to test scripts and build my database. I tried downloading and installing MYSQL and PHP but it still does not work. Is there some kind of Configuration I need to do in the PHP.ini file?
System Error 1067
I am just starting mysql and when I go to "net start mysql" I receive this System Error 1067, and that the system could be not started.
Client Login System
I am working on making a client login system. I would like client's to be able to login on my site and just basically see their individual invoices, pay with Paypal, see site progress, that kind of thing. I have some ideas as how to do it, but I was wondering if anyone had some suggestions?
ASP And MySQL Membership System?
I'm trying to set up an ASP and mySQL (or Microsoft Access if absolutely necessary). It needs to allow users to register, certain pages to be "members only," and it needs to have an email password reminder system. I have a good deal of beginning experience with coding (I've studied the beginnings of C++, VB, javascript, CSS, and have sort of worked with PHP on a discussion board). Anyone have a GOOD and somewhat UPDATED and RECENT tutorial?
External System Call
Is it possible to trigger external system calls from mysql db? I want to start an external script after a certain value has been set in DB?
Unkown System Variable
I try to code a store proc. but I always get compiler error: "unkown system variable 'no_more_data' ".....
Posting System With Time
I need to build a system that posts a message on a given time. Example I write a message -> it goes into a db with al the messages posted for the day -> the next day al the messages will be posted in another db for the frontpage at a given time. So you get msg 1 at 12.00 at the fp msg2 at 14.00 at 14.00 at the fp etc.
Request Tracker System
I am trying to develop a simple request tracker system. I am just wondering if php/mysql is a good idea. Can you point me to a sample on the web?
|