Click here to Skip to main content
15,891,253 members
Home / Discussions / Database
   

Database

 
QuestionError when connect to sql express database Pin
Mekong River3-Jun-08 18:58
Mekong River3-Jun-08 18:58 
AnswerRe: Error when connect to sql express database Pin
Ashfield3-Jun-08 21:03
Ashfield3-Jun-08 21:03 
AnswerRe: Error when connect to sql express database Pin
Rutvik Dave5-Jun-08 11:28
professionalRutvik Dave5-Jun-08 11:28 
QuestionSelect command Pin
mrkeivan3-Jun-08 8:42
mrkeivan3-Jun-08 8:42 
AnswerRe: Select command Pin
Mark J. Miller3-Jun-08 9:38
Mark J. Miller3-Jun-08 9:38 
QuestionView must begin with SELECT? Pin
boxubi3-Jun-08 4:26
boxubi3-Jun-08 4:26 
AnswerRe: View must begin with SELECT? Pin
Mark J. Miller3-Jun-08 8:11
Mark J. Miller3-Jun-08 8:11 
AnswerRe: View must begin with SELECT? Pin
SomeGuyThatIsMe3-Jun-08 8:13
SomeGuyThatIsMe3-Jun-08 8:13 
Views just execute select statements, and act very similarly to tables, you can do formatting and things in a view, and limit the columsn in one or more tables that someone has access to. that and formatting and long complicated joins are their main purpose i believe, its a lot better to put a long complex query in a view and have a simple select in your code, if you're using it in an application, makes it easier to change if something is wrong or table layouts change. If you want to declare varibles or run other queries, you can use a stored procedure. you can run cursors, use varibles, even run other stored procedures in them, pretty much anything youcan do in query analyzer. in sql 2000 if you need a result set back just select it back..select <whateveryouwant> in teh sp...be careful tho because you can do multiple selects like that in one stored procedure, and when it executes it will return multiple result sets, which can cause problems if you're using an app (win forms or web) to read the data.
AnswerRe: View must begin with SELECT? Pin
Mycroft Holmes4-Jun-08 18:18
professionalMycroft Holmes4-Jun-08 18:18 
QuestionTable Variable result set ??? Pin
tthellebuyck3-Jun-08 3:52
tthellebuyck3-Jun-08 3:52 
AnswerRe: Table Variable result set ??? Pin
dan!sh 3-Jun-08 4:08
professional dan!sh 3-Jun-08 4:08 
AnswerRe: Table Variable result set ??? Pin
John Ad3-Jun-08 4:12
John Ad3-Jun-08 4:12 
Questioncalling procedure within trigger Pin
Mr.Kode2-Jun-08 20:44
Mr.Kode2-Jun-08 20:44 
AnswerRe: calling procedure within trigger Pin
Ashfield2-Jun-08 21:43
Ashfield2-Jun-08 21:43 
GeneralRe: calling procedure within trigger Pin
Mr.Kode2-Jun-08 22:42
Mr.Kode2-Jun-08 22:42 
GeneralRe: calling procedure within trigger Pin
Ashfield3-Jun-08 1:23
Ashfield3-Jun-08 1:23 
AnswerRe: calling procedure within trigger Pin
Member 33013254-Jun-08 10:00
Member 33013254-Jun-08 10:00 
QuestionProblem on applying MySql.Data.dll into Visual Studio 2003 for VB.NET Pin
drexler_kk2-Jun-08 16:31
drexler_kk2-Jun-08 16:31 
AnswerCross post Pin
dan!sh 2-Jun-08 20:31
professional dan!sh 2-Jun-08 20:31 
Questionsql editor Pin
xybroxymoron2-Jun-08 16:12
xybroxymoron2-Jun-08 16:12 
QuestionSelect Query problem... Pin
tthellebuyck2-Jun-08 3:04
tthellebuyck2-Jun-08 3:04 
AnswerRe: Select Query problem... Pin
Peter Josefsson Sweden2-Jun-08 4:54
Peter Josefsson Sweden2-Jun-08 4:54 
AnswerRe: Select Query problem... Pin
Om Prakash Pant12-Apr-11 23:03
Om Prakash Pant12-Apr-11 23:03 
QuestionProblem with the Following Cursor Pin
Vimalsoft(Pty) Ltd2-Jun-08 2:30
professionalVimalsoft(Pty) Ltd2-Jun-08 2:30 
AnswerRe: Problem with the Following Cursor Pin
Alsvha2-Jun-08 4:32
Alsvha2-Jun-08 4:32 

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.