Money Sql server data type
Wich Oracle type should be choosen to support the data saved on a sql server money data type.
Thanks for any help.
I would store a MS SQL Server money datatype as number(digits,decimal_pos). Then on retrieval you use the to_char function to format the output with dollar sign, commas, and the decimal.
UT1 > select to_char(123456789,'$999,999,990.99') as Money
2 from sys.dual;
MONEY
$123,456,789.00
UT1 > select to_char(1234567.89,'$999,999,990.99') as Money from sys.dual;
MONEY
$1,234,567.89
HTH -- Mark D Powell --
Similar Messages
-
Mapping between oracle data types and ms sql server data types
hello
i need mapping between oracle data types and ms sql server data types
where can i find them ?read this
http://download.oracle.com/docs/cd/E10405_01/doc/appdev.120/e10379/ss_oracle_compared.htm -
Failure Installing SQL Server Data Tools 2012 on Windows 8.1
I am trying to install SQL Server 2012 with SQL Server Data Tools on my laptop with Windows 8.1 standard edition. It fails each time when it gets to the SSDT installation with the same 1935 error, other features still install. The error
text is as follows:
The following error has occurred:
SQL Server Setup has encountered an error when running a Windows Installer file.
Windows Installer error message: An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64",type="win32"'. Please
refer to Help and Support for more information. HRESULT: 0x80073715.
Windows Installer file: F:\1033_ENU_LP\x64\setup\x64\SharedManagementObjects.msi
Windows Installer log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140220_201634\SharedManagementObjects_Cpu64_1.log
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xDC80C325
I have disabled any antivirus software that may have been interfering and am not sure what else to try. Any assistance on how to resolve this error would be greatly appreciated.Hello,
Please read the following article about the cause of that error:
http://support.microsoft.com/kb/2688946/en-us
I would like to recommend you the following procedure:
http://www.sqlcoffee.com/SQLServer2012_0008.htm
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Error installing SQL Server Data Tools - Business Intelligence for Visual Studio 2013
Hi
I am trying to install SQL Server Data Tools - Business Intelligence for Visual Studio 2013 and am getting the following error
This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
I am running
Windows 8.1 x64
SQL Server 2014 Developer Edition x64
Visual Studio 2013 Professional
Any help would be appreciated.
Thanks
Biztalk DeveloperCould you please check if Windows Installer service is running and is in automatic startup mode.
The other thing is, if you’re running an x64-based SQL instance (64-bit), make sure to select “New Instance” on the Installation Type page, and NOT “Add features to an existing instance”.
http://stackoverflow.com/questions/24989187/64-bit-microsoft-sql-server-data-tools -
SQL Server Date Conversion to Oracle Date
I am new to ODI and am trying to figured out how to move a SQL Server date datatype value to an Oracle date.
Thanks in advance.SQLServer datetime datatype is moved to an Oracle TIMESTAMP datatype via the technology's data type mapping. That particular LKM 'SQL to SQL' is written in java so reads from SQLServer into java datatypes then writes back out to Oracle.
Cheers
David -
Problem with pl/sql table data type
hai friends,
i have one procedure it has some in parameters and one out parameter which fetches values to front end.
But the out parameter will be pl/sql table data type.
if it is ref cursor
then i declared as
var x refcursor;
exec procedure_name(1,:x);
it is ok.
but for pl/sql table data type is out parameter then what i will do in the prompt .
give me syntax and clarify my doubt.
advanced thanks...
madhavaThe SQL*Plus VARIABLE statement does not support user-defined types, hence it cannot support nested tables. It can support cursors because they can be weakly typed (so we can use the one SQL*Plus VAR to hold any shape of resultset). Nested tables are strongly typed; SQL*Plus is a relatively stupid interface and cannot be expected to understand UDT.
So, it you want to use nested tables as output you'll need to code a wrapping procedure that can understand your nested table type and handle it accordingly.
Sorry.
Cheers, APC -
We have SSIS installed on a machine that is not part of a cluster but it is accessible by the cluster.
Our job we have running on the cluster is failing with the following error:
Error: 2014-01-31 09:14:37.52 Code: 0xC000F427 Source: SCR - DP1 Connections
Description: To run a SSIS package outside of SQL Server Data Tools you must install SCR - DP1 Connections of Integration Services or higher. End Error
Any advice or information on how to resolve this would be great.
Many Thanks.Hi NessaBella,
Integration Services service is not a cluster-aware service, and does not support failover from one cluster node to another. Therefore, in a clustered environment, Integration Services should be installed and started as a stand-alone service on each node
in the cluster.
Based on the error message, it seems that SSIS is not installed on the cluster node on which the job was running. Although SSIS is installed on a machine that is not part of the cluster and can be accessed by each cluster node, the SSIS service installed
on a remote server cannot be used a cluster node. So, please install the shared feature SQL Server Integration Services on each cluster node. Besides, if certain packages need to run in 32-bit mode in certain jobs and the SQL Server installed is 64-bit version,
you also need to install BIDS/SSDT on the cluster node to get the 32-bit runtime of SSIS.
References:
Integration Services (SSIS) in a Cluster
Loading and Running a Remote Package Programmatically
Regards,
Mike Yin
TechNet Community Support -
Hello Team,
I am trying to execute a SSIS package from web page. When i try to do that i am getting following error.
"To run a SSIS package outside of SQL Server data tools you must install <task name used in package> of Integration service or highter."
In my machine Integration Services are installed and its service is also in running state.
Please help me on this.
Thanks,
Ramesh
Thanks, Ramesh ArigeThe SSIS package developed using SSIS 2008 Server R2 and Integrations Services 10.0 is exists in my machine. Is this wrong configuration, please help me on this.
I am using the below code copied from CodeProject
Thank you so much for responding.
Ramesh
Thanks, Ramesh Arige
Which way are you using from the provided blog? Using 1) C# Code or 2) C# and Stored Procedure?
Cheers,
Vaibhav Chaudhari
MCP, MCTS, MCSA (SQL Server 2012) -
System Center 2012 R2 install: SQL server Data file and log file
This might be a dumb question, but I can't find the answer anywhere.
I'm installing a new instance of System Center 2012 R2 on a new server, I'm stuck on the SQL Server data file section. Everytime I put in a path, it says that tne path does not exist. I'm I supposed to be creating some sort of SQL Server
data file and log file before this installation, I didn't get this prompt when installing System Center 2012 SP1 or hen I upgraded from System Center 2012 SP1 to System Center 2012 R2
My SQL is on a different server
Thank you in advancedHave you reviewed the setup.log?
On a side note, why would you put the database file on the same drive as the OS? That defeats the whole purpose of having a remote SQL Server. Why use a remote SQL Server in the first place.
Jason | http://blog.configmgrftw.com -
How to convert MS SQL Server data to XML data using Java
Hi all!
How do I generate XML document for SQL Server data using java / jsp.
Thanks in advancehttp://www.fdsapi.com
-
This great blog entry titled
SQL Server Data Tools - Business Intelligence for Visual Studio 2013 (SSDT BI), link below, highlights the lack of support for SSIS projects using SQL Server 2012, VS 2013 and SSDT BI for VS 2013. I see there is a new version
on SSDT BI for VS 2013 (12.0.2430.0, File Name: SSDTBI_x86_ENU.exe, Date Published: 10/27/2014) link below.
Does this version support SSIS projects using SQL Server 2012 using VS 2013 and SSDT BI for VS 2013?
http://blogs.msdn.com/b/analysisservices/archive/2014/04/02/sql-server-data-tools-business-intelligence-for-visual-studio-2013-ssdt-bi.aspx
http://www.microsoft.com/en-us/download/details.aspx?id=42313Hi cjrinpdx,
According to the picture, it seems that we can use SSIS 2012 support is not included in SSDT-BI for VS 2013. And based on the previous versions, SSIS always different from SSRS, SSAS.
SSDT-BI for Visual Studio 2012 supports versions of SQL Server as follows:
SSAS project can target SQL 2012 or lower
SSRS project can target SQL 2012 or lower
SSIS project can target only SQL 2012
The following blog is for your reference:
http://blogs.technet.com/b/dataplatforminsider/archive/2013/11/13/microsoft-sql-server-data-tools-update.aspx
Since I have no environment to test this at this moment,
I recommend you that submit the feedback at
https://connect.microsoft.com/SQLServer/.
Thank you for your understanding.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
The February 2015 release of SQL Server Data Tools is now available for download
We'd like to announce the availability of the latest February 2015 release of SQL Server Data Tools.
This update is now available for Visual Studio 2012 and 2013. For Visual Studio 2012, use the SQL > Check for Updates tool inside Visual Studio. For Visual Studio 2013, check the Visual Studio update channel (Tools > Extensions and Updates > Updates)
for this update. Alternatively, administrative installs are available via the link below.
Get it here:
http://msdn.microsoft.com/en-us/data/hh297027
What’s New?
Support for the latest Azure SQL Database V12 features
Improved Cross-Platform Schema Comparison
New advanced publish options
Fixes for customer reported issues
For more details, see the SQL Server Data Tools team blog:
http://blogs.msdn.com/b/ssdt/archive/2015/03/03/sql-server-data-tools-and-data-tier-application-framework-update-for-february-2015.aspxWhile we are investigating this issue, you can revert to the November release with the links below. You will need to uninstall your current SSDT.MSI and then run the installer from these ISOs.
Visual Studio 2012 versions:
SSDT_11.1.41025.0_BR.iso
SSDT_11.1.41025.0_CN.iso
SSDT_11.1.41025.0_DE.iso
SSDT_11.1.41025.0_EN.iso
SSDT_11.1.41025.0_ES.iso
SSDT_11.1.41025.0_FR.iso
SSDT_11.1.41025.0_IT.iso
SSDT_11.1.41025.0_JA.iso
SSDT_11.1.41025.0_KO.iso
SSDT_11.1.41025.0_RU.iso
SSDT_11.1.41025.0_TW.iso
Visual Studio 2013 versions:
SSDT_12.0.41025.0_BR.iso
SSDT_12.0.41025.0_CN.iso
SSDT_12.0.41025.0_DE.iso
SSDT_12.0.41025.0_EN.iso
SSDT_12.0.41025.0_ES.iso
SSDT_12.0.41025.0_FR.iso
SSDT_12.0.41025.0_IT.iso
SSDT_12.0.41025.0_JA.iso
SSDT_12.0.41025.0_KO.iso
SSDT_12.0.41025.0_RU.iso
SSDT_12.0.41025.0_TW.iso -
Association rule in SQL Server Data Mining
I have been working on a problem on association rules in SQL Server Data Tools (Visual Studio 2008) for quite a while but have not yet been able to figure out the solution.
The problem is: I have a table named Sales_history in my SQL database. This table has following columns: CustomerID, ItemID, Month (from May2012 to April 2013), QtyShipped. I am looking to find association between Items and i want to provide recommendation
to the Customer (In this case CustomerID) based on their purchases.
Note: there are around 630 customers and about 34000 products in my table.
My approach:
I marked History_Table as both Key and nested. And in the Key, i checked CustomerID as input and Key whereas in nested, i checked ItemId as Key, input and Predict.
When i run the model, i get a solution but i am not sure if i am configuring it right. Also i am not sure how i can write prediction join query to generate Item recommendations . I am really struggling with
this problem, eagerly waiting for the reply. Thank you.Hi Tatyana,
Thank you so much for your reply. I have now been able to create the data mining model using association rule and by writing a DMX query, i am able to generate the item recommendations to be given to customers for items they have purchased. However, i have
noticed one thing that in the DMX query, it gives the same item recommendation for any item i put inside the query.
Also, if i put any item in the DMX query from the generated list of recommended items, the output of that query also shows the item that is inputted inside the query.
Here is the query, that i am writing to generate item recommendations
SELECT predictassociation (CrossSellingModelV3.[Ztb Customer Item v3],INCLUDE_STATISTICS,5)
FROM CrossSellingModelV3
NATURAL PREDICTION JOIN
(SELECT
(SELECT '17IS56126' as m )
AS Ms)
AS t
What can be the possible reason behind this? Is this something related to the kind of data i have? In my data, there are 632 distinct customers and 34000 distinct products.
If i execute this query in management studio.
select customer_CD, COUNT(Item_CD) from ztb_Sales_History
group by customer_CD
order by 2 desc
the output shows that there are some customers who have bought just 1 item and also there are customers who have bought 2400 items. i mean the range is very high. -
Access SQL-Server Data from Oracle 10gXE
Hello,
I want to access sql-server data from oracle 10g XE. I need the same functionality provided by Sql-server by Linked Servers, by which we can query on any data source(oracle, Excel, Access).
do, Oracle 10gXE provide us with same functionality ???
any pointers ???Yes, it does work with Express Edition.
Here is a thread from the XE forum with examples.
Re: Database Link to MS Access
They refer to a MS Access database, but the procedure is the same.
Doug -
SQL Server Data Tools : Schema Compare
I have my SQL 2012 installed and also its' tools like management studio, visio studio shell 2010
I know there is a function inside visio studio shell call "schema compare"
how to enable/install this function ? extra license is required ?You can download SSDT(SQL Server Data Tools), install it. Then you can use it without extra license:
Download SQL Server Data Tools
more info plus tutorials:
Microsoft SQL Server Data Tools
T-SQL Articles
T-SQL e-book by TechNet Wiki Community
T-SQL blog
Maybe you are looking for
-
"Library" Projects vs "Projects & Albums" Projects
Hello all, I have been using Aperture for about three years. I have Aperture 3 on three different Macs. Prevously I have been using Windows XP and have been storing photos in directories on the hard drive the old fashioned way. I have some questions
-
Workflow Admin read only responsibility in EBS 11.5.10.2
Hi All, I have a requirement to create a read only workflow administrator. For that I have done the below steps. 1. Created one permission set with Monitor Data. 2. Created one role and one grant for that role with the above selected permission set.
-
I have an i pad 2 and for some reason the wifi switch wont pass to on
just recently the wifi switch on my i pad 2 has stopped working. i have re set all settings wipped the whole i pad and still not working can any body help me out. or has anyone had a similar situation i realy miss the i pad
-
Time machine restore data from an earlier OS
I have Macbook Air that is now configured with Mountain Lion. I am trying to restore data from a time machine backup taken from the same machine when it was running Snow Leopard, prior to a complete factory reinstall. I choose the files that I want t
-
OWSM SAML Verify step problem: Missing Security Header in SOAP message
I'm having a problem with SAML steps. From gateway log: 2008-09-17 13:21:32,987 INFO [HTTPThreadGroup-58] saml.InsertSAMLSVStep - User attributes map set to generate the attribute assertions: null 2008-09-17 13:21:33,034 INFO [HTTPThreadGroup-60] sam