Top "Declare" questions

Use this tag for questions related to declare, which is usually meant for declaring variables, statements, etc.

How to declare an ArrayList with values?

ArrayList or List declaration in Java has questioned and answered how to declare an empty ArrayList but how do I …

java arraylist initialization declare
Declaring array of objects

I have a variable which is an array and I want every element of the array to act as an …

javascript arrays object declare
How do I use variables in Oracle SQL Developer?

Below is an example of using variables in SQL Server 2000. DECLARE @EmpIDVar INT SET @EmpIDVar = 1234 SELECT * FROM Employees WHERE EmployeeID = @…

sql oracle variables declare
SELECT INTO Variable in MySQL DECLARE causes syntax error?

I´d like to SELECT a single value into a variable. I´d tried to following: DECLARE myvar INT(4); -- …

mysql select mysql-workbench declare
creating array without declaring the size - java

i've digging around about the same issue but i couldn't find the same as i had i want to create …

java arrays size declare
Declaring SQL variables - SQL Server

Can anyone check on my statement... DECLARE @tblName varchar(MAX), @strSQL varchar(MAX) SET @tblName ='SELECT DISTINCT o.name as …

sql-server sql-server-2008 variables declare
Create View - Declare a variable

I am creating a view that is using that STUFF function. I want to put the result of STUFF in …

sql-server tsql sql-view declare
Python: Declare as integer and character

# declare score as integer score = int # declare rating as character rating = chr # write "Enter score: " # input score score = input("Enter …

python declare
How to declare session variable in C#?

I want to make a new session, where whatever is typed in a textbox is saved in that session. Then …

c# session declare
Declare variable set = select

This probably sounds like a really stupid question, but how do I declare a variable for used in a PostgreSQL 9.3 …

postgresql variables set plpgsql declare