DORSETRIGS
Home

sql-server-2005 (26 post)


posts by category not found!

Convert Month Number to Month Name Function in SQL

Converting Month Numbers to Month Names in SQL When dealing with date data in SQL it is common to find yourself needing to convert month numbers ranging from 1

2 min read 09-10-2024 26
Convert Month Number to Month Name Function in SQL
Convert Month Number to Month Name Function in SQL

How do I query if a database schema exists

How to Query If a Database Schema Exists A Step by Step Guide When working with databases its essential to manage various schemas effectively One critical task

2 min read 09-10-2024 30
How do I query if a database schema exists
How do I query if a database schema exists

Upgrade database from SQL Server 2005 to 2008 — and rebuild full-text indexes?

Upgrading from SQL Server 2005 to SQL Server 2008 A Guide to Rebuilding Full Text Indexes Upgrading your database from SQL Server 2005 to SQL Server 2008 can se

3 min read 09-10-2024 37
Upgrade database from SQL Server 2005 to 2008 — and rebuild full-text indexes?
Upgrade database from SQL Server 2005 to 2008 — and rebuild full-text indexes?

SQL Server - An error occurred while executing batch. Error message is: The directory name is invalid

Understanding SQL Server Error An error occurred while executing batch Error message is The directory name is invalid SQL Server is a robust database management

3 min read 09-10-2024 28
SQL Server - An error occurred while executing batch. Error message is: The directory name is invalid
SQL Server - An error occurred while executing batch. Error message is: The directory name is invalid

Execution sequence of Group By, Having and Where clause in SQL Server?

Understanding the Execution Sequence of GROUP BY HAVING and WHERE Clauses in SQL Server When working with SQL queries especially when dealing with aggregate dat

2 min read 09-10-2024 27
Execution sequence of Group By, Having and Where clause in SQL Server?
Execution sequence of Group By, Having and Where clause in SQL Server?

Why use the INCLUDE clause when creating an index?

Understanding the INCLUDE Clause in Index Creation Why It Matters When designing a database one of the essential tasks is creating indexes to improve query perf

3 min read 09-10-2024 30
Why use the INCLUDE clause when creating an index?
Why use the INCLUDE clause when creating an index?

Trunc(sysdate) in SQL Server

Understanding TRUNC SYSDATE in SQL Server A Comprehensive Guide When working with date and time values in SQL Server the need to manipulate these values often a

2 min read 09-10-2024 44
Trunc(sysdate) in SQL Server
Trunc(sysdate) in SQL Server

Listing users and their roles in SQL Server

Listing Users and Their Roles in SQL Server Understanding user roles and permissions is crucial for managing a SQL Server database In SQL Server different users

2 min read 08-10-2024 31
Listing users and their roles in SQL Server
Listing users and their roles in SQL Server

SQL Server 2005 Get First and Last date for any Month in any Year

How to Retrieve First and Last Dates of Any Month in SQL Server 2005 When working with databases it s often necessary to extract specific date ranges such as th

2 min read 08-10-2024 27
SQL Server 2005 Get First and Last date for any Month in any Year
SQL Server 2005 Get First and Last date for any Month in any Year

Base64 encoding in SQL Server 2005 T-SQL

Understanding Base64 Encoding in SQL Server 2005 T SQL Base64 encoding is a technique used to convert binary data into a textual representation This is particul

3 min read 08-10-2024 30
Base64 encoding in SQL Server 2005 T-SQL
Base64 encoding in SQL Server 2005 T-SQL

SQL Server query to find all permissions/access for all users in a database

Understanding SQL Server User Permissions A Comprehensive Guide to Querying Access Introduction Managing permissions in SQL Server is crucial for maintaining da

3 min read 08-10-2024 31
SQL Server query to find all permissions/access for all users in a database
SQL Server query to find all permissions/access for all users in a database

Parse DateTime Parameter

How to Parse Date Time Parameters in Programming A Comprehensive Guide In todays fast paced digital world handling date and time data is crucial for software ap

3 min read 08-10-2024 34
Parse DateTime Parameter
Parse DateTime Parameter

SQL 8115 Arithmetic overflow error converting numeric to data type numeric

Understanding SQL Error 8115 Arithmetic Overflow Error Converting Numeric to Data Type Numeric When working with SQL encountering errors can be frustrating espe

