Lost your password?

Blogs about: Sql Function

Featured Blog

SQL Server - SERVERPROPERTY Function

Bhavesh Patel wrote 2 weeks ago: SERVERPROPERTY Function How does one get list all Server Properties? Well, we can use a very helpful … more →

Tags: Bhavesh Patel, list server property, SERVERPROPERTY, SQL, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQLSERVER

SQL Server - Set Functions - COUNT, MAX, MIN, SUM and AVG

Bhavesh Patel wrote 3 weeks ago: Set Functions – COUNT, MAX, MIN, SUM and AVG Many times the information we require from table … more →

Tags: SQL, SQL Query, SQL Scripts, SQL Server, Bhavesh Patel, SQL Tips and Tricks, SQLSERVER, T-SQL, technology

SQL SERVER - Recently Executed T-SQL Query

pinaldave wrote 1 month ago: About a year ago, I wrote blog post about SQL SERVER – 2005 – Last Ran Query – Recently Ran Query.  … more →

Tags: Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL System Table, SQL Tips and Tricks, T-SQL

SQL Server - Function to split comma delimited String or List

Bhavesh Patel wrote 1 month ago: Function to split a string which is delimited by comma or other delimiter. We often come across a pr … more →

Tags: Bhavesh Patel, Function to split comma delimited String or List, split string, SQL, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQLSERVER

SQL SERVER - Insert Values of Stored Procedure in Table - Use Table Valued Function9 comments

pinaldave wrote 2 months ago: I recently got many emails requesting to write a simple article.  I also got a request to explain di … more →

Tags: Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Stored Procedure, SQL Tips and Tricks, SQLSERVER

SQL SERVER - Converting Stored Procedure into Table Valued Function6 comments

pinaldave wrote 2 months ago: In one of my recent articles, I mentioned the use of Table Valued Function (TVF) instead of Stored P … more →

Tags: Pinal Dave, SQL, SQL Authority, SQL OPTIMIZATION, SQL Performance, SQL Query, SQL Server, SQL Stored Procedure, SQL Tips and Tricks

SQL SERVER - Connect Item - Vote for Feature Request Function TRIM3 comments

pinaldave wrote 5 months ago: Till date, I have met the SQL Server Product Team twice: first time at SQL Server MVP Meet, Seattle, … more →

Tags: technology, SQL Server, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL, Microsoft Connect

SQL SERVER - Difference Between Candidate Keys and Primary Key

pinaldave wrote 5 months ago: Let us first try to grasp the definition of the two keys. Candidate Key – A Candidate Key can … more →

Tags: Pinal Dave, SQL, SQL Authority, SQL Constraint and Keys, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T-SQL

SQL SERVER - Find Hostname and Current Logged In User Name9 comments

pinaldave wrote 6 months ago: I work in an environment wherein I connect to multiple servers across the world. Time and again, my … more →

Tags: Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Security, SQL Server, SQL Tips and Tricks, T-SQL

SQL SERVER - Leading Zero to Number

pinaldave wrote 7 months ago: I have received few emails asking how to prefix any number with zero. I have previously written two … more →

Tags: Pinal Dave, reader's contribution, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T-SQL

SQL SERVER - Find All Servers From Local Network - Using sqlcmd - Detect Installed SQL Server on Network8 comments

pinaldave wrote 8 months ago: I recently had requirement to create list of all the SQL Server on local network. I remembered that … more →

Tags: technology, SQL Server, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL, SQL Scripts

SQL SERVER - UDF - Pad Ride Side of Number with 0 - Fixed Width Number Display 5 comments

pinaldave wrote 8 months ago: I had written article SQL SERVER – Pad Ride Side of Number with 0 – Fixed Width Number D … more →

Tags: technology, SQL Server, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL, SQL Scripts

SQL SERVER - Pad Ride Side of Number with 0 - Fixed Width Number Display13 comments

pinaldave wrote 8 months ago: Today we will look something which is very quick and but quite frequently useful string operation ov … more →

Tags: technology, SQL Server, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL, SQL Scripts

SQL SERVER - Generate A Single Random Number for Range of Rows of Any Table - Very interesting Question from Reader6 comments

pinaldave wrote 9 months ago: Just a day ago I received email from reader how to get single random number for range of rows of any … more →

Tags: Pinal Dave, Reader's question, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T-SQL

SQL SERVER - Remove Duplicate Entry from Comma Delimited String - UDF8 comments

pinaldave wrote 10 months ago: I love reader’s contribution this blog as that brings variety in articles. I encourage my read … more →

Tags: technology, SQL Server, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL, SQL Scripts

SQL SERVER - Find Number of Rows and Disk Space Reserved - Using sp_spaceused Interesting Observation2 comments

pinaldave wrote 10 months ago: Previously I posted SQL SERVER – Find Row Count in Table – Find Largest Table in Databas … more →

Tags: Pinal Dave, SQL, SQL Authority, SQL Data Storage, SQL Query, SQL Scripts, SQL Server, SQL Server DBCC, SQL Stored Procedure

SQL SERVER - Retrieve - Select Only Date Part From DateTime - Best Practice - Part 22 comments

pinaldave wrote 1 year ago: A year ago I wrote post about SQL SERVER – Retrieve – Select Only Date Part From DateTim … more →

Tags: technology, SQL Server, SQL Performance, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL

SQL SERVER - Get Numeric Value From Alpha Numeric String - UDF for Get Numeric Numbers Only5 comments

pinaldave wrote 1 year ago: SQL is great with String operations. Many times, I use T-SQL to do my string operation. Let us see U … more →

Tags: technology, SQL Server, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL, SQL Scripts

SQL SERVER - 2008 - Enhenced TRIM() Function - Remove Trailing Spaces, Leading Spaces, White Space, Tabs, Carriage Returns, Line Feeds8 comments

pinaldave wrote 1 year ago: After reading my article SQL SERVER – 2008 – TRIM() Function – User Defined Functi … more →

Tags: technology, SQL Server, SQL Performance, SQL, SQL Query, SQL Tips and Tricks, SQL Authority, Pinal Dave, T-SQL


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS