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

Database

 
AnswerRe: CSV to Tab Delimiter file Pin
Mike Dimmick23-Aug-06 0:19
Mike Dimmick23-Aug-06 0:19 
Questionquery Pin
dayakar_dn22-Aug-06 20:36
dayakar_dn22-Aug-06 20:36 
AnswerRe: query Pin
Eric Dahlvang23-Aug-06 5:10
Eric Dahlvang23-Aug-06 5:10 
Questionhow to configure a SQL Server 2000 that syncronize the data with Microsoft SQL Server 2000 Enterprise Manager [modified] Pin
Vartika Srivastava22-Aug-06 20:17
Vartika Srivastava22-Aug-06 20:17 
QuestionBulk Insert Pin
Yong Yau22-Aug-06 17:47
Yong Yau22-Aug-06 17:47 
QuestionAccessing local database created in VS 2005 [modified] Pin
Libor Tinka22-Aug-06 7:00
Libor Tinka22-Aug-06 7:00 
AnswerRe: Accessing local database created in VS 2005 Pin
Mike Dimmick22-Aug-06 23:59
Mike Dimmick22-Aug-06 23:59 
QuestionDouble field name in select statement [modified] Pin
Paddy Boyd22-Aug-06 3:14
Paddy Boyd22-Aug-06 3:14 
I'm just looking for a bit of education here. I was reviewing an old piece of code and found the something like the following:

SELECT NAME NAME
FROM TABLE


Where NAME would be a field name.

This doesn't throw an error and returns a single column of data (just NAME).

I'm just wondering why? And why doesn't it fall over? I had a quick search under books online, but (as you can probably see from the thread title), i'm not sure how to phrase that search..




-- modified at 9:16 Tuesday 22nd August, 2006


Just figured it out - second NAME becomes an alias for the first NAME, d'oh!
AnswerRe: Double field name in select statement Pin
Colin Angus Mackay22-Aug-06 5:04
Colin Angus Mackay22-Aug-06 5:04 
GeneralRe: Double field name in select statement Pin
Paddy Boyd22-Aug-06 5:08
Paddy Boyd22-Aug-06 5:08 
AnswerRe: Double field name in select statement Pin
Colin Angus Mackay22-Aug-06 5:06
Colin Angus Mackay22-Aug-06 5:06 
QuestionHow to catch the error return from a trigger in stored procedure in sql 2000 Pin
merlynml21-Aug-06 23:01
merlynml21-Aug-06 23:01 
AnswerRe: How to catch the error return from a trigger in stored procedure in sql 2000 Pin
Eric Dahlvang22-Aug-06 4:48
Eric Dahlvang22-Aug-06 4:48 
Question[DTS] Replace "N.A." with NULL Pin
Duncan Edwards Jones21-Aug-06 22:39
professionalDuncan Edwards Jones21-Aug-06 22:39 
QuestionAbout send mail from SQL Server 2000. Pin
selvaraj S.Kaliyappan21-Aug-06 22:28
selvaraj S.Kaliyappan21-Aug-06 22:28 
QuestionMultiple Tables/DB's performance Pin
MatthysDT21-Aug-06 20:57
MatthysDT21-Aug-06 20:57 
AnswerRe: Multiple Tables/DB's performance Pin
Mike Dimmick22-Aug-06 2:05
Mike Dimmick22-Aug-06 2:05 
AnswerRe: Multiple Tables/DB's performance Pin
i.j.russell22-Aug-06 2:57
i.j.russell22-Aug-06 2:57 
QuestionTable partitioning in SQL Server 2000 Pin
Uma Kameswari21-Aug-06 18:39
Uma Kameswari21-Aug-06 18:39 
AnswerRe: Table partitioning in SQL Server 2000 Pin
_AK_21-Aug-06 20:03
_AK_21-Aug-06 20:03 
GeneralRe: Table partitioning in SQL Server 2000 Pin
Uma Kameswari21-Aug-06 21:51
Uma Kameswari21-Aug-06 21:51 
GeneralRe: Table partitioning in SQL Server 2000 Pin
Colin Angus Mackay21-Aug-06 22:06
Colin Angus Mackay21-Aug-06 22:06 
QuestionAdding a new row to a DataTable Pin
dptalt21-Aug-06 10:09
dptalt21-Aug-06 10:09 
AnswerRe: Adding a new row to a DataTable Pin
Stephen McGuire21-Aug-06 11:48
Stephen McGuire21-Aug-06 11:48 
AnswerRe: Adding a new row to a DataTable Pin
Keith Malwitz21-Aug-06 12:10
Keith Malwitz21-Aug-06 12:10 

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.