This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - 2005 Enable CLR using T-SQL script

SQL SERVER – 2005 Enable CLR using T-SQL script

May 5, 2007
Pinal Dave
SQL Tips and Tricks
CLR, SQL Scripts, SQL Server Configuration, SQL Server Security

In SQL Server 2005 the CLR is off by default. Here is the sp_configure script to enable CLR, turning on show advanced options and then clr enabled.

Read More
SQL SERVER - UDF - User Defined Function to Find Weekdays Between Two Dates

SQL SERVER – UDF – User Defined Function to Find Weekdays Between Two Dates

May 5, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Utility

A user defined function that returns the number of weekdays between two dates, skipping Saturday and Sunday. It was written by Alexander Chigrik.

Read More
A woven willow arch on a wooden bench with a taut string crossing it at two red-marked points.

ASIN: A Sine Ratio Does Not Recover Every Original Angle

May 4, 2007
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Server

ASIN returns an angle from a sine ratio. Preserve the original branch, use explicit units and keep invalid or missing ratios visible.

Read More
A rich gouache cabinet separates ceramic pieces, carved molds and brass connectors in three independent drawers.

SQL SERVER – What DBCC Memory Cache Commands Actually Clear

May 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Scripts, SQL Server, SQL Server DBCC, SQL Stored Procedure

SQL Server retains memory caches to support later work. I investigate memory pressure before trying to release them.

Read More
A gouache key cupboard keeps a heavy brass key separately from everyday keys, beside a closed lockbox.

SQL SERVER – Enable Login – Disable Login using ALTER LOGIN – Change name of the ‘SA’

May 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

ALTER LOGIN can enable, disable or rename a SQL Server login. I verify another administrative access path before changing sa.

Read More
SQL SERVER - FIX : ERROR 1101 : Could not allocate a new page for database because of insufficient disk space in filegroup

SQL SERVER – FIX : ERROR 1101 : Could not allocate a new page for database because of insufficient disk space in filegroup

May 2, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages

Error 1101, could not allocate a new page because of insufficient disk space in filegroup. Free up hard disk space and turn on AUTOGROW for the filegroups.

Read More
SQL SERVER - User Defined Functions (UDF) to Reverse String - UDF_ReverseString

SQL SERVER – User Defined Functions (UDF) to Reverse String – UDF_ReverseString

May 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

UDF_ReverseString returns a reversed string starting from any position you pass. The script of the function plus usage examples, like reversing from the third character.

Read More
Previous 1 … 558 559 560 561 562 563 564 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com