Click here to Skip to main content
15,917,793 members
Home / Discussions / Database
   

Database

 
QuestionProgramming SQL Database Question Pin
Jethro6324-Aug-06 10:11
Jethro6324-Aug-06 10:11 
AnswerRe: Programming SQL Database Question Pin
Colin Angus Mackay24-Aug-06 11:23
Colin Angus Mackay24-Aug-06 11:23 
GeneralRe: Programming SQL Database Question Pin
Jethro6327-Aug-06 21:22
Jethro6327-Aug-06 21:22 
GeneralRe: Programming SQL Database Question Pin
Colin Angus Mackay27-Aug-06 21:51
Colin Angus Mackay27-Aug-06 21:51 
GeneralRe: Programming SQL Database Question Pin
Jethro6329-Aug-06 3:05
Jethro6329-Aug-06 3:05 
GeneralRe: Programming SQL Database Question Pin
Colin Angus Mackay29-Aug-06 11:23
Colin Angus Mackay29-Aug-06 11:23 
GeneralRe: Programming SQL Database Question Pin
Jethro6331-Aug-06 3:17
Jethro6331-Aug-06 3:17 
GeneralRe: Programming SQL Database Question Pin
Colin Angus Mackay31-Aug-06 8:49
Colin Angus Mackay31-Aug-06 8:49 
That is because you have written StationData as if it was a column name. You are performing a SELECT statement on a VIEW, the column name is TABLE_NAME and the type is a SYSNAME which is synonymous with a nvarchar(128) (by the way, all this is in SQL Server books on-line if you look in the index for INFORMATION_SCHEMA.TABLES).

So, when you are filtering on a nvarchar column, you must supply nvarchar data (or something that can be coerced into an nvarchar). Therefore you need to surround StationData in apostrophes, like this: 'StationData' (just as the example in my previous post showed)



GeneralRe: Programming SQL Database Question Pin
Jethro6331-Aug-06 9:13
Jethro6331-Aug-06 9:13 
QuestionPage Performance Pin
Amit Kumar G24-Aug-06 7:41
Amit Kumar G24-Aug-06 7:41 
AnswerDon't recache the data Pin
Ennis Ray Lynch, Jr.24-Aug-06 10:35
Ennis Ray Lynch, Jr.24-Aug-06 10:35 
QuestionConnector/Net 5.0.0 and Attributes Pin
knoppis24-Aug-06 6:42
knoppis24-Aug-06 6:42 
GeneralImport Data Into SQL Server 2005 Express Pin
Bassam Abdul-Baki24-Aug-06 6:36
professionalBassam Abdul-Baki24-Aug-06 6:36 
GeneralRe: Import Data Into SQL Server 2005 Express Pin
Mike Dimmick24-Aug-06 12:19
Mike Dimmick24-Aug-06 12:19 
GeneralRe: Import Data Into SQL Server 2005 Express Pin
Bassam Abdul-Baki25-Aug-06 2:49
professionalBassam Abdul-Baki25-Aug-06 2:49 
QuestionHow do I write this query? Pin
netDeveloper24-Aug-06 1:00
netDeveloper24-Aug-06 1:00 
AnswerRe: How do I write this query? Pin
Colin Angus Mackay24-Aug-06 2:17
Colin Angus Mackay24-Aug-06 2:17 
Questionexport dataset to excel?? Pin
steven_wong23-Aug-06 23:21
steven_wong23-Aug-06 23:21 
QuestionStored Proc Error help. Pin
vipinpaliwal198023-Aug-06 21:04
vipinpaliwal198023-Aug-06 21:04 
AnswerRe: Stored Proc Error help. Pin
Navi1523-Aug-06 23:34
Navi1523-Aug-06 23:34 
QuestionSql query Pls help [modified] Pin
vipinpaliwal198023-Aug-06 20:54
vipinpaliwal198023-Aug-06 20:54 
AnswerRe: Sql query Pls help Pin
Malcolm Smart23-Aug-06 21:00
Malcolm Smart23-Aug-06 21:00 
AnswerRe: Sql query Pls help Pin
bose_here23-Aug-06 21:17
bose_here23-Aug-06 21:17 
AnswerRe: Sql query Pls help Pin
Edbert P23-Aug-06 21:21
Edbert P23-Aug-06 21:21 
GeneralRe: Sql query Pls help Pin
Steve S23-Aug-06 22:08
Steve S23-Aug-06 22:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.