3 min read 08-10-2024 22
SQL 8115 Arithmetic overflow error converting numeric to data type numeric
SQL 8115 Arithmetic overflow error converting numeric to data type numeric

RAISERROR from Catch Block in TSQL Passed to Calling Batch - Need that Passed to Calling Application

Handling RAISERROR from Catch Block in T SQL Propagating Errors to Calling Applications Error handling is an essential aspect of database programming especially

2 min read 08-10-2024 27
RAISERROR from Catch Block in TSQL Passed to Calling Batch - Need that Passed to Calling Application
RAISERROR from Catch Block in TSQL Passed to Calling Batch - Need that Passed to Calling Application

SQL Email Verification Function using Regex

SQL Email Verification Function Using Regex Email verification is a critical aspect of modern web applications Ensuring that users provide valid email addresses

3 min read 07-10-2024 28
SQL Email Verification Function using Regex
SQL Email Verification Function using Regex

Extract and process substring between varying numbers of delimiters in a variable length string

Extracting and Processing Substrings Between Varying Delimiters in a Variable Length String In many programming scenarios you may encounter situations where you

2 min read 16-09-2024 47
Extract and process substring between varying numbers of delimiters in a variable length string
Extract and process substring between varying numbers of delimiters in a variable length string

Are there any disadvantages to always using nvarchar(MAX)?

The NVARCHAR MAX Debate Is Bigger Always Better in SQL Server The decision to use nvarchar MAX for all character fields in SQL Server 2005 and beyond might seem

2 min read 07-09-2024 49
Are there any disadvantages to always using nvarchar(MAX)?
Are there any disadvantages to always using nvarchar(MAX)?

What represents a double in sql server?

Choosing the Right SQL Server Data Type for Latitude and Longitude decimal vs float You re facing a common dilemma when working with geographical coordinates in

2 min read 07-09-2024 51
What represents a double in sql server?
What represents a double in sql server?

Alter table add multiple columns ms sql

Adding Multiple Columns to a Table in MS SQL Troubleshooting Syntax Errors The provided code attempts to add multiple columns to different tables within an MS S

3 min read 07-09-2024 47
Alter table add multiple columns ms sql
Alter table add multiple columns ms sql

SQL Server: How to list all CLR functions/procedures/objects for assembly

Finding SQL CLR Objects Associated with a Specific Assembly in SQL Server This article tackles a common challenge faced by SQL Server developers identifying whi

2 min read 07-09-2024 59
SQL Server: How to list all CLR functions/procedures/objects for assembly
SQL Server: How to list all CLR functions/procedures/objects for assembly

Delphi - Either BOF or EOF is True, or the current record has been deleted

Avoiding the BOF or EOF is True Error in Delphi When Querying Empty Tables The error Either BOF or EOF is True or the current record has been deleted often aris

2 min read 07-09-2024 74
Delphi - Either BOF or EOF is True, or the current record has been deleted
Delphi - Either BOF or EOF is True, or the current record has been deleted

How can you tell what Tables are taking up the most space in a SQL Server 2005 Database?

Identifying Space Hogs Finding Tables Consuming the Most Space in SQL Server 2005 Imagine you re working with a SQL Server 2005 database thats suddenly balloone

3 min read 07-09-2024 52
How can you tell what Tables are taking up the most space in a SQL Server 2005 Database?
How can you tell what Tables are taking up the most space in a SQL Server 2005 Database?

Two datagridviews in one windows form = not possible to save data to the second datagridview

Two Data Grid Views One Problem Saving Data in Win Forms You re trying to create a Windows Form with two Data Grid Views each linked to a separate table in your

3 min read 07-09-2024 54
Two datagridviews in one windows form = not possible to save data to the second datagridview
Two datagridviews in one windows form = not possible to save data to the second datagridview

Divide in SQL Server

How to Achieve Rounded Division Results in SQL Server When performing division in SQL Server especially in versions like SQL Server 2005 Express you might encou

2 min read 07-09-2024 48
Divide in SQL Server
Divide in SQL Server

update statement in a stored procedure using temp table and real table

Updating a Table Using a Temporary Table in a Stored Procedure This article will guide you through updating a table using data from a temporary table within a s

3 min read 07-09-2024 54
update statement in a stored procedure using temp table and real table
update statement in a stored procedure using temp table and real table