How to Create Your First Database

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 59

  • @omardesigns15
    @omardesigns15 3 года назад +25

    CBT nuggets this channel i remember watching vids since i was 14 years old now ill start my actual career in database administration

    • @muhammadattaurahman4684
      @muhammadattaurahman4684 3 года назад +1

      sameee, now im 14 😁

    • @omardesigns15
      @omardesigns15 3 года назад +1

      @@muhammadattaurahman4684 congratulations and happy birthday, bro if you like tech this channel shall teach you a lot 😊

  • @tophattommy2
    @tophattommy2 3 года назад +15

    After hours of video trying to find a good overview..... This is it!!!!
    Thank you!!!

  • @salat
    @salat 5 лет назад +11

    Better get this right at 1:36 "Empty values" are not the same as "missing values" - There's a very important difference between an *empty* string ('') and a *non existing* string (NULL)

    • @Matchbox36
      @Matchbox36 5 лет назад +1

      DB newbie here, care to explain the important difference? thanks.

    • @salat
      @salat 5 лет назад +4

      As I wrote - *NULL* means the absence of a value while an *empty string* '' means that we know the value is zero-length (e.g. we know there's no middle name).
      Also, if you concaternate strings and one of them is NULL, the result will be also NULL (not matter what was in the other strings).
      You also have to be careful with joins when there are possible NULL columns.
      A few good links:
      joshuapaling.com/blog/2015/05/05/nulls-in-database.html
      www.sqlservercentral.com/articles/database-design-follies-null-vs-not-null

    • @Matchbox36
      @Matchbox36 5 лет назад +1

      @@salat Thanks for the clarification!

  • @chrisder1814
    @chrisder1814 4 дня назад

    hello could you help me understand if the ideas I had are good and feasible, I would like to do automation with code tools in my WordPress databasea

  • @Gilltrick
    @Gilltrick 2 года назад +5

    I am still looking for someone who realy make a video on how to create a db from scratch. Everybody is using third party solutions like here with sql. That is using. Not creating. Like most of use drive a car but would never say: "hey lets create (litterly build it) a car and drive it." PS.: Its quite easy and fun. As a benefit you truly understand it and suites best for your work.

    • @jawnsushi
      @jawnsushi Год назад

      Did you ever find a video showing how to make one from scratch?

    • @DakotaCarter22789
      @DakotaCarter22789 Год назад

      You misunderstand. This is creating a database not “using one” what is being used here is a database engine like SQL.
      You’re looking for “how to create a database engine”
      Good luck.

  • @bilalislam7219
    @bilalislam7219 3 года назад +4

    Hey how do you define a Boolean variable in SQL. Like the value is either true or false. Is it not BOOL(0,1)?

  • @leonlyan8953
    @leonlyan8953 3 года назад +4

    This is a Great Guide man. I am using a database for a while but dunno what is SQL means. This is a Perfect example of what "Structured Query Language" means. After watching this, I learned a lot. Thanks, Sir.

    • @cbtnuggets
      @cbtnuggets  3 года назад +2

      Great to hear, Leon, thank you for the kind words!

  • @sweetgema
    @sweetgema Год назад +1

    How do I get to see the solution explorer solution bar on my database, anyone ps help. Like how do I create the query.sql as it shows on the right hand side of this video

  • @jamessoy9616
    @jamessoy9616 2 года назад +6

    This is a great video. Thank you for sharing it with us.
    Can you please post the SQL scripts you used? It would be very helpful to see the full text of the scripts.

  • @kevinbarbaira9361
    @kevinbarbaira9361 Год назад +1

    Where can I get the data? so I can do it live too! while watching you.

  • @AM-Boluke1210
    @AM-Boluke1210 4 месяца назад

    I was following along with video however I don't think the sample data values were provided ?? Otherwise great video and THANK YOU!! #April2024

  • @AmericaLIED
    @AmericaLIED Год назад

    I rather use the SQL which is not showing in the Solution Explore box on the right.

  • @chrishenning6240
    @chrishenning6240 3 года назад +3

    Following along and tried to save the db diagram but I get an error, “Saving changes is not permitted.” Any ideas?

    • @Ciemny
      @Ciemny 3 года назад +3

      I'm surely late, but i had same problem and found a solution. It might help someone else.
      All you need to do is go: Tools -> Options... -> Designers -> Table and Database Designers -> Prevent saving changes that require table re-creation -> uncheck it -> OK and try to save your changes.
      Same thing with photos: blog.sandro-pereira.com/2018/12/03/a-fish-out-of-water-saving-changes-is-not-permitted-the-changes-that-you-have-made-require-the-following-tables-to-be-dropped-and-re-created/

    • @hitesh.choudhary
      @hitesh.choudhary 3 года назад

      @@Ciemny GG mate ❤

    • @AM-Boluke1210
      @AM-Boluke1210 4 месяца назад

      Save (Not Permitted) Dialog Box
      The Save (Not Permitted) dialog box warns you that saving changes is not permitted
      because the changes you have made require the listed tables to be dropped and re-created.
      The following actions might require a table to be re-created:
      Adding a new column to the middle of the table
      Dropping a column
      Changing column nullability
      Changing the order of the columns
      Changing the data type of a column
      To change this option, on the Tools menu, click Options, expand Designers, and then click
      Table and Database Designers. Select or clear the Prevent saving changes that require the
      table to be re-created check box.

  • @AmericaLIED
    @AmericaLIED Год назад

    To right in the solution explore window for me its just showing SQLQuert1.sql

  • @stuartwill1992
    @stuartwill1992 10 месяцев назад

    Can anyone tell me how many ways there are to create and edit databases?
    You have MS SQL Server as shown here, a Ubuntu Linux based instance of SQL I've seen NetworkChuck make a tutorial for - are there any others ?
    Trying to put these two different flavours of SQL in context.

  • @AmericaLIED
    @AmericaLIED Год назад

    Second I finally found the Solution Explore (BUTTON) to the right and of course mine is OPEN but BLANK?!

  • @ukelaalred2575
    @ukelaalred2575 4 года назад +3

    I opened “solutions explorer” after creating a new database and it is empty. Any suggestions please?

    • @ukelaalred2575
      @ukelaalred2575 4 года назад +1

      Did you have to create those scripts beforehand?

    • @justinmellott5679
      @justinmellott5679 4 года назад +2

      @@ukelaalred2575 Hi, you'll have to enter them.
      --create customers table
      CREATE TABLE Customers (
      CustomerID INT PRIMARY KEY,
      FirstName NVARCHAR(255),
      LastName NVARCHAR(255),
      Adddress NVARCHAR(255),
      City NVARCHAR(100),
      State NVARCHAR(50),
      ZipCode NVARCHAR(10)
      )
      --create products table
      CREATE TABLE Products (
      ProductID INT PRIMARY KEY,
      Name NVARCHAR(255),
      Color NVARCHAR(25),
      Cost DECIMAL(18,2),
      Price DECIMAL(18,2)
      )
      --create orders table
      CREATE TABLE Orders (
      OrderID INT PRIMARY KEY,
      CustomerID INT,
      OrderDate DATETIME,
      ShippedDate DATETIME
      )
      --create orderdetails table
      CREATE TABLE OrderDetails (
      OrderID INT,
      ProductID INT,
      Quantity INT
      )

    • @ukelaalred2575
      @ukelaalred2575 4 года назад

      Justin Mellott Thank you!

    • @AcidEclipse
      @AcidEclipse 3 года назад

      @@justinmellott5679 thanks alot

    • @SELZAR22
      @SELZAR22 2 года назад

      @@justinmellott5679 Hi. What about the LoadData query? Where I can find it , please? Thanks

  • @AmericaLIED
    @AmericaLIED Год назад

    In my window its showing solution projects soultion1 then under that miscellaneous Files, then under that
    SQLQuert1.sq. in the begginig you never showed how to open the Solution explore window you just jump right into it as if everyone has this window OPEN,, NOT!!!

  • @danielhdezcordobes6642
    @danielhdezcordobes6642 3 года назад +1

    Hi, thanks for the video, it was really helpfull but, how do I create the server (for free) to connect my database?

    • @cbtnuggets
      @cbtnuggets  3 года назад +1

      Hi Daniel, thank you for your question.
      Linux has been a great option for decades. They are extremely efficient and customizable. The bonus is that it's open source, so it's free. We have training on CBT Nuggets for Linux and some of the many uses for it.
      There are many follow up questions to your initial question for a server to connect to a database. It can depend on the database, and its dependencies. If there is a connection manager and the use cases you have for the database, and so on.
      We hope this is helpful! Thank you for learning with us.

  • @jovelynramos3245
    @jovelynramos3245 3 года назад +1

    hi where can I download this microsoft sql?

    • @cbtnuggets
      @cbtnuggets  3 года назад

      Thanks for your question, Jovelyn! You can download Microsoft SQL at www.microsoft.com/en-us/download/details.aspx?id=56128

  • @thehiddencode5686
    @thehiddencode5686 3 года назад +2

    Thanks fir the video.

  • @Norogoth
    @Norogoth 4 года назад +6

    "first server"
    You are already connected to your own server ("SQL NUG")

    • @skoolielyfestyle
      @skoolielyfestyle 3 года назад +1

      what video show you how to create your own server ? Just downloaded azure studio today and wanting to learn this.

  • @ChakaKhanian
    @ChakaKhanian 3 года назад

    Thank you!

  • @anhquang9276
    @anhquang9276 2 года назад

    so touching for an excellent video

  • @user-nt4ku9no6c
    @user-nt4ku9no6c Год назад

    thanks

  • @MrBigietollie
    @MrBigietollie 2 года назад

    Sequal (Standerd English Query Language) or SQL (Structured Querie language)? Call it by the right name please

    • @skimpoppy
      @skimpoppy 2 года назад +3

      I wonder where you get your information from.
      As stated on DPpedia itself: "SQL (/ˌɛsˌkjuːˈɛl/ S-Q-L, /ˈsiːkwəl/ "sequel"; Structured Query Language) is a domain-specific language used in programming ..."
      So people agree that you SQL can be pronounced sequel, whether you like it or not.

  • @naomiezuminelson3039
    @naomiezuminelson3039 2 года назад

    Thank you sir new subscribed here , this is very helpful ♥️

    • @jozzylzubell9629
      @jozzylzubell9629 2 года назад

      Remove this fake site , a bunch of hackers ,risk theft

    • @jozzylzubell9629
      @jozzylzubell9629 2 года назад

      Disable this database, this is fake administration, remove this premium

    • @jozzylzubell9629
      @jozzylzubell9629 2 года назад

      Disable this one for fraudulently minutes

  • @ellazpro13
    @ellazpro13 8 месяцев назад

    Just a comment!

  • @captainamerica208
    @captainamerica208 3 года назад

    😎😎

  • @AmericaLIED
    @AmericaLIED Год назад

    This gets so DARN frustrated!

  • @AmericaLIED
    @AmericaLIED Год назад +1

    You know what you MOVE and TALK way to fast as a person is trying to step by step to keep up with you.

  • @ellazpro13
    @ellazpro13 8 месяцев назад

    Just a comment!