Viewing 15 posts - 76 through 90 (of 851 total)
Wow. It would have been way easier to do this in SSRS. Is there some reason why it has to be done in SQL?
July 18, 2011 at 3:40 am
PaulB-TheOneAndOnly (7/17/2011)
A proper, complex, enterprise level Data Warehouse is nothing but a collection of simple Datamarts that share some conformed dimensions
Weeeellll... normally an EDW has a whole management process,...
July 17, 2011 at 10:43 pm
I'd suggest you write a SQL Server Reporting Services report that does this (not at all hard) and then you can just dump the report results into Excel. Turn...
July 17, 2011 at 9:44 pm
PaulB-TheOneAndOnly (7/8/2011)
Correct but, a REF CURSOR is not a parameter - it's a reference to a specific memory location.
Well, kinda. It's more a handle to a result set (in...
July 8, 2011 at 2:59 pm
ssc_san (6/24/2011)
Thanks for the reply Paul.Any specific reason, is it because of the difference in their architecture?
Thanks.
SQL Server stored procedures can return result sets directly. Oracle stored procedures can...
July 6, 2011 at 9:43 pm
I've run into similar issues using a file-based transfer. SQL Server produces a file of data, and we use SQL*Loader to get that up into Oracle.
To get around the...
July 6, 2011 at 9:40 pm
Good advice, Craig. I hadn't thought about it from that point of view.
July 6, 2011 at 9:35 pm
Aside from the 1NF violation, it introduces some additional potential issues.
For example, all of these are valid date formats:
mm/dd/yy
dd/mm/yy
yy/mm/dd
Now... if I have the following in my "character date field":
01/02/03
What...
July 6, 2011 at 9:25 pm
See Craig's answer below (my brain just wasn't working on this one.)
July 6, 2011 at 9:12 pm
You can do it a bunch of ways. Here's one done in my own code format. Note that I haven't included error handling, and for production quality code...
July 6, 2011 at 9:02 pm
laddu4700 (7/6/2011)
Acutally I am trying to pull all the records. So need help to update the script
I suspect that's the problem right there. If you're trying to pull all...
July 6, 2011 at 8:52 pm
David Lester (7/6/2011)
July 6, 2011 at 5:00 pm
Also I'm not sure the degree symbol fits into the 7-bit ASCII character set:
NLS_CHARACTERSET= US7ASCII
July 6, 2011 at 8:16 am
aaron.reese (7/6/2011)
starting to get slightly OT now...
Yeah, sorry.
but you would have to prepare the XML by hand in the calling application which is probably even more work than calling separate...
July 6, 2011 at 7:58 am
opc.three (7/6/2011)The preferred way (in terms of performance) to do this now is to use Table-Valued Parameters (introduced in SQL 2008) to pass a set of data to a stored...
July 6, 2011 at 7:54 am
Viewing 15 posts - 76 through 90 (of 851 total)