Skip to content
  • Facebook
  • GitHub
  • YouTube
  • Pinterest
My Tec Bits
  • Home
  • Microsoft
    • .Net
      • ASP.NET
      • MVC
      • Visual Studio
    • IIS
    • SQL Server
      • SQL Server 2019
      • SQL Server 2017
      • SQL Server 2016
      • SQL Server 2014
      • SQL Server 2012
      • SQL Server 2008
    • Windows OS
  • Web Development
    • Java Script
    • Jquery
    • Python
    • Bootstrap
    • Zurb Foundation
    • Web Security
  • More
    • macOS
    • Reviews
  • Online Tools
    • Fitness Calculators
    • Encoders & Decoders
    • Cryptography
    • Unit Converters
    • Math. Calculators
    • Date & Time Calculators
    • Finance Calculators

Beaulin Twinkle

Accessing the index while iterating a sequence with a for loop in Python

Nov 21, 2023 by Beaulin Twinkle
Accessing the index while iterating a sequence with a for loop in Python

There may be situations where you may need to access the index while iterating a sequence with a for loop along with the element of the sequence.

Categories Python Tags Python 3.10.x, Python 3.x Leave a comment

How to replace NULL with 0 in SQL Server?

Nov 4, 2023 by Beaulin Twinkle
Replace NULL with 0 in SQL Server using ISNULL

There are few different ways to replace NULL with 0 in SQL Server. Let us go through them with examples in this article.

Categories SQL Server Tags SQL Server 2022, Transact-SQL (T-SQL) Leave a comment

How to get float or decimal result while dividing integers in SQL Server?

Oct 25, 2023 by Beaulin Twinkle
Dividing integers in SQL Server gives integer result.

In SQL Server when you divide and integer with another integer, the result will always be an integer. So, what to do to get float or decimal result while dividing integers in SQL Server?

Categories SQL Server Tags SQL, SQL Server 2022, Transact-SQL (T-SQL) Leave a comment

How to format a number with commas in SQL Server?

Oct 18, 2023 by Beaulin Twinkle
Format a number with commas using FORMAT function

There are couple of different ways to format a number with commas in SQL Server. Let see them in detail.

Categories SQL Server Tags SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Server 2019, SQL Server 2022, SQL Tips, Transact-SQL (T-SQL) Leave a comment

How to calculate percentage in an SQL statement?

Oct 15, 2023 by Beaulin Twinkle
Calculate percentage with a SQL statement.

To calculate the percentage in an Sql statement, we can use the basic percentage arithmetic formula along with some basic SQL Server functions

Categories SQL Server Tags SQL Server 2019, SQL Server 2022, Transact-SQL (T-SQL) Leave a comment

How to delete a file or folder in Python?

Sep 21, 2023 by Beaulin Twinkle
Delete a file or folder in Python

There are multiple ways to delete a file or folder in Python programming. You can use the os module or the shuttle module.

Categories Python Tags Python 3.10.x, Python 3.4.x, Python 3.x Leave a comment

How to create a directory, and any missing parent directories in Python?

Sep 20, 2023 by Beaulin Twinkle
Create a directory, and any missing parent directories

To create a directory in Python, including any missing parent directories, you can use the os module or the Path class from the pathlib module.

Categories Python Tags Python 2.x, Python 3.10.x, Python 3.4.x, Python 3.x Leave a comment

How to exit from single-user mode in SQL Server database?

Sep 14, 2023 by Beaulin Twinkle
exit from single-user mode

Exiting from single-user mode in SQL Server involves resetting the database to multi-user mode. Here’s how to exit single-user mode.

Categories SQL Server Tags SQL Server 2019, SQL Sever Management Studio (SSMS), Transact-SQL (T-SQL) Leave a comment

How to group by datetime column without considering time?

Aug 31, 2023 by Beaulin Twinkle
Group by datetime column without considering time

Learn how to group datetime data by date without considering the time component in SQL. Discover practical SQL queries using CAST or CONVERT functions for effective data aggregation.

Categories SQL Server Tags SQL, SQL Server 2019, Transact-SQL (T-SQL) Leave a comment

Returning multiple values from a function in Python

Aug 10, 2023 by Beaulin Twinkle
Returning multiple values from a function in Python

Efficiently returning multiple values from a single function in Python using various methods. Learn how to return objects, tuples, lists, and dictionaries, enhancing your code’s readability and organization. Master the art of extracting and utilizing multiple values seamlessly.

Categories Python Tags Python 3.10.x, Python 3.x Leave a comment

How to decode ASCII to text in C#?

Aug 3, 2023 by Beaulin Twinkle
Decode ASCII to text in C#

Learn how to decode ASCII to text in C# with an example. Understand the process of converting ASCII-encoded data back into readable text using the Encoding.ASCII.GetString() method.

Categories .Net Tags C# (C Sharp), C# 7.0 (C Sharp) Leave a comment

How to encode a string to ASCII in C#?

Aug 10, 2023Jul 19, 2023 by Beaulin Twinkle
Encode a string to ASCII in C#

In C#, developers have access to a wide range of encoding options, including the popular American Standard Code for Information Interchange (ASCII). In this article, we will see how to encode a string to ASCII in C#.

Categories .Net Tags C# (C Sharp), C# 7.0 (C Sharp) Leave a comment

Advantages and disadvantages of cursors in SQL Server

Jul 15, 2023 by Beaulin Twinkle
Advantages and disadvantages of cursors in SQL Server

While cursors can be useful in certain scenarios, they also come with both advantages and disadvantages. Let’s explore the advantages and disadvantages of cursors.

Categories SQL Server Tags SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Server 2019, Transact-SQL (T-SQL) Leave a comment

In SQL Server how to backup the database to a SQL script file?

Jul 4, 2023 by Beaulin Twinkle
Backup SQL Server database to a SQL script file

To backup a SQL Server database to a SQL script file, you can use the SQL Server Management Studio (SSMS). Here is the step-by-step instructions.

Categories SQL Server Tags SQL Server 2019, SQL Sever Management Studio (SSMS) Leave a comment

Upgrading all Python packages with pip in single step

Jul 4, 2023 by Beaulin Twinkle
Upgrading all Python packages with pip in single step

Upgrade all Python packages in a single step using pip. Learn how to effortlessly update all installed packages in your Python environment with a simple command.

Categories Python Tags Python 2.x, Python 3.10.x, Python 3.x Leave a comment

How to find the index of an item in a list in Python?

Mar 19, 2023 by Beaulin Twinkle
How to find the index of an item in a list in Python?

In Python programming, there are several ways to find the index of an item in a list. Let us go through some of the commonly used methods.

Categories Python Tags Python 3.10.x, Python 3.x, Python Tips Leave a comment

How to check if the given string is a number in python?

Mar 10, 2023 by Beaulin Twinkle
Check If The Given String Is A Number In Python

Python provides many built-in functions that simplify the task of performing various operations. One of these operations is to check if a given string is a number or not.

Categories Python Tags Python 3.10.x, Python 3.x, Python Tips Leave a comment

IIF vs CHOOSE in SQL Server

Mar 2, 2023 by Beaulin Twinkle
IIF vs CHOOSE in SQL Server

IIF and CHOOSE are two logical functions in SQL Server used for different purposes. Here we will see the competition of IIF vs CHOOSE.

Categories SQL Server Tags SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Server 2019, Transact-SQL (T-SQL) Leave a comment

How to insert multiple records with a single SQL query?

Feb 25, 2023 by Beaulin Twinkle
How to insert multiple records with a single SQL query?

Here is a simple tip to insert multiple records in an SQL Server database table with a single SQL insert query.

Categories SQL Server Tags SQL, SQL Server 2019, SQL Tips, Transact-SQL (T-SQL) Leave a comment

How to drop all the tables from a database in SQL Server?

Feb 25, 2023 by Beaulin Twinkle
How to drop all the tables from a database in SQL Server?

In rare situations like database level permission issues, you may need to drop all the tables from a SQL Server database and recreate them.

Categories SQL Server Tags SQL, SQL Server 2019, Transact-SQL (T-SQL) Leave a comment
Older posts
Page1 Page2 … Page20 Next →

Article Categories

  • Android (2)
  • Apple (22)
    • macOS (22)
  • Internet & Web Dev. (150)
    • DNN (4)
    • Java Script (10)
    • Jquery (8)
    • PHP (7)
    • Python (81)
    • Twitter Bootstrap (25)
    • Web Security (11)
    • Zurb Foundation (6)
  • Linux (3)
  • Microsoft (307)
    • .Net (66)
    • IIS (10)
    • Internet Explorer (3)
    • Office (2)
    • SQL Server (217)
    • Windows (24)
  • Networks And Distributed Systems (2)
  • Oracle (7)
    • Java (2)
    • Oracle Database (5)
  • Others (6)
  • Reviews (10)

Recent Articles

  • Accessing the index while iterating a sequence with a for loop in Python Nov 21, 2023
  • How to replace NULL with 0 in SQL Server? Nov 4, 2023
  • How to get float or decimal result while dividing integers in SQL Server? Oct 25, 2023
  • How to format a number with commas in SQL Server? Oct 18, 2023
  • How to calculate percentage in an SQL statement? Oct 15, 2023
  • How to delete a file or folder in Python? Sep 21, 2023
  • How to create a directory, and any missing parent directories in Python? Sep 20, 2023
  • How to exit from single-user mode in SQL Server database? Sep 14, 2023
  • How to group by datetime column without considering time? Aug 31, 2023
  • What Is Django Used For and Why Do We Use The Django Framework? Aug 29, 2023

Subscribe MyTecBits.com

Online Tools

  • Fitness Calculators
  • Encoders & Decoders
  • Cryptography
  • Unit Converters
  • Math. Calculators
  • Date & Time Calculators
  • Finance Calculators

Popular Articles

  • SQL Server: Concatenate Multiple Rows Into Single String
  • How To Get Day Of Week In SQL Server?
  • SQL Server: Search and Find Table by Name
  • Find Size Of Tables In Database - SQL Server
  • Find Indexes On A Table In SQL Server
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. Learn more...
  • Home
  • About Us
  • Contact Us
  • Site Map
  • Terms Of Use
  • Privacy Policy
© 2012 - 2023 My Tec Bits. All Rights Reserved.