Top "Declare" questions

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

PHP using Declare ? What is a tick?

I am a little bit confused by the PHP function declare. What exactly is a single tick? I thought a …

php declare
how can i declare variables via macros?

first of all, I'm using MS's Visual Studio and using C language. Recently I need to declare variables with just …

c macros line declare
Cant declare variable SQL

I've been trying to declare an integer variable but its just not working. Here is my query: DECLARE @count INT …

mysql sql variables declare
Why are "declare -f" and "declare -a" needed in bash scripts?

Sorry for the innocent question - I'm just trying to understand... For example - I have: $ cat test.sh #!/bin/…

bash function declare
vb.net - How to Declare new task as SUB with parameters

As you know we have a new syntax in vb.net with possibility to create inline tasks so we could …

vb.net parameters task declare
Declare Variable Not In Function by postgres

I want to declare variable in postgres but not in function... Declare c varchar; a integer; b integer; select b = …

postgresql variables declare
JavaScript: Can I declare variables inside switch cases?

In C language, you cannot declare any variables inside 'case' statements. switch ( i ){ case 1: int a = 1; //error! break; } However, you …

javascript variables switch-statement case declare
declare not a valid identifier bash

I have a problem with my a bash script. What I do is assign variables like this. for ((i=START;…

bash variables for-loop sed declare
How to select the row table data in pl/sql

Please help. I tried this, I don't know how to proceed. I need to give a select into statement for …

oracle plsql declare rowtype
Difference between DECLARE and SET in SQL

What's the difference between DECLARE and SET using SQL (or more specifically MySQL)? Both can set variables it seems. I …

mysql sql set declare