× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
deepalisalve reported 2014-01-15T05:27:20Z  · NielsGron last modified 2014-06-23T17:37:15Z

Single quote is not getting generated for money datatype in insert script.


Dev
John LH
JohnLH
QA
Tariq Rahiman
tariqrahiman
Priority Low
Complexity Unknown
Component App - Visual Editing
Version Future - 0.1

Aqua Data Studio 15.0.0-dev-70
Build #: 35519
Built on: 2014-Jan-13 03:38:49 PM

Operating Environment:  Windows7 64-bit
Database: Greenplum 4.2
Issue :
Single quote is not getting generated for money datatype in insert script.

Steps to reproduce:

1.Run following scripts on query analyser
       CREATE TABLE "public"."table_money"  (

         "c1_money"      money NOT NULL

         )

      DISTRIBUTED BY ("c1_money")

      GO

3.Goto table tree node
   Select table “table_money”, Right click  and select “Script Object to Window As”->INSERT
   It generates script like :
    INSERT INTO "public"."table_money"("c1_money")

        VALUES(0.00)

     GO

4. When we insert values in this script it gives error that
ERROR: column "c1_money" is of type money but expression is of type numeric
  Hint: You will need to rewrite or cast the expression.

5. Now insert value for bit in single quotes, record inserted successfully.
INSERT INTO "public"."table_money"("c1_money")

        VALUES('5.00')

GO

 

1 attachment

Issue #11383

Closed
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017