Search Results

Showing results for "sql"

Latest Articles

Cover Image for How to check for Is not Null And Is not Empty string in SQL server?

How to check for Is not Null And Is not Empty string in SQL server?

Published on September 2, 2023

šŸ“ **Title: "The Ultimate Guide to Checking for 'Is Not Null' and 'Is Not Empty' in SQL Server"** **Introduction:** Hey there, tech enthusiasts! Are you tired of grappling with SQL Server queries that involve checking if a column is not null and not an em

Cover Image for Copy tables from one database to another in SQL Server
copy

Copy tables from one database to another in SQL Server

Published on September 2, 2023

# How to Copy Tables from One Database to Another in SQL Server šŸ“Š So you have a database called "foo" and another one called "bar." And you want to move the "tblFoobar" table from "foo" to "bar" while preserving all the data šŸ¤”. Well, worry not! In this

Cover Image for How can I clone an SQL Server database on the same server in SQL Server 2008 Express?

How can I clone an SQL Server database on the same server in SQL Server 2008 Express?

Published on September 2, 2023

# How to Clone an SQL Server Database on the Same Server in SQL Server 2008 Express šŸ“Š So you have an MS SQL Server 2008 Express system and you want to clone a database for testing purposes. But you're stuck and don't know how to achieve this. Don't worry

Cover Image for How to select date without time in SQL

How to select date without time in SQL

Published on September 2, 2023

# How to Select Date Without Time in SQL: A Simple Guide Are you tired of dealing with unnecessary time information when selecting dates in SQL? We understand your frustration! In this blog post, we'll tackle the common issue of retrieving just the date p

Cover Image for How to pass an array into a SQL Server stored procedure
c#

How to pass an array into a SQL Server stored procedure

Published on September 2, 2023

## How to Pass an Array into a SQL Server Stored Procedure šŸ“ŠšŸ”€ Have you ever found yourself in a situation where you needed to pass an array into a SQL Server stored procedure? šŸ¤” It can be a daunting task, especially when you want to use that array as a

Cover Image for Add default value of datetime field in SQL Server to a timestamp
datetime

Add default value of datetime field in SQL Server to a timestamp

Published on September 2, 2023

šŸ“ **Title: Adding a Default Timestamp to a DateTime Field in SQL Server** **Introduction** šŸ‘‹ Hey there! Are you struggling with adding a default timestamp to a DateTime field in SQL Server? Don't worry, I've got your back! In this blog post, I'll guide

Cover Image for Difference between "read commited" and "repeatable read" in SQL Server

Difference between "read commited" and "repeatable read" in SQL Server

Published on September 2, 2023

# Understanding the Difference Between "Read Committed" and "Repeatable Read" in SQL Server šŸ“–šŸ’» So, you're working with SQL Server and you find yourself puzzled by the similarities between the "Read Committed" and "Repeatable Read" isolation levels. Fear

Cover Image for How to get first character of a string in SQL?

How to get first character of a string in SQL?

Published on September 2, 2023

# How to Get the First Character of a String in SQL? šŸ¤”šŸ”¤ Are you facing a scenario where you need to extract only the first character of a string in your SQL column? Don't worry, you're not alone! Many developers come across this situation and it's good

Cover Image for Select n random rows from SQL Server table
random

Select n random rows from SQL Server table

Published on September 2, 2023

# How to Select Random Rows from SQL Server Table So, you have a SQL Server table with a whopping 50,000 rows and you want to randomly select about 5,000 rows from it. šŸ¤” Don't worry, we've got you covered! We understand the pain of complex solutions and

Cover Image for Simulating group_concat MySQL function in Microsoft SQL Server 2005?

Simulating group_concat MySQL function in Microsoft SQL Server 2005?

Published on September 2, 2023

# Simulating the group_concat MySQL Function in Microsoft SQL Server 2005 So, you're in a situation where you need to migrate a MySQL-based app over to Microsoft SQL Server 2005 (not by choice, but hey, that's life). And one of the challenges you're facin