Quantcast
Channel: Substring In Sql | Automatic Website Traffic RSS
Browsing all 989 articles
Browse latest View live

SQL Browser, what is it good for? Absolutely something!

SQL Browser service must be running or this script will not ... res = "" If ($Response) { $Response = $Response.Substring(3,($Response.Length-3)).Replace(";;","~") $Response.Split("~") | ForEach {...

View Article


Automating the Creation of Consistent #Amazon EBS Snapshots with #Amazon EC2...

VSS (Volume Shadow Copy Service) is a Windows built-in service that coordinates backup of VSS-compatible applications (SQL Server, Exchange Server ... zone' Add-Content $EbsSnapshotPs '$Region =...

View Article


SQL SUBSTRING Function

The SQL SUBSTRING function is one of the SQL String Function, which is used to return specified number of characters from the given expression. The SUBSTRING function uses its third argument to decide,...

View Article

SQL Server Substring with CharIndex

In this article we are going to explore the T-SQL function CharIndex and also how to use it with another T-SQL function Substring(). CharIndex: This function returns the location of a substring in a...

View Article

Import from a bacpac into a SQL database using PowerShell

[New-AzureRmResourceGroup]() Creates a resource group in which all resources are stored. [New-AzureRmSqlServer]() Creates a logical server that hosts the SQL Database....

View Article


Searching substrings in MDX

Most of you would be familiar with substring searches in SQL. Today, we will see how to replicate the same scenario in MDX. 1) Suppose we have to find all the employee names having ‘David’ as a...

View Article

XQuery for the Non-Expert – Substring() Function

Within the value() and query() methods it is sometimes desirable to return a portion of a string. Similar to T-SQL, there is a substring function in XQuery that provides this functionality. In this...

View Article

T-SQL 101: Built-In Functions

T-SQL has many built-in functions that come in four basic flavors ... Commonly used string-manipulation functions include LEFT, RIGHT, SUBSTRING, and REPLACE. LEFT and RIGHT. The LEFT and RIGHT...

View Article


Configure SQL Database auditing and threat detection using PowerShell

This sample PowerShell script configures SQL Database auditing and threat detection ... sql$($(Get-AzureRMContext).Subscription.SubscriptionId)").substring(0,23).replace("-", "") # Specify the email...

View Article


How to Get Status of Running Backup and #Restore in SQL Server? – Interview...

AS [Estimated Hours] ,CONVERT(VARCHAR(1000), ( SELECT SUBSTRING(TEXT, r.statement_start_offset / 2, CASE WHEN r.statement_end_offset = - 1 THEN 1000 ELSE (r.statement_end_offset -...

View Article

SQL Server Substring with CharIndex

In this article we are going to explore the T-SQL function CharIndex and also how to use it with another T-SQL function Substring(). CharIndex: This function returns the location of a substring in a...

View Article

SQL SUBSTRING Function

The SQL SUBSTRING function is one of the SQL String Function, which is used to return specified number of characters from the given expression. The SUBSTRING function uses its third argument to decide,...

View Article

Using substring and ltrim in Alteryx

I have the below sql code and want to convert this to alteryx formula and apply to dataset below. isnull(SUBSTRING(rtrim(ltrim(hhm.Surname)),2,1),'2 ')...

View Article


SQL Developer Data Modeler: A Top-Down Product Overview

SQL Developer Data Modeler offers features and utilities that ... and alphanumeric constants and combining these, optionally with the SUBSTR function to restrict the total length of the word. Once...

View Article

SQL Browser, what is it good for? Absolutely something!

SQL Browser service must be running or this script will not ... res = "" If ($Response) { $Response = $Response.Substring(3,($Response.Length-3)).Replace(";;","~") $Response.Split("~") | ForEach {...

View Article


Import from a bacpac into a SQL database using PowerShell

[New-AzureRmResourceGroup]() Creates a resource group in which all resources are stored. [New-AzureRmSqlServer]() Creates a logical server that hosts the SQL Database....

View Article

How to Get Status of Running Backup and #Restore in SQL Server? – Interview...

AS [Estimated Hours] ,CONVERT(VARCHAR(1000), ( SELECT SUBSTRING(TEXT, r.statement_start_offset / 2, CASE WHEN r.statement_end_offset = - 1 THEN 1000 ELSE (r.statement_end_offset -...

View Article


T-SQL Substring: Splicing a String from Another String

Transact-SQL or T-SQL is a way to run SQL statements on your database tables. SQL Server offers several string functions, which you should know to properly manipulate and work with your data. The...

View Article

SQL Server Substring with CharIndex

In this article we are going to explore the T-SQL function CharIndex and also how to use it with another T-SQL function Substring(). CharIndex: This function returns the location of a substring in a...

View Article

Optimizing Substring Search Performance in SQL Server

The requirement of searching data by part of the value is very common in business applications. All of us are familiar with it – users want to be able to search by entering just a few letters from the...

View Article
Browsing all 989 articles
Browse latest View live