Click here to Skip to main content
15,889,612 members
Home / Discussions / Database
   

Database

 
AnswerRe: Select value of DropDawnList Inside GridView Pin
Paramhans Dubey3-May-10 2:57
professionalParamhans Dubey3-May-10 2:57 
GeneralRe: Select value of DropDawnList Inside GridView Pin
msomar3-May-10 4:34
msomar3-May-10 4:34 
GeneralRe: Select value of DropDawnList Inside GridView Pin
Paramhans Dubey3-May-10 7:02
professionalParamhans Dubey3-May-10 7:02 
GeneralRe: Select value of DropDawnList Inside GridView Pin
Paramhans Dubey3-May-10 19:48
professionalParamhans Dubey3-May-10 19:48 
AnswerRe: Select value of DropDawnList Inside GridView Pin
msomar6-May-10 0:25
msomar6-May-10 0:25 
QuestionUpdating related 2 Tables Pin
msomar2-May-10 23:12
msomar2-May-10 23:12 
AnswerRe: Updating related 2 Tables Pin
SeMartens3-May-10 0:07
SeMartens3-May-10 0:07 
QuestionSEARCH QUERY:) Pin
diyaa_082-May-10 21:33
diyaa_082-May-10 21:33 
sallam 2 all this is a search query bt i got an exception at column S_No
i.e
Select ROW_NUMBER() OVER(ORDER BY pcpd.Cpt_Code, pcpd.Cpt_Description ASC) AS 'S_No', Provider_Cpt_Plan_Detail_Id, Provider_Cpt_Plan_Id, pcpd.Cpt_Code, isnull(pc.Proc_Description,'') as cpt_description, pcpd.Cpt_Modifier, Non_Facility_Participating_Fee, Non_Facility_Non_Participating_Fee, Facility_Participating_Fee, Facility_Non_Participating_Fee, pcpd.Deleted, pcpd.Created_By, pcpd.Created_Date, pcpd.Modified_By, pcpd.Modified_Date From Provider_Cpt_Plan_Details pcpd left outer join procedures pc on pcpd.Cpt_Code=pc.proc_code Where ORDER BY( pcpd.Cpt_Code, pcpd.Cpt_Description ASC) LIKE '4%' And pcpd.Cpt_Code LIKE '00%' And pcpd.Provider_Cpt_Plan_Id ='100ALLALLALLALLALL' And pcpd.Deleted ='0'


the prob is that i use
Select ROW_NUMBER() OVER(ORDER BY pcpd.Cpt_Code, pcpd.Cpt_Description ASC) AS 'S_No' in select statement im confused what i give in search where clause if i give S_No it gives me error if i give the whole ROW_NUMBER...etc etc it says it is used only in select statement
now it gives me exception Incorrect syntax near the keyword 'ORDER'.
when i used ORDER BY( pcpd.Cpt_Code, pcpd.Cpt_Description ASC) LIKE '4%'


any suggestions what i should do?
Question890213 - Installing SQL Server 2008 failover cluster Pin
ilostmyid22-May-10 19:25
professionalilostmyid22-May-10 19:25 
AnswerRe: 890213 - Installing SQL Server 2008 failover cluster Pin
Michel Godfroid2-May-10 20:53
Michel Godfroid2-May-10 20:53 
QuestionUpdate query in sql server 2005 Pin
msomar2-May-10 8:57
msomar2-May-10 8:57 
QuestionHow I can pass session parameters to SqlDataSource Pin
msomar1-May-10 20:45
msomar1-May-10 20:45 
AnswerRe: How I can pass session parameters to SqlDataSource Pin
Michel Godfroid1-May-10 22:24
Michel Godfroid1-May-10 22:24 
QuestionSelect error Pin
msomar1-May-10 9:34
msomar1-May-10 9:34 
AnswerRe: Select error Pin
Michel Godfroid1-May-10 22:22
Michel Godfroid1-May-10 22:22 
QuestionNeed help with this query so it returns only a single record per user Pin
Michael J. Eber30-Apr-10 8:39
Michael J. Eber30-Apr-10 8:39 
AnswerRe: Need help with this query so it returns only a single record per user Pin
Jörgen Andersson30-Apr-10 23:47
professionalJörgen Andersson30-Apr-10 23:47 
QuestionHow many concurrent we can have in SQL Server 2005 Express? Pin
divyesh143229-Apr-10 21:26
divyesh143229-Apr-10 21:26 
AnswerRe: How many concurrent we can have in SQL Server 2005 Express? Pin
Michel Godfroid29-Apr-10 23:48
Michel Godfroid29-Apr-10 23:48 
GeneralRe: How many concurrent we can have in SQL Server 2005 Express? Pin
Roger Wright30-Apr-10 7:06
professionalRoger Wright30-Apr-10 7:06 
GeneralRe: How many concurrent we can have in SQL Server 2005 Express? Pin
Michel Godfroid30-Apr-10 7:24
Michel Godfroid30-Apr-10 7:24 
QuestionCyrillic characters · Serbian characters in sql server 2005 Pin
abcurl28-Apr-10 20:38
abcurl28-Apr-10 20:38 
AnswerRe: Cyrillic characters · Serbian characters in sql server 2005 Pin
Bernhard Hiller28-Apr-10 22:32
Bernhard Hiller28-Apr-10 22:32 
GeneralRe: Cyrillic characters · Serbian characters in sql server 2005 Pin
abcurl29-Apr-10 3:32
abcurl29-Apr-10 3:32 
GeneralRe: Cyrillic characters · Serbian characters in sql server 2005 Pin
Bernhard Hiller29-Apr-10 22:54
Bernhard Hiller29-Apr-10 22:54 

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.