How to insert new line/line break in string
DECLARE @text NVARCHAR(100)
SET @text = 'This is line 1.' + CHAR(13) + 'This is line 2.'
PRINT @text
DECLARE @text NVARCHAR(100)
SET @text = 'This is line 1.' + CHAR(13) + 'This is line 2.'
PRINT @text
sqlcmd utility from the command line or the Azure Cloud ShellBlock blobs. A block blob is handled as a set of blocks. Each block can vary in size, up to 100 MB. A block blob can contain up to 50,000 blocks, giving a maximum size of over 4.7 TB. The block is the smallest amount of data that can be read or written as an individual unit. Block blobs are best used to store discrete, large, binary objects that change infrequently.
Page blobs. A page blob is organized as a collection of fixed size 512-byte pages. A page blob is optimized to support random read and write operations; you can fetch and store data for a single page if necessary. A page blob can hold up to 8 TB of data. Azure uses page blobs to implement virtual disk storage for virtual machines.
Append blobs. An append blob is a block blob optimized to support append operations. You can only add blocks to the end of an append blob; updating or deleting existing blocks isn't supported. Each block can vary in size, up to 4 MB. The maximum size of an append blob is just over 195 GB.
|
|
Azure
Table Storage |
Azure
Blob storage |
Azure
File storage |
Azure
Cosmos DB |
Data
Lake store |
|
Use case |
NoSQL key-value model |
large
binary like Video and Audio |
File
Share |
documents |
Large
Data |
|
Size |
500 TB
limited by Storage account individual
entity Up to 1 MB, with a maximum of 255 properties. PartitionKey/RowKey string
up to 1 KB in size. An
Azure storage account can hold up to 5 PB of data. |
Block
blobs – 4.7 TB. 100MB each block Page
blobs – 8TB. 512-byte pages Append
blobs – 195GB, each blob up to 4MB |
100
TB of in a single storage account single
file is 1 TB |
automatically
allocates space in a container for your partitions, and each partition can
grow up to 10 GB in size. |
|
|
availability |
|
|
|
99.99% |
|
|
Performance
tiers |
|
·
The Hot tier is the default. ·
The Cool tier. ·
The Archive tier. |
·
The Standard tier - HD ·
The Premium tier – SSD Azure
aims to provide up to 300 MB/second of throughput for a single Standard file
share |
less
than 10-ms latencies for both reads (indexed) and writes at the 99th
percentile,
one
RU per second (RU/s) will support an application that reads a single 1-KB
document each second. |
|
|
Data
Replication |
replicated
three times within an Azure region. you can create tables in geo-redundant
storage. |
|
replicated
locally within a region, but can also be geo-replicated to a second region. |
replicated
within a single region. |
|
|
Data encryption
at rest |
supported |
|
Enabled
by default |
|
|
|
Data
encryption in Transit |
|
|
Can
be enabled |
|
|
|
Tools |
|
|
AzCopy utility Azure
File Sync service |
|
|
A role assignment consists of three elements: a security principal, a role definition, and a scope.
A security principal is an object that represents a user, group, service, or managed identity that is requesting access to Azure resources.
A role definition, often abbreviated to role, is a collection of permissions. A role definition lists the operations that can be performed, such as read, write, and delete. Roles can be given high-level names, like owner, or specific names, like virtual machine reader. Azure includes several built-in roles that you can use, including:
Owner - Has full access to all resources including the right to delegate access to others.
Contributor - Can create and manage all types of Azure resources but can't grant access to others.
Reader- Can view existing Azure resources.
User Access Administrator - Lets you manage user access to Azure resources.
You can also create your own custom roles. For detailed information, see Create or update Azure custom roles using the Azure portal on the Microsoft website.
A scope lists the set of resources that the access applies to. When you assign a role, you can further limit the actions allowed by defining a scope. This is helpful if, for example, you want to make someone a Website Contributor, but only for one resource group.