I have an id and abbreviation column in a table. I would like to update the abbreviation column in another database on another server.. I know how to get a SQL select statement, but how would I get an UPDATE statement from this that to run on the…
I'm dealing with this problem in my MYSQL database for several hours now. I work with OS X 10.8.4 and use the tool Sequel Pro to work with my database. The table I have troubles with looks like this:
CREATE TABLE `Descriptions` (
`id` int(11)…
I'm trying to reset a user-password in a database belonging to a codeigniter application. (though the app might not use standard Codeigniter encryption).
Some of the values have been reseted to an alphanumeric value and some are manually set through…
I am trying to create a function that searches the database for stores that are located within the postcode entered by the user in a form by matching the first few letters for example, SW1. So basically:
User inputs postcode in text box.
User…
I am trying to set up a user for a localhost database on my Mac. I created the database in localhost and imported the SQL. That works fine and I can log into localhost (the local installation of MySQL on my Mac via Sequel Pro) and see it.
I think…
I am new bee at RDBMS, I want to get a row from one of the five tables and the name of table is value of one of the fields of another table. So I am trying to store the value in one variable from one query and then using that value query again in…
I'm searching for a way to connect an app with a database, created in Sequel Pro which is connected with a mySQL Server (started over MAMP).
I've already searched for some solutions but there are hundreds of different posts, some said that SQLite…
I figure this may be an unconventional way of creating a JSON string. But, I really need to just be able to make it right in "Sequel Pro" like this
I want to be able to just edit it right there like that. But when I receive the string on the client…
I'm trying to create a procedure with a loop inside, but when i call it just show the first record and dont interate.
delimiter //
create procedure load_foo_test_data()
begin
declare v_max int unsigned default 10;
declare v_counter int unsigned…
I'm running into some trouble right now. I worked yesterday on my db using sequel pro for TigerV1 (for an old OS X 10.4 powerpc). The problem is, this morning, sequel pro won't connect anymore. I deleted my "Favorite" and than retyped the…
I'm having a defined relation to my user table as foreign key, but they don't necessarily need to be set. I.e. there must not be a related record.
In my MySQL editor (Sequel Pro) I cannot make the addressId "allow null". It ignores the input. Im…
I have a table where I can't duplicate a row because one of the fields has a stored procedure, named items.calcPrice, on it that no longer exists.
Here's the MySQL command:
INSERT INTO items (folder_id)
VALUES (56)
the error message says, "Couldn't…
How to count the occurrence of each city within a range? I am a beginner to SQL.
I have a table like this:
ID City
1 A
2 A
3 A
4 B
5 B
6 C
7 D
8 E
9 C
Using the SQL query:
select `city`
from `table`
where `id` between 3 and 9…
I bought new MacBook Pro,i install mysql in it, and then install sequel pro to view the table and database,
but when I command php artisan migrate this error accuse
error image
almost last 30 hours I am suffering this Problem can any one help see