Click here to Skip to main content
15,902,853 members
Home / Discussions / Database
   

Database

 
AnswerRe: Instanciate SQLXMLBulkLoad object Pin
cmacgowan2-Dec-05 4:04
cmacgowan2-Dec-05 4:04 
QuestionAvg in SQL Statement Pin
dabuskol17-Oct-05 23:36
dabuskol17-Oct-05 23:36 
AnswerRe: Avg in SQL Statement Pin
Marc Soleda17-Oct-05 23:49
Marc Soleda17-Oct-05 23:49 
QuestionI used NVL fuction to convert the null value into 0 what is the equavalent thing in SQL server . Pin
anishyanic17-Oct-05 23:33
anishyanic17-Oct-05 23:33 
Questioncumulative aggregate queries in transact-sql Pin
smita_roy17-Oct-05 22:27
smita_roy17-Oct-05 22:27 
AnswerRe: cumulative aggregate queries in transact-sql Pin
under281120-Oct-05 0:19
under281120-Oct-05 0:19 
Questionconnection string Pin
kindkirk17-Oct-05 18:44
kindkirk17-Oct-05 18:44 
AnswerRe: connection string Pin
S Douglas20-Oct-05 0:52
professionalS Douglas20-Oct-05 0:52 
GeneralRe: connection string Pin
Luis Alonso Ramos20-Oct-05 19:10
Luis Alonso Ramos20-Oct-05 19:10 
GeneralRe: connection string Pin
S Douglas20-Oct-05 20:13
professionalS Douglas20-Oct-05 20:13 
QuestionDAO Error 3028 Pin
mikanu17-Oct-05 11:22
mikanu17-Oct-05 11:22 
AnswerRe: DAO Error 3028 Pin
S Douglas20-Oct-05 1:25
professionalS Douglas20-Oct-05 1:25 
GeneralRe: DAO Error 3028 Pin
mikanu25-Oct-05 13:31
mikanu25-Oct-05 13:31 
GeneralRe: DAO Error 3028 Pin
S Douglas26-Oct-05 2:01
professionalS Douglas26-Oct-05 2:01 
GeneralRe: DAO Error 3028 Pin
mikanu27-Oct-05 8:38
mikanu27-Oct-05 8:38 
GeneralRe: DAO Error 3028 Pin
S Douglas27-Oct-05 14:30
professionalS Douglas27-Oct-05 14:30 
QuestionImport XML file in SQL Server 2000 database Pin
george ivanov17-Oct-05 9:05
george ivanov17-Oct-05 9:05 
AnswerRe: Import XML file in SQL Server 2000 database Pin
enjoycrack17-Oct-05 16:35
enjoycrack17-Oct-05 16:35 
QuestionDataTable, DataView, and DataGridView databinding and display Pin
Drew McGhie17-Oct-05 5:44
Drew McGhie17-Oct-05 5:44 
AnswerRe: DataTable, DataView, and DataGridView databinding and display Pin
miah alom17-Oct-05 5:48
miah alom17-Oct-05 5:48 
QuestionEarly Binding Problem Pin
itkid17-Oct-05 5:31
itkid17-Oct-05 5:31 
QuestionConverting 1000 into 10.00 Pin
hasanali0017-Oct-05 4:57
hasanali0017-Oct-05 4:57 
I have been given a Product table whoes all column types are varchar(8000)

One of the column is Price and other is DecimalPosition. Price column includes price without any decimal place and the data in DecimlaPosition column determins where the decimal should be placed.

So for instance, if the Price column includes '1000' and DecimalPosision includes '2' >> then it means that the actual price for this product is '10.00' and NOT '1000'. Similarly, if the DecimalPosision includes '3' >> then it means that the actual price for this product is '1.000' and NOT '1000'

My question is that when I am getting the price for a product from this table, how can I get the price in the correct format, e..g like '10.00' and not '1000'

Should I use SQL statements to convert 1000 into 10.00 or should I use some sort of programming logic to convert 1000 into 10.00.

kind regards


AnswerRe: Converting 1000 into 10.00 Pin
miah alom17-Oct-05 5:44
miah alom17-Oct-05 5:44 
QuestionAccess Hyperlink Field Pin
T-Smooth17-Oct-05 2:19
T-Smooth17-Oct-05 2:19 
Questionsteps of configure the MySQL database in Windows XP Pin
khuchaiz16-Oct-05 13:18
khuchaiz16-Oct-05 13:18 

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.