
Search In
How to create function for split string in SQL
Function accepts two parameters first the concatenated string and second the delimiter character.
CREATE FUNCTION [dbo].[Split](@String nvarchar(4000),@Delimiter char(1))
RETURNS @Results TABLE (Items
/* Header file to includes.
fopen is use to open a file in write mode here.
fputcsv function is use to output the CSV file having the name of columns and data coming from database. */
header('Content-Type: text/csv; charset=utf-8');
header('Content-
To create XML file in Java,here we are using DOM parser. By using the below code you can easily create XML file.
Write the below Java class to create a XML file:
CreateXMLFile.java
package com.babita;
import java.io.File;
import javax.xml.parser
We can run server side code from the client without performing a Postback using ICallBackEventHandler interface.The ICallbackEventHandler interface can be implemented on a page or a Web control. The interface contains two key methods: RaiseCallbackEv
Getting started with LINQ To SQL:
When we say LINQ To SQL, it refers to the technology through which we can access Database via LINQ. This has replaced the traditional way of writing SQL Query for Database access, even it has
What is define() function ?
The define() function basically use for creating a constant.
It depends on 3 parameters:
1-name-> this is the name of the constant.
2-value->value of the constant.
3-case_insensitive-> define constant name an
Definition of substr() function in php ?
The mainly use of The substr() function returns a component of a string.
Syntax of substr() function
substr(string,start,length)
You can see below example the use of substr() function.
<?php
//here
call() and query() method are the odoo methods which are used in def function in .py file, it is used to call the value.
To call the Odoo server objects we use two primary methods which are call() and query(), for this see the code example below and
Welcome to Findnerd. We are going to discuss the array function named array_flip which is useful to exchange the keys and its associated values.Please have a look.
<?php
$patients_nfo = array('Deepak'=>23,'Dipti'=>24,'sonak'=>34);
To fetcht the user detail from facebook like name,first_name,last_name,middle_name,gender etc use the code below :
func fetchUserDetails(useid: String,accessToken:String)
{
let graphRequest : FBSDKGraphRequest = FBSDKGraphRequest(graphPa
