Computing.Net > Forums > Programming > how to create sql?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to create sql?

Reply to Message Icon

Name: chris730
Date: October 12, 2004 at 20:04:28 Pacific
OS: Win XP Pro
CPU/Ram: 1.5 Ghz
Comment:

i was wondering i see online that sql is mainly just a statement like "select (some name) where (some place)" and i know that those places are in the database. but what i was wondering is if you were to program that in c++. would that select statement be a function in the program that'd have to figure out. or am i just getting this all wrong? is there already a statement in c++ that takes care of select? also if someone could explain or direct me to a source that could tell me what a parse tree was that would be amazing. thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Sci-Guy
Date: October 12, 2004 at 21:10:59 Pacific
Reply:

Actually, I think it's more like:
"select (some field) where (some condition)".



0

Response Number 2
Name: Chi Happens
Date: October 13, 2004 at 05:58:39 Pacific
Reply:

When you hear about SQL it is usually talking about TSQL, or Transact Structured Query Language. It is not an object or function, it is a language. Your programming language does not have a Select function, you must create objects that can access a database and then pass TSQL strings through that object.

For example:

string SQLStatement = "SELECT * FROM User";

Hope this educates some
Chi

Chi Happens
"They mostly come at night...mostly"


0

Response Number 3
Name: Chi Happens
Date: October 13, 2004 at 06:01:29 Pacific
Reply:

Oh and about the parse tree...

Typed "Parse Tree" into www.GOOGLE.com:

http://members.shaw.ca/qjackson/cs/glossary/parse_tree.html

Why doesn't anyone use search engines anymore?

Chi

Chi Happens
"They mostly come at night...mostly"


0

Response Number 4
Name: Sci-Guy
Date: October 13, 2004 at 06:48:53 Pacific
Reply:

Chi,
I think people find it easier to get someone else to do it.
Now if only I can find someone to do my job for me. LOL.



0

Response Number 5
Name: Don Arnett
Date: October 13, 2004 at 09:14:13 Pacific
Reply:

Chi

Is your name pronounced:

chI (long I, like china)

chee (like cheetos)

chi (short i, like chip)

?


Just wondering.


0

Related Posts

See More



Response Number 6
Name: Infinite Recursion
Date: October 13, 2004 at 11:55:04 Pacific
Reply:

SELECT field FROM table WHERE condition;

Don,
My guess would be Chee as in 'cheetos'.



0

Response Number 7
Name: zoddy
Date: October 13, 2004 at 13:47:48 Pacific
Reply:

you will first need an SQL server. mysql
is popular.

www.mysql.com

A+ Certified
MCSE soon


0

Response Number 8
Name: Chi Happens
Date: October 14, 2004 at 05:21:05 Pacific
Reply:

IR,

DING DING DING!!! You're the winner.

That's right, my name is pronouned Chee,

This is from Dictionary.com:

The vital force believed in Taoism and other Chinese thought to be inherent in all things. The unimpeded circulation of chi and a balance of its negative and positive forms in the body are held to be essential to good health in traditional Chinese medicine.

therefore:
Chi Happens...yup, it just does.

Later,
Chi

Chi Happens
"They mostly come at night...mostly"


0

Response Number 9
Name: Infinite Recursion
Date: October 14, 2004 at 20:15:38 Pacific
Reply:

I should change my alias to 'ka'. :)


0

Response Number 10
Name: Chi Happens
Date: October 18, 2004 at 06:53:39 Pacific
Reply:

yeah, but people will think it is the abbreviation for cathode (kathode) lol

Chi

"They mostly come at night...mostly"


0

Response Number 11
Name: FBI Agent
Date: October 29, 2004 at 08:04:36 Pacific
Reply:

chi-ka
see?

FBI Agent

AIM: EliteAssassin187


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: how to create sql?

VB.Net How to Create Different Form www.computing.net/answers/programming/vbnet-how-to-create-different-form/8692.html

How to create IE toolbar like yahoo www.computing.net/answers/programming/how-to-create-ie-toolbar-like-yahoo/9825.html

How to create & save Database in C www.computing.net/answers/programming/how-to-create-amp-save-database-in-c/10418.html