Home > Archive > PostgreSQL SQL > April 2005 > Query about SQL in PostgreSQL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Query about SQL in PostgreSQL
Muhammad Nadeem Ashraf

2005-04-19, 9:24 am

Hi,
I am new user of PostGreSQL 8.0.1. While using it i faced following issue. As SQL is Case insensetive Language So the Uper or Lower cases are not significant. But while using the database there is problem.
If i Create new Table with name (tblstudent) then upon SQL queries it is fine to use Select * from tblstudent. However i face probel if i give the name of table in Capital letters i.e. if the name is (tblStudent) then upon using Select * from tblStudent,
following error is appeard:
ERROR: relation "tblst" does not exist

And if i use the query Select * from "tblStudent" then it works fine.


Please help me out in this regard.
Nadeem



---------------------------------
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
Jeff Eckermann

2005-04-19, 9:24 am

"Muhammad Nadeem Ashraf" <nadeem_engg@yahoo.com> wrote in message
news:20050419094846.21474.qmail@web50506.mail.yahoo.com...
> Hi,
> I am new user of PostGreSQL 8.0.1. While using it i faced following issue.
> As SQL is Case insensetive Language So the Uper or Lower cases are not
> significant. But while using the database there is problem.
> If i Create new Table with name (tblstudent) then upon SQL queries it is
> fine to use Select * from tblstudent. However i face probel if i give the
> name of table in Capital letters i.e. if the name is (tblStudent) then
> upon using Select * from tblStudent, following error is appeard:
> ERROR: relation "tblst" does not exist


That should have worked. Can you provide a session transcript that shows
this?

>
> And if i use the query Select * from "tblStudent" then it works fine.
>
>
> Please help me out in this regard.
> Nadeem
>
>
>
> ---------------------------------
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.



Jeff Eckermann

2005-04-19, 9:24 am

Forget that message. I need another cup of coffee!

"Jeff Eckermann" < jeff_eckermann@yahoo
.com> wrote in message
news:d433uh$2ujf$2@n
ews.hub.org...
> "Muhammad Nadeem Ashraf" <nadeem_engg@yahoo.com> wrote in message
> news:20050419094846.21474.qmail@web50506.mail.yahoo.com...
>
> That should have worked. Can you provide a session transcript that shows
> this?
>
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com