3. What are SQL Data Types and Sizes? VARCHAR, INT, FLOAT, SMALLINT and many more covered in detail.

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 54

  • @FivGee
    @FivGee Рік тому +4

    Plz correct date format it's not dd-mm-yyyy it's yyyy-mm--dd

  • @ST-wm5ey
    @ST-wm5ey 2 роки тому +5

    3 hrs more to my exam and you saved me. Thank you very much!

  • @ShubhamSharma-ks7vd
    @ShubhamSharma-ks7vd 2 роки тому +2

    Vo content nhi h apka jesa sbko chahiye

  • @mehwishuiux
    @mehwishuiux 3 роки тому +7

    Tomorrow is my paper and u just save me 🥺 again thank you bro

  • @dondesta4975
    @dondesta4975 3 роки тому +4

    You're doing an outstanding job so far. Kudos from Tunisia

  • @AkashYadav-di6kd
    @AkashYadav-di6kd 7 місяців тому +2

    Thank you very much, sir.

  • @chidinganyadi6796
    @chidinganyadi6796 Рік тому +2

    God bless you immensely

  • @abhisheksinghrajput7761
    @abhisheksinghrajput7761 3 роки тому +3

    Best Explaination Ever : )

  • @oyeroibrahim2893
    @oyeroibrahim2893 2 роки тому +1

    Thank you so much I really like this video so helpful

  • @krishnamurthydn531
    @krishnamurthydn531 2 роки тому +2

    Hi bro I have installed the sql by seeing ur video thank you soo much for ur kind explanation. But as I was practicing I cant able to insert date init it is showing incorrect date value what is the problem

    • @EverythingComputerized
      @EverythingComputerized  2 роки тому +1

      There might be a syntax error..
      Please watch the sql tutorial..
      Its present on my channel.

  • @benmsf2315
    @benmsf2315 10 місяців тому +1

    Please when do we use int et when do we use varchar?

  • @abby9192
    @abby9192 4 роки тому +2

    Please make more videos on DBMS

    • @EverythingComputerized
      @EverythingComputerized  4 роки тому +2

      I'm currently working on it, and will release it soon. Thanks for being patient. Keep supporting us❤

  • @codewithwaqas5862
    @codewithwaqas5862 2 роки тому +2

    Thanks

  • @ritikagothwal-bv1kv
    @ritikagothwal-bv1kv Рік тому +2

    Amazing you are ! Keep it up 🌻

  • @Uttam_lifts
    @Uttam_lifts 2 роки тому +3

    Bro plz tell ki adress ke liye konsa data type and class nd section ke liye konsa data type plz tell

    • @Uttam_lifts
      @Uttam_lifts 2 роки тому +1

      And aadharno mai bhi plz tell bro

    • @EverythingComputerized
      @EverythingComputerized  2 роки тому +1

      Take varchar for address(set size according to your needs)
      Case 1: if u take class and section together, use varchar to store both together. (Take size according to ur needs.) Ex- "6 A" or "VI A"
      Case 2: class and section separately
      For section, take varchar(1). (Size is 1 as sections are generally between A-Z. U can take according to ur needs too)
      Case 2.1: if class is taken as 6, 7, etc, use int
      Case 2.2: if class is taken as VI, VII, etc, then use varchar. Take size according to needs.

    • @Uttam_lifts
      @Uttam_lifts 2 роки тому +1

      @@EverythingComputerized and for aadhar no?

    • @EverythingComputerized
      @EverythingComputerized  2 роки тому

      For adhaar no, use decimal with 12 integer digits, and 0 fractional digits.
      Use the following data type declaration -
      *DECIMAL(12,0)*

    • @Uttam_lifts
      @Uttam_lifts 2 роки тому +1

      @@EverythingComputerized can we use.int?

  • @Pearl_tkvj
    @Pearl_tkvj 2 роки тому +2

    Thank you so much 💜

  • @ashminipatel4837
    @ashminipatel4837 3 роки тому +1

    Excellent job

  • @dandigasrikanth1083
    @dandigasrikanth1083 3 роки тому +2

    😍 love you bro

  • @Nidhi_jawariya
    @Nidhi_jawariya 2 роки тому +2

    Where we store 5000 characters

  • @AnkitSharma-cg4pu
    @AnkitSharma-cg4pu Рік тому +2

    do teen jagah mein confuse kar diya aapne.😕

    • @EverythingComputerized
      @EverythingComputerized  Рік тому

      Kahan Kahan?

    • @AnkitSharma-cg4pu
      @AnkitSharma-cg4pu Рік тому +1

      @@EverythingComputerized
      1. when to use decimal and when to use float? as both are point values.
      String data type: you said it is used to store name, address etc. Address has numbers special characters and words.
      2. difference between char and varchar: you said char can take upto 8000 characters. then for varchar in example you have taken varchar(20) but 20 can be put in CHAR also right? as CHAR can take upto 8000 cahracaters. When to use Char and when to use varchar?
      3. difference between char and varchar you said Varchar length can be changed, then you are saying we have to put varchar(20) and the value cant be changed.

    • @EverythingComputerized
      @EverythingComputerized  Рік тому

      1. For decimal and float, u can see the range and precision. Depending on them, u can use as per ur use.. read the following article for the same.
      www.catapultsystems.com/blogs/float-vs-decimal-data-types-in-sql-server/
      Strings can store any type of character. Thats why for address we use string as it can contain alphabets, numbers and also special characters. In simple words, String is a sequence of characters, where characters can be anything.

    • @EverythingComputerized
      @EverythingComputerized  Рік тому

      2. For difference between Char and Varchar, u can read the following article.
      www.geeksforgeeks.org/char-vs-varchar-in-sql/
      This will hopefully clear your doubt

    • @EverythingComputerized
      @EverythingComputerized  Рік тому

      3. This doubt wasn't clear to me. Can u pls elaborate?

  • @MallwaleExeXD
    @MallwaleExeXD 3 роки тому +1

    𝙂𝙚𝙟𝙚