Purely SQL

Tuesday, 27 July 2021

Design decision for datatypes while creating tables

 Hi All,

char or nvarchar 

 

https://www.mssqltips.com/sqlservertip/4322/sql-server-differences-of-char-nchar-varchar-and-nvarchar-data-types/ 

 

int ot tinyint 

https://dev.mysql.com/doc/refman/8.0/en/integer-types.html 

 

 

datetime or datetime2 

https://database.guide/datetime-vs-datetime2-in-sql-server-whats-the-difference/ 



https://docs.informatica.com/data-engineering/data-engineering-integration/10-2/powerexchange-for-microsoft-azure-sql-data-warehouse-user-guide/microsoft-azure-sql-data-warehouse-datatype-reference/microsoft-azure-sql-data-warehouse-and-transformation-datatypes.html 

 

 

Posted by Shruthi Puttalingachari at 22:59
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: SQL learnings

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Followers

Blog Archive

  • ►  2024 (1)
    • ►  February (1)
  • ►  2023 (3)
    • ►  May (1)
    • ►  March (2)
  • ►  2022 (16)
    • ►  December (2)
    • ►  November (3)
    • ►  September (2)
    • ►  June (4)
    • ►  May (1)
    • ►  March (1)
    • ►  January (3)
  • ▼  2021 (63)
    • ►  December (7)
    • ▼  July (43)
      • publish Power BI dashaboard from PBI Desktop tp PB...
      • How to Deploy Cubes in AAS
      • How to create Roles in AAS
      • Best practice to load data to Data warehouse, Data...
      • Tabular Azure Analysis services best practices
      • Power BI Best practise
      • Power BI – To check if two values in two columns i...
      • Power BI - the max function only accepts a column ...
      • Power BI – To get calculated table with more than ...
      • Power BI – Add avergae line for a chart
      • Power BI – To get the total of matrix or table
      • “Exception has been thrown by the target of an inv...
      • AAS - user does not have permission to create a ne...
      • Failed to save modifications to the server. Error ...
      • Date Hierarchy in Power BI
      • Analysis service – To get maximum of date slicer
      • Unable to save document the file is already open i...
      • PowerBi – Sort the slicer selection in ascending o...
      • PowerBI Values don’t change when SelectedMeasures ...
      • SSAS - Bit flag is being displayed as TRUE or FAL...
      • PowerBI USERELATIONSHIP function can only use the ...
      • SSAS - Application is not installed
      • Link to install Azure Analysis Services
      • POWER BI – For UPT measure Divide No of Units and ...
      • Power BI - 'SAMEPERIODLASTYEAR' expects a contiguo...
      • Power BI – sync slicers in all pages
      • Power BI - Datatype - conversion failed for [Tabl...
      • Sort the slicer in Power BI using Live connection ...
      • Power BI report is blank after AAS is deployed aft...
      • Power BI – Sync Slicer
      • Power BI – Conditional formatting for a visual
      • Power BI - Tooltip is not working
      • Power BI - the syntax for ' pii /pii ' is incorrect
      • YTD, MTD slicer not working in Tabular editor
      • DAX comparison operations do not support comparing...
      • To obtain metadata or schema of already existing M...
      • Not able to edit query under Source Data in Analys...
      • How to change workspace in Azure Analysis Services
      • The MERGE statement attempted to UPDATE or DELETE ...
      • SQL script to delete duplicates and get table, sp ...
      • Design decision for datatypes while creating tables
      • To view the parquet files
      • SQL - Script to get the Data Dictionary
    • ►  March (1)
    • ►  February (4)
    • ►  January (8)
  • ►  2020 (45)
    • ►  December (2)
    • ►  November (8)
    • ►  October (2)
    • ►  September (10)
    • ►  August (7)
    • ►  July (9)
    • ►  June (4)
    • ►  May (1)
    • ►  April (2)
  • ►  2019 (9)
    • ►  November (1)
    • ►  April (4)
    • ►  March (4)
  • ►  2017 (1)
    • ►  November (1)
  • ►  2016 (10)
    • ►  June (6)
    • ►  May (3)
    • ►  March (1)
  • ►  2015 (11)
    • ►  December (1)
    • ►  September (1)
    • ►  June (3)
    • ►  May (1)
    • ►  January (5)
  • ►  2014 (17)
    • ►  December (4)
    • ►  November (5)
    • ►  May (4)
    • ►  April (2)
    • ►  March (2)
  • ►  2013 (10)
    • ►  October (3)
    • ►  September (2)
    • ►  April (4)
    • ►  March (1)
  • ►  2012 (21)
    • ►  December (3)
    • ►  September (1)
    • ►  July (1)
    • ►  May (9)
    • ►  April (1)
    • ►  February (5)
    • ►  January (1)
  • ►  2011 (21)
    • ►  December (4)
    • ►  November (7)
    • ►  October (10)

About Me

My photo
Shruthi Puttalingachari
View my complete profile
Awesome Inc. theme. Powered by Blogger.