Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 end query

Author  Topic 

SterlingM
Starting Member

1 Post

Posted - 2010-02-21 : 14:57:47
Sometimes when I'm writing a query in the mysql.exe box, it does not...enter the command. Like I will put in something like this -

INSERT INTO good_songs
VALUES ('Jesus', 'Brand New', 05.18),
('Degausser', 'Brand New', 05.33),
('Obfuscation', 'BTBAM', 09.15),
('Human', 'The Killers', 04.05),
('Pushing The Shine', 'Lovedrug', 04.19);

When I hit enter, I just get a line break instead of a message telling me the query was entered successfully. Then I try typing it ;, (), );, ();, etc etc but nothing will end the query. Is there a way to say "end this with whatever I have put in right now"?

vijayisonly
Master Smack Fu Yak Hacker

1836 Posts

Posted - 2010-02-21 : 15:22:25
Even though many may know the answer in this forum....you should know that this is a dedicated MS SQL Server forum....

You have better chances at a MySQL forum.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-02-22 : 00:06:24
You need to highlight the code and execute it

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -