Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Adding multiple rows with a single Insert Statement

INSERT ALL Statement: With the help of INSERT ALL statement we can add multiple rows with a single INSERT statement. We can use this statement to insert multiple rows in one or more than one tables. It eliminates the need of writing insert statement

Program to print missing elements that lie in range 0 – 99

The logic of the program is to use a boolean array named presentseen of size 100, the size is defined by macro LIMIT. The boolean array is used to keep track of array elements that lie in range 0 to 99, which is initially initialized t

Dynamic memory allocation in C language

Dynamic memory allocation allows the C programmer to allocate memory at runtime. Dynamic memory allocation in C is possible by 3 functions of stdlib.h header file. malloc() calloc() free() malloc() function The malloc() function allocates single

How to get first n Characters from a given string using PHP

Hello Readers! On a given string if you want to take out the first n number of characters from it then PHP offers you 'substr' to get the characters. Consider an example below:- Suppose I want to get the first 5 characters from string, $MyString $M

Sorting In Linklist

Sorting inside Linklist:- This Blog will show you, how to create a sorted linklist. By using that can achieve the Sorting inside our Linklist. The Element will Enter inside Linklist in Sorted Manne. #include<stdio.h> #include<conio.h> #

MySQL "IF" function

The function that returns a value based on a condition is MYSQL IF function. Hence MYSQL IF function is one of the control flow functions. The syntax of the MySQL IF function is as follows: IF(expr,if_true_expr,if_false_expr) For example, If we h

How to dynamic generate password in PHP

Hello Reader's If you want to genrate password in PHP then you can use the code as below:- you just have to try this, use strlen instead of count, because count on a string is always 1:- function randomPassword() { $alphabet = 'abcdefghijklmnop

Handling Duplicates using INSERT IGNORE

INSERT IGNORE: INSERT IGNORE is used for handling duplicacy in a table as it ignores the query if the data is already present in the table and if the data does not exist then new row will be inserted. Syntax: INSERT IGNORE INTO tablename (column1,

How to create a PDF file in android?

This tutorial will help you to generate a PDF file in Android. Follow below steps to generate PDF file.   Step 1 :- First download .jar files from following URL and put it into your application's libs folder. Download URL:- https://www.dr

Fisher-Yates Algorithm for Array Shuffling

Hi there, Here in this blog I am going to provide Java implementation of Fisher-Yates Algorithm for array shuffling. Fisher–Yates shuffle algorithm as named after Ronald Fisher and Frank Yates. It is also known as Knuth shuffle.

1 11 156
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: