Sql

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! ProGunz is offline
    MemberRank
    Oct 2010 Join Date
    226Posts

    Sql

    Hello can someone tel me deffirence of Varchar(50) and varchar(20)??


  2. #2

  3. #3
    Member xTruongx is offline
    MemberRank
    Mar 2010 Join Date
    Michigan, USLocation
    79Posts

    Re: Sql

    In sql varchar(variable character) this mssql/mysql field is a set of characters a data on how much should be stored in a database
    Code:
    varchar(50) allows up to only 50 characters
    varchar(20) allows up to only 20 characters
    In other words how many letters you may use example below
    Code:
    20 Characters
    gunz shall never die
    Code:
    50 Characters
    gunz shall never die as long as pros keep working
    Notice: a space will still count as a character and this is needed to know if you decide to put a maxlength on your server or website for security reasons or you hate long names
    Last edited by xTruongx; 14-12-10 at 10:37 PM.

  4. #4
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: Sql

    i think its answered

    request close

  5. #5
    Account Upgraded | Title Enabled! ProGunz is offline
    MemberRank
    Oct 2010 Join Date
    226Posts

    Re: Sql

    Thank you xTruongx and Mocro



Advertisement