Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 27th, 2011, 12:22 PM
donmcgowen donmcgowen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2011
Posts: 2 donmcgowen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 54 sec
Reputation Power: 0
No query results when using "where" clause

Hi everybody,
I am new to SQL and have run into a problem. I am connected to several instances in management studio. When I run a basic query using "where", it will not display results. It shows the column name but no data. It says successful but "0 rows affected". This only happens with one of the databases, the others work fine.
Example: select custno from arcust where salesmn='IW';
If I just do "select custno from arcust"
it displays all the results. It just won't let me filter using "where". I get the same results when importing data into Excel from that specific database, all others work fine. Any help would be appreciated.

Reply With Quote
  #2  
Old May 27th, 2011, 12:36 PM
donmcgowen donmcgowen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2011
Posts: 2 donmcgowen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 54 sec
Reputation Power: 0
O.K. I'm an idiot

dumb dumb dumb dumb
I didn't realize it was case sensitive. Solved my own problem.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > No query results when using "where" clause


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap