|
-
Aug 31st, 2012, 03:53 PM
#1
Thread Starter
Hyperactive Member
sql server
I've got several tables one is a table of classes (index by ClassID)
Another table is "ClassList" (index by ClassListID) the second column is ClassID how can I search for all students who have the ClassID of 9 for example?
I have this code
SELECT * FROM ClassData WHERE ClassID = 6
It returns nothing in SQL Server even though I can see rows in ClassData with the ClassID of 6.
What is wrong?
-
Aug 31st, 2012, 08:10 PM
#2
Re: sql server
From where you are running your sql?
-
Sep 1st, 2012, 10:38 AM
#3
Re: sql server
Table's name is "ClassList" or "ClassData" ?
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
Sep 1st, 2012, 11:16 AM
#4
Re: sql server
 Originally Posted by dee-u
From where you are running your sql?
 Originally Posted by jggtz
Table's name is "ClassList" or "ClassData" ?
Where are you running the SQL? Is it on the query analyzer window or your application?
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|