Anvi Jain has Published 500 Articles

How to order records by a column in MySQL and place empty records at the end?

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:24

261 Views

To get order by column and place empty records at the end, use ORDER By and “is null” from MySQL. The syntax is as follows −select *from yourTableName order by if(yourColumName = ’ ’ or yourColumName is null, 1, 0), yourColumnName;To understand the above syntax, let us create a table. ... Read More

Changing the current count of an Auto Increment value in MySQL?

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:24

553 Views

You can change the current count of an auto_increment in MySQL using ALTER command.The syntax is as follows −ALTER TABLE yourTableName AUTO_INCREMENT = IntegerValue;To understand the above syntax, let us create a table. The query to create a table is as follows −mysql> create table changeCurrentAutoIncrementValue    −> (   ... Read More

Decrease a row value by 1 in MySQL?

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:24

967 Views

You can increase and decrease row value by 1 in MySQL using UPDATE command. The syntax is as follows −UPDATE yourTableName set yourColumnName = yourColumnName-1 where condition;Let us create a table to decrease row value by 1. The following is the query −mysql> create table IncrementAndDecrementValue    −> (   ... Read More

Difference between #include and #include "filename" in C/C++?

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:22

3K+ Views

The difference between the two forms is in the location where the preprocessor searches for the file to be included.#include The preprocessor searches in an implementation-dependent manner, it searches directories pre-designated by the compiler. This method is usually used to include standard library header files.#include "filename"The preprocessor searches in the ... Read More

How Can we permanently define user-defined variable for a client in MySQL?

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:21

342 Views

In MySQL, it is not possible that a client can hold user variable permanently. It is because all the variables for a given client connection are automatically freed when that client exits.

How to create a dialog with “yes” and “no” options in JavaScript?

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:21

3K+ Views

No, you cannot create a dialog box with “yes” or “no”. A confirmation dialog box in JavaScript has “Ok” and “Cancel” button.To create a dialog with “yes” or “nor”, use a custom dialog box.ExampleLive Demo                         ... Read More

Using SAP Web Service from SAP by PHP with parameters

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:20

492 Views

Possible reason would be that SAP is case sensitive. Please try using HeadData instead of HEADDATA. Take a look at WSDL - all members inside “StandardMaterialSaveData” are option and SOAP is case sensitive so try using HeadData instead of HEADDATA

Using SSIS 2014 with Visual Studio 2012 to integrate with SAP

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:20

268 Views

You made a small mistake but a mistake having a big impact. SSIS 2014 does not support VS 2012 in your case. Just switch to VS 2013, your problem will be resolved.

Automating SAP Transactions/actions using SAP GUI

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:20

966 Views

You can use SAP GUI. It has built-in tool which can record and playback activity that can be utilized for automation and automated jobs. In case, the values or inputs are not changing then you can use the same script on each occasion.It lies within the main menu of the ... Read More

Error while connection SAP HANA with .NET

Anvi Jain

Anvi Jain

Updated on 30-Jul-2019 22:30:20

241 Views

You would require installing both the 32 bit and 64 bit SAP HANA client software as Microsoft Visual operates on a 32 bit application.

Advertisements