Categories
Development

silent install IBM data server client using response file, Anyone tried to install in D drive?

I am trying to install DB2 ibm data server client(version 11.1), silent install in my windows server. i am using response file for the installation. I gave the path in response file to install in D drive, but still it is installing in C drive only. the command i was using is: msiexec /i “MSI […]

Categories
Development

Can’t figure out the correct quotation mark structure for a sql string

I am trying to use OPENQUERY with dynamic variables. I tried to create a query string like this; DECLARE @SQL nvarchar(MAX); DECLARE @CRLF nchar(2) = NCHAR(13) + NCHAR(10); SET @SQL = N'{SELECT * INTO #tmpTable}’ + @CRLF + N’FROM OPENQUERY(“my_source_ip”, ”EXEC [DB].dbo.SP_inventory’ + CONVERT(varchar(10),@StoreId) + ‘,’ + QUOTENAME(CONVERT(varchar,@StartDate,112)) + ‘,’ + QUOTENAME(CONVERT(varchar,@EndDate,112)) +’)’; However, I […]

Categories
Development

Passing Second Parameter to Stored Procedure in C#

In the following code, I’m trying to retrieve the ID of the manager which then has to be passed as the second parameter to the SQL Stored procedure as shown in the code below: Currently the code uses only one parameter (EmpID). void EmpProfileLists(string EmpId,string EmpName) { if (EmpId == “0”) { Label2.Text = “There […]

Categories
Development JSON

Getting error in converting Json response to java object while writing test cases

I am working with an api and using Gson to convert Json response into java object. The code is working fine and I am getting the required results, but when I am writing test cases I am getting a ClassCastException. GET Call: String jsonResponse = getData(parameter1,parameter2);//api call if(!StringUtils.equalsIgnoreCase(jsonResponse, “null”)) {`JSONObject jsonObject = new JSONObject(jsonResponse);` Gson […]

Categories
Ask Politics

[ Politics ] Open Question : Why does China put Muslims in concentration camps?

.

Categories
Ask

[ China ] Open Question : Why does China put Muslims in concentration camps?

Categories
Ask Politics

[ Politics ] Open Question : Why do libtards choose to ignore how much Trump is making America greater, and instead they listen to the lies from the fake news media?

Categories
Ask Diet & Fitness

[ Diet & Fitness ] Open Question : Is it ok for a 15 year old girl to eat 600 calories a day?

Categories
Ask

[ Singles & Dating ] Open Question : Is it okay to have a crush on Kaylee and Danielle and the same time?

I just don’t know for sure. I have a crush on both girls. However I am really starting to like Kaylee.

Categories
Ask Politics

[ Politics ] Open Question : Why do Obamites believe it is okay for Obama to have lied to them every day of his presidency but not okay for Trump to lie everyday?