Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Site Related Forums
 Site Related Discussions
 Help!!!

Author  Topic 

sunmingtao
Starting Member

3 Posts

Posted - 2002-10-19 : 22:24:31
I'm new to SQL. I'd like to know:

are names in SQL case-sensitive?
is SQL a strongly typed language?

thank you.

Nazim
A custom title

1408 Posts

Posted - 2002-10-20 : 00:44:05
1.No
2. Yes
-------------------------
What lies behind you and what lies ahead of you are small matters compared to what lies within you.-Ralph Waldo Emerson


Edited by - Nazim on 10/20/2002 03:01:08
Go to Top of Page

sunmingtao
Starting Member

3 Posts

Posted - 2002-10-20 : 02:05:50
Thank you.
so you mean although there are many data types in SQL, such as char(n), verchar2(n), number(o,d), data, long. it doesn't matter if you assign wrong type to a variable?

i have another question:

what is the parameter passing mechanism in SQL? is it By Reference or By Content or both?

Go to Top of Page

Nazim
A custom title

1408 Posts

Posted - 2002-10-20 : 03:00:38
Am sorry , the Second Q is Yes.


I should have been more clearer on your 2nd Q.



Firstly, Sql server doesnt have anything like varchar2, its with Oracle.

you can always assign numeric values to char and varchar .but cant assign char values to numeric variables.

Parameter passing mechanism is by val.

i will suggest u to go thru BOL.



-------------------------
What lies behind you and what lies ahead of you are small matters compared to what lies within you.-Ralph Waldo Emerson
Go to Top of Page

sunmingtao
Starting Member

3 Posts

Posted - 2002-10-20 : 06:29:26
what do you mean by BOL?

Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2002-10-20 : 06:55:23
BOL is Books Online, the SQL Server documentation.
However, I suspect you are using Oracle. This site is SQL Server focussed. You might be best off at an Oracle site.

Hope that helps

Damian
Go to Top of Page
   

- Advertisement -