Click here to Skip to main content
15,913,055 members
Home / Discussions / Database
   

Database

 
AnswerRe: MS SQL Server Not Updating Column Names Pin
Ashfield3-Jan-10 8:19
Ashfield3-Jan-10 8:19 
QuestionDatabase Name Pin
Brendan Vogt2-Jan-10 1:48
Brendan Vogt2-Jan-10 1:48 
AnswerRe: Database Name Pin
Eddy Vluggen2-Jan-10 4:55
professionalEddy Vluggen2-Jan-10 4:55 
AnswerRe: Database Name Pin
Mycroft Holmes2-Jan-10 17:14
professionalMycroft Holmes2-Jan-10 17:14 
GeneralRe: Database Name Pin
Brendan Vogt2-Jan-10 20:41
Brendan Vogt2-Jan-10 20:41 
GeneralRe: Database Name Pin
Mycroft Holmes2-Jan-10 22:50
professionalMycroft Holmes2-Jan-10 22:50 
GeneralRe: Database Name Pin
Brendan Vogt2-Jan-10 22:53
Brendan Vogt2-Jan-10 22:53 
GeneralRe: Database Name Pin
Eddy Vluggen2-Jan-10 23:33
professionalEddy Vluggen2-Jan-10 23:33 
.NET Enthusiast wrote:
but why isn't Name on the keywords list


Because that particular example, name isn't a standalone keyword, but rather a modifier for an existing keyword. It's used with the create database[^] command;
CREATE DATABASE database_name
[ ON [PRIMARY]         [ <filespec> [,...n] ]
        [, <filegroup> [,...n] ]
]
[ LOG ON { <filespec> [,...n]  ]
[ FOR LOAD | FOR ATTACH ] 
<filespec> ::=

  ( [ NAME = logical_file_name, ]
  FILENAME = 'os_file_name'
  (and more)

SQL Server is also using these keywords as column-names, even in the master tables;
  select *   
    from sysobjects   
   where type = 'U'  
order by name

Yes, it will highlight the "name" keyword, but that doesn't mean that it's an erroneous statement.

I are Troll Suspicious | :suss:

AnswerRe: Database Name Pin
Brendan Vogt2-Jan-10 23:46
Brendan Vogt2-Jan-10 23:46 
QuestionMSSQL 7 Decryptor Pin
The_Collector1-Jan-10 21:10
The_Collector1-Jan-10 21:10 
Questionreturn value, Pin
Hema Bairavan1-Jan-10 20:09
Hema Bairavan1-Jan-10 20:09 
AnswerRe: return value, Pin
Blue_Boy1-Jan-10 22:29
Blue_Boy1-Jan-10 22:29 
GeneralRe: return value, Pin
Hema Bairavan2-Jan-10 4:44
Hema Bairavan2-Jan-10 4:44 
GeneralRe: return value, Pin
DarrenShultz2-Jan-10 10:23
DarrenShultz2-Jan-10 10:23 
Questionclarification Pin
Hema Bairavan1-Jan-10 7:48
Hema Bairavan1-Jan-10 7:48 
AnswerRe: clarification Pin
Abhijit Jana1-Jan-10 8:24
professionalAbhijit Jana1-Jan-10 8:24 
GeneralRe: clarification Pin
Hema Bairavan1-Jan-10 19:30
Hema Bairavan1-Jan-10 19:30 
AnswerRe: clarification Pin
Andy_L_J1-Jan-10 8:49
Andy_L_J1-Jan-10 8:49 
GeneralRe: clarification Pin
Hema Bairavan1-Jan-10 19:32
Hema Bairavan1-Jan-10 19:32 
GeneralRe: clarification Pin
DarrenShultz2-Jan-10 11:07
DarrenShultz2-Jan-10 11:07 
GeneralRe: clarification Pin
Hema Bairavan2-Jan-10 17:36
Hema Bairavan2-Jan-10 17:36 
QuestionRequire StoredProc Pin
yadlaprasad31-Dec-09 22:00
yadlaprasad31-Dec-09 22:00 
AnswerRe: Require StoredProc Pin
Blue_Boy31-Dec-09 22:16
Blue_Boy31-Dec-09 22:16 
AnswerRe: Require StoredProc Pin
yadlaprasad31-Dec-09 22:20
yadlaprasad31-Dec-09 22:20 
GeneralRe: Require StoredProc Pin
Blue_Boy31-Dec-09 22:33
Blue_Boy31-Dec-09 22:33 

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.