Click here to Skip to main content
15,908,901 members
Home / Discussions / Database
   

Database

 
QuestionComplete mySQL Database Backup!!! Pin
Rana Muhammad Javed Khan28-Jun-06 0:43
Rana Muhammad Javed Khan28-Jun-06 0:43 
AnswerRe: Complete mySQL Database Backup!!! Pin
Reza Raad28-Jun-06 1:32
Reza Raad28-Jun-06 1:32 
GeneralRe: Complete mySQL Database Backup!!! Pin
Rana Muhammad Javed Khan28-Jun-06 2:24
Rana Muhammad Javed Khan28-Jun-06 2:24 
AnswerRe: Complete mySQL Database Backup!!! Pin
Reza Raad28-Jun-06 2:31
Reza Raad28-Jun-06 2:31 
AnswerRe: Complete mySQL Database Backup!!! Pin
Aby Thomas Varghese28-Jun-06 7:38
Aby Thomas Varghese28-Jun-06 7:38 
GeneralRe: Complete mySQL Database Backup!!! Pin
Rana Muhammad Javed Khan28-Jun-06 18:37
Rana Muhammad Javed Khan28-Jun-06 18:37 
QuestionJava function code to SQL Server function Pin
GBal27-Jun-06 21:37
GBal27-Jun-06 21:37 
AnswerRe: Java function code to SQL Server function Pin
Colin Angus Mackay27-Jun-06 22:12
Colin Angus Mackay27-Jun-06 22:12 
I can see you've just not translated some Java properly. You should also be aware that Java and SQL are different language types. Java is procedural (i.e. you specify the procedure you want it to take) where as SQL is, for the most part, declarative (i.e. you specify what you want and it figures out the details) - but SQL can also operate in a procedural way also but that is often very inefficient. The procedural elements exist only to suppliment the declarative (set based) elements. If you can use a set based operation then SQL is very efficient.

What you are doing here is imposing a procedural model.

GBal wrote:
@REF1 = '0' + CAST(@REF1 AS VARCHAR(10))


Should be
SET @REF1 ...


GBal wrote:
if (gridA != '0')


!= in Jave is <> in SQL




Scottish Developers events:
* .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy
* Developer Day Scotland: are you interested in speaking or attending?

My: Website | Blog
GeneralRe: Java function code to SQL Server function Pin
GBal27-Jun-06 23:44
GBal27-Jun-06 23:44 
GeneralRe: Java function code to SQL Server function Pin
Colin Angus Mackay28-Jun-06 5:47
Colin Angus Mackay28-Jun-06 5:47 
QuestionSQL Script Pin
Subramaniam s.V.27-Jun-06 19:44
Subramaniam s.V.27-Jun-06 19:44 
AnswerRe: SQL Script Pin
Igor Sukhov27-Jun-06 20:35
Igor Sukhov27-Jun-06 20:35 
AnswerRe: SQL Script Pin
Colin Angus Mackay27-Jun-06 20:58
Colin Angus Mackay27-Jun-06 20:58 
GeneralRe: SQL Script Pin
Subramaniam s.V.27-Jun-06 21:44
Subramaniam s.V.27-Jun-06 21:44 
GeneralRe: SQL Script Pin
Colin Angus Mackay27-Jun-06 21:49
Colin Angus Mackay27-Jun-06 21:49 
AnswerRe: SQL Script Pin
Edbert P28-Jun-06 13:30
Edbert P28-Jun-06 13:30 
QuestionNeed a way to jump to record. Pin
PyroManiak27-Jun-06 10:29
PyroManiak27-Jun-06 10:29 
AnswerRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 10:41
PyroManiak27-Jun-06 10:41 
GeneralRe: Need a way to jump to record. Pin
Alexander Wiseman27-Jun-06 11:51
Alexander Wiseman27-Jun-06 11:51 
GeneralRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 13:10
PyroManiak27-Jun-06 13:10 
GeneralRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 13:39
PyroManiak27-Jun-06 13:39 
GeneralOT Pin
Colin Angus Mackay27-Jun-06 20:51
Colin Angus Mackay27-Jun-06 20:51 
GeneralRe: OT Pin
PyroManiak28-Jun-06 6:24
PyroManiak28-Jun-06 6:24 
QuestionStored proc call - passing a parameter [modified] Pin
IMC200627-Jun-06 7:15
IMC200627-Jun-06 7:15 
AnswerRe: Stored proc call - passing a parameter Pin
Elina Blank27-Jun-06 8:02
sitebuilderElina Blank27-Jun-06 8:02 

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.