Conversion failed when converting the nvarchar value ... to data type int
I created the procedure listed below: ``` CREATE procedure getdata ( @ID int, @frm varchar(250), @to varchar(250) ) AS BEGIN DECLARE @SQL nvarchar(500) set @SQL = 'select' set @SQL = @...
- Modified
- 9 Feb at 04:15
Container is not running
I tried to start a exited container like follows, 1. I listed down all available containers using docker ps -a. It listed the following: 2. I entered the following commands to start the container whi...
- Modified
- 17 Dec at 05:8
Download content video from video stream with a path of .TS or .m3u8 file through actual code so i can make chrome extension
Videos on most sites make use of progressive downloading, which means that the video is downloaded to my computer, and easy to trace. There are lots of extensions out there to do this, and even in the...
- Modified
- 16 May at 01:30
"The underlying connection was closed: An unexpected error occurred on a send." With SSL Certificate
## Issue I get this exception > The underlying connection was closed: An unexpected error occurred on a send. in my logs, and it is breaking our OEM integration with our e-mail marketing system at ...
- Modified
- 19 Nov at 15:8
Extension methods must be defined in a non-generic static class
I'm getting the error: > Extension methods must be defined in a non-generic static class On the line: ``` public class LinqHelper ``` Here is the helper class, based on Mark Gavells code. I'm re...
- Modified
- 23 May at 11:9
Google Map API v3 — set bounds and center
I've recently switched to Google Maps API V3. I'm working of a simple example which plots markers from an array, however I do not know how to center and zoom automatically with respect to the markers....
- Modified
- 23 Sep at 15:40
@RequestBody and @ResponseBody annotations in Spring
Can someone explain the `@RequestBody` and `@ResponseBody` annotations in Spring 3? What are they for? Any examples would be great.
- Modified
- 18 May at 14:45
Number of rows affected by an UPDATE in PL/SQL
I have a PL/SQL function (running on Oracle 10g) in which I update some rows. Is there a way to find out how many rows were affected by the UPDATE? When executing the query manually it tells me how ma...
- Modified
- 8 Mar at 17:23
How can I handle the warning of file_get_contents() function in PHP?
I wrote a PHP code like this ``` $site="http://www.google.com"; $content = file_get_content($site); echo $content; ``` But when I remove "http://" from `$site` I get the following warning: > Warni...
- Modified
- 4 Oct at 13:18
How to asynchronously call a method in Java
I've been looking at [Go's goroutines](http://golang.org/doc/effective_go.html#goroutines) lately and thought it would be nice to have something similar in Java. As far as I've searched the common way...
- Modified
- 3 Dec at 20:34
SQL - Query to get server's IP address
Is there a query in SQL Server 2005 I can use to get the server's IP or name?
- Modified
- 26 Sep at 21:37
Get a list of all git commits, including the 'lost' ones
Let's say that I have a graph like this: ``` A---B---C---D (master) \ \-E---F (HEAD) ``` If I do `git log --all --oneline`, I will get all six of my commits. But if the graph is ``` A-...
How can I debug javascript on Android?
I'm working on a project that involves Raphaeljs. Turns out, it doesn't work on Android. It on the iPhone. How the heck to I go about debugging something on the Android browser? It's WebKit, so if I...
How to keep :active css style after click a button
Once the button is clicked I want it to stay with the active style instead of going back to normal style. Can this be done with CSS please? Im using blurb button from DIVI Theme (WordPress). Please h...
Android getting value from selected radiobutton
I have a piece of code with three `RadioButton`s within a `RadioGroup`. I want to set an `onCheckedListener` that will show the value of the `RadioButton` in a `Toast`. However what I have gotten so f...
How do I extract text that lies between parentheses (round brackets)?
I have a string `User name (sales)` and I want to extract the text between the brackets, how would I do this? I suspect sub-string but I can't work out how to read until the closing bracket, the len...
Apache redirect to another port
I've struggled with this for some time and am definitely doing something wrong. I have Apache server and a JBoss server on the same machine. I'd like to redirect traffic for `mydomain.example` to JBos...
Escape string for use in Javascript regex
> [Is there a RegExp.escape function in Javascript?](https://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript) I am trying to build a javascript regex based ...
- Modified
- 23 May at 11:55
Removing multiple classes (jQuery)
Is there any better way to rewrite this: ``` $('element').removeClass('class1').removeClass('class2'); ``` I cannot use `removeClass();` as it would remove ALL classes, which I don't want.
Error: JavaFX runtime components are missing, and are required to run this application with JDK 11
I'm trying to run the sample JavaFX project using IntelliJ but it fails with the exception : ``` Error: JavaFX runtime components are missing, and are required to run this application ``` I have do...
- Modified
- 23 Jul at 12:22
How can I hide an element using Twitter Bootstrap and show it using jQuery?
Let's say I create an HTML element like this, ``` <div id="my-div" class="hidden">Hello, TB3</div> <div id="my-div" class="hide">Hello, TB4</div> <div id="my-div" class="d-none">Hello, TB4</div> ``` ...
- Modified
- 3 Mar at 23:3
Subtract two variables in Bash
I have the script below to subtract the counts of files between two directories but the `COUNT=` expression does not work. What is the correct syntax? ``` #!/usr/bin/env bash FIRSTV=`ls -1 | wc -l` ...
SQL Server Configuration Manager cannot be found
After installing SQL Server 2008, I cannot find the `SQL Server Configuration Manager` in `Start / SQL Server 2008 / Configuration Tools` menu. What should I do to install this tool?
- Modified
- 23 Aug at 09:2
Go Back to Previous Page
I am using a form to "Rate" a page. This form "posts" data to a php script elsewhere. I simply want to display a link after the form is processed which will bring the user back to previous page. Can I...
- Modified
- 30 Mar at 20:42
Generate a random letter in Python
Is there a way to generate random letters in Python (like random.randint but for letters)? The range functionality of random.randint would be nice but having a generator that just outputs a random let...
- Modified
- 17 Jun at 13:39