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

Database

 
QuestionSQL 2005 Default Scripts Directory Pin
jareddavies5-Aug-07 14:09
jareddavies5-Aug-07 14:09 
QuestionRestore database using t-sq Pin
WDI4-Aug-07 9:57
WDI4-Aug-07 9:57 
AnswerRe: Restore database using t-sq Pin
Paul Conrad4-Aug-07 18:25
professionalPaul Conrad4-Aug-07 18:25 
GeneralRe: Restore database using t-sq Pin
Stathread5-Aug-07 10:24
Stathread5-Aug-07 10:24 
AnswerRe: Restore database using t-sq Pin
ScottM16-Aug-07 2:12
ScottM16-Aug-07 2:12 
AnswerRe: Restore database using t-sq Pin
Mike Dimmick6-Aug-07 3:54
Mike Dimmick6-Aug-07 3:54 
QuestionHow to Code for Inserting Data into SQL using C# [modified] Pin
sacheesach3-Aug-07 22:10
sacheesach3-Aug-07 22:10 
AnswerRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 22:28
Colin Angus Mackay3-Aug-07 22:28 
You are adding a parameter to the command every single time you press the button. You now have several parameters - which one does the database use? It will use the first one with the correct name and ignore the others. You most likely have a parameters set up by the wizard that created your connection with the database.

This is the big problem with using these wizards - they hide what is really happening. Don't use them. They should never be used. Write your own database code, and write it in a DAL (Data Access Layer) class.


Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."


My website

GeneralRe: How to Code for Inserting Data into SQL using C# Pin
sacheesach3-Aug-07 22:48
sacheesach3-Aug-07 22:48 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 23:10
Colin Angus Mackay3-Aug-07 23:10 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
sacheesach4-Aug-07 3:46
sacheesach4-Aug-07 3:46 
Questionhow to compare rows of database without using query? Pin
Affan Toor3-Aug-07 18:34
Affan Toor3-Aug-07 18:34 
AnswerRe: how to compare rows of database without using query? Pin
N a v a n e e t h3-Aug-07 21:50
N a v a n e e t h3-Aug-07 21:50 
GeneralRe: how to compare rows of database without using query? Pin
Affan Toor5-Aug-07 21:44
Affan Toor5-Aug-07 21:44 
QuestionSybase Profiler like SQL Profiler Pin
Bad Programmer3-Aug-07 11:22
Bad Programmer3-Aug-07 11:22 
AnswerRe: Sybase Profiler like SQL Profiler Pin
Paul Conrad4-Aug-07 8:42
professionalPaul Conrad4-Aug-07 8:42 
Questionsql 2005 32bit & 64 bit? Pin
costavo3-Aug-07 10:03
costavo3-Aug-07 10:03 
AnswerRe: sql 2005 32bit & 64 bit? Pin
Mike Dimmick3-Aug-07 13:38
Mike Dimmick3-Aug-07 13:38 
Questionfile with dot sql extension Pin
ASPnoob3-Aug-07 5:45
ASPnoob3-Aug-07 5:45 
AnswerRe: file with dot sql extension Pin
Mike Dimmick3-Aug-07 6:49
Mike Dimmick3-Aug-07 6:49 
AnswerRe: file with dot sql extension Pin
originSH5-Aug-07 21:51
originSH5-Aug-07 21:51 
QuestionActual probs in procedure..., Pin
Member 38798813-Aug-07 4:04
Member 38798813-Aug-07 4:04 
AnswerRe: Actual probs in procedure..., Pin
Colin Angus Mackay3-Aug-07 4:19
Colin Angus Mackay3-Aug-07 4:19 
QuestionTrying to convert some VB code into C# Pin
c0rvus3-Aug-07 2:57
c0rvus3-Aug-07 2:57 
AnswerRe: Trying to convert some VB code into C# Pin
Pete O'Hanlon3-Aug-07 3:32
mvePete O'Hanlon3-Aug-07 3: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.