Click here to Skip to main content
15,918,168 members
Home / Discussions / Database
   

Database

 
GeneralReturn ntext from function Pin
hemant.kaushal27-Feb-08 0:17
hemant.kaushal27-Feb-08 0:17 
GeneralRe: Return ntext from function Pin
Mel Padden27-Feb-08 0:47
Mel Padden27-Feb-08 0:47 
Questionquestion about ADO and stored procedure's return value in Oracle Pin
Green Fuze27-Feb-08 0:10
Green Fuze27-Feb-08 0:10 
Generalasp.net with c# - ado.net Pin
arya0826-Feb-08 19:03
arya0826-Feb-08 19:03 
GeneralRe: asp.net with c# - ado.net Pin
Christian Graus26-Feb-08 19:13
protectorChristian Graus26-Feb-08 19:13 
GeneralRe: asp.net with c# - ado.net Pin
arya0826-Feb-08 19:25
arya0826-Feb-08 19:25 
Generalsql Update command Error Pin
phowarso26-Feb-08 17:37
phowarso26-Feb-08 17:37 
GeneralRe: sql Update command Error Pin
Christian Graus26-Feb-08 19:16
protectorChristian Graus26-Feb-08 19:16 
Well my first suggestion is to read up on SQL injection attacks, to understand why you should never allow any system to use this code, ever. Next, I would point out that CW and RCW are used without you giving them a value. However, I'd say your core issue is simply that you're doing your own bit of SQL injection, that values in the strings you're passing through are what's causing this SQL to break. Did you go into the debugger to look at the final SQL string and see what the final SQL line looks like ? Perhaps if you copied and pasted it into SQL Server, it would explain it even better, but the solution is to use stored procs and pass your parameters in a sane way, not by string mashing

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: sql Update command Error Pin
ssurya4u27-Feb-08 1:26
ssurya4u27-Feb-08 1:26 
GeneralRe: sql Update command Error Pin
phowarso27-Feb-08 2:27
phowarso27-Feb-08 2:27 
AnswerRe: sql Update command Error Pin
buchstaben27-Feb-08 8:09
buchstaben27-Feb-08 8:09 
QuestionSQL server query Pin
Jaggariah26-Feb-08 15:53
Jaggariah26-Feb-08 15:53 
GeneralRe: SQL server query Pin
Christian Graus26-Feb-08 19:18
protectorChristian Graus26-Feb-08 19:18 
GeneralRe: SQL server query Pin
Usharva26-Feb-08 19:49
Usharva26-Feb-08 19:49 
GeneralRe: SQL server query Pin
Jaggariah26-Feb-08 19:53
Jaggariah26-Feb-08 19:53 
GeneralRe: SQL server query Pin
Usharva26-Feb-08 19:58
Usharva26-Feb-08 19:58 
GeneralQuery to get most recent event for each item Pin
Dan Neely26-Feb-08 10:44
Dan Neely26-Feb-08 10:44 
GeneralRe: Query to get most recent event for each item Pin
Usharva26-Feb-08 19:56
Usharva26-Feb-08 19:56 
GeneralRe: Query to get most recent event for each item Pin
Dan Neely27-Feb-08 2:44
Dan Neely27-Feb-08 2:44 
GeneralRe: Query to get most recent event for each item Pin
Dan Neely27-Feb-08 4:01
Dan Neely27-Feb-08 4:01 
GeneralC# ado.net Pin
Member 462942126-Feb-08 10:26
Member 462942126-Feb-08 10:26 
GeneralRe: C# ado.net Pin
Nouman Bhatti27-Feb-08 2:30
Nouman Bhatti27-Feb-08 2:30 
GeneralRe: C# ado.net Pin
Member 462942128-Feb-08 9:00
Member 462942128-Feb-08 9:00 
Question[Message Deleted] Pin
vinodh.s26-Feb-08 7:12
vinodh.s26-Feb-08 7:12 
AnswerRe: use of datetime datatype Pin
pmarfleet26-Feb-08 8:33
pmarfleet26-Feb-08 8: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.