Jump to content

hello. call me a newbie

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
13 replies to this topic

#1
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
I'm new here and don't know what everyone is all about. I am trying to learn SQL but am having troubles getting my database up and running. I guess I' may be dumb or something. taking on line tutorial classes but I think I am missing something to get my database to cooperate. is there and basic guide I can follow? if so where might I find it?

thanks

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Welcome aboard!

It depends a LOT on the type of database you're trying to get working. Firebird, MySQL, SQL Server, Oracle, Access, PostGreSQL, and many others exist, each one with different requirements to get working properly.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
James.H

James.H

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 866 posts
Hi dcord welcome to codecall!

#4
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
Welcome to codecall :)

#5
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
right now I am using Mysql an open source because I am just now learning this. I cant seem to create a database or tables. I am thinking that what I am reading and trying to practice is leaving out some common commands that I should know. such as ';' at the end and beginning of any command I enter. I was told to write "create database LEARNSQL;" (without quotes of course) Once I do that I can not find the database that I supposedly created. also true with tables I get error code 1046 syntax error. My question: is there anywhere I can get simplified detailed instructions on how to enter commands? I know I need to open and close with ( ) but do I need to do that when I create a table or just when I add data? I think so far I am just confused. is there rules in any SQL program that states any command input has to have ; behind it? example CREATE TABLE EMPLOYEE_TBL; Once I create this table I cant use it because of error code 1046

help please

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Are you using a command-line utility, or something else? After you create a database you have to switch to using it. Also, you only need a ';' at the end of a statement.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
yes I am using a command line client. also don't know how to switch to using my database
whenever I use ; at the end of a statement it says there is error code 1064 syntax error

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
MySQL Commands
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
wow,
thank you for all your help. this last one I will print and keep handy. I appreciate your time and effort to help me
thanks again

#10
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
Posted Image
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)

#11
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Not a problem. It's just knowing what to search for on Google :)
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#12
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts
Welcome to CC !! :)