This is my Technical area of troubleshooting and learning new Programming skills and many more. Here you will find answers for many new technologies like asp.net 2.0/3.5,4.0 C# access, mysql, Amazon Webservice ,Sql-server, JD Edwards, SAS, Salesforce, APIs, MVC and many more. please visit & discuss.
Friday, May 27, 2011
Thursday, May 26, 2011
OBIEE - Passing Filters through an URL
OBIEE - Passing Filters through an URL
An URL must be encoded before that you can use it.
■All spaces must be replace with the %20 sign
■When you cast a number as char, you may have to trim it to suppress the blank character
■When you pass a string variable, you may have to replace the blank character by %20
Wednesday, May 18, 2011
SQL Server -securing individual rows
SQL Server does not provide an internal method of securing individual rows in the database. However, by using SQL Server views, it's possible to provide row-level security without too much effort. The primary component in a row-level security system is the use of views. Creating a view that resides on top of the table and giving the user access to the view but not the underlying table can enforce an effective row-level security system.
http://www.techrepublic.com/article/locking-down-microsoft-sql-server/5031954
Tuesday, May 17, 2011
JD Edwards -Julian to Calendar vise versa Date Conversion- SQL function
CREATE FUNCTION [dbo].[JDT_GTJ] (@DATE datetime)
RETURNS varchar(12)
AS
BEGIN
declare @y as varchar(10)
declare @dy as varchar(10)
declare @date1 as datetime
declare @szupmj as varchar(10)
if(@DATE='')
Begin
set @date1= getdate()
End
if(@DATE<>'')
Begin
set @date1= @DATE
End
set @y =(datepart(yy,@date1) - 1900) * 1000;
set @dy = datepart(dy,@date1);
set @szupmj = @y + cast(@dy as int);
RETURN(@szupmj);
END;
CREATE FUNCTION [dbo].[JDT_JTG] (@DATE int)
RETURNS varchar(20)
AS
BEGIN
declare @rpdivj as int
declare @datea as datetime
declare @szupmj as varchar(10)
set @rpdivj=@DATE
set @datea= DATEADD(dy, @rpdivj % 1000, DATEADD(yy, @rpdivj / 1000,-1))
set @szupmj=convert(varchar,@datea,101) --DATEADD(dy, @rpdivj % 1000, DATEADD(yy, @rpdivj / 1000, -1))
RETURN(@szupmj);
END;
Monday, May 16, 2011
How to modify JD Edwards EnterpriseOne BI Application?
1. Download template from P95600.
2. Open UBE in OMW and add/modify fields.
3. After Modification run that program locally.
4. Open template (step 1) in word and check the name of new/modified field in XML and
attach that in the word report.
5. Click on preview , check the report and save that word file in rtf.
6. Upload template using P95600.
ASP.NET MVC 3 Scaffolding
Sunday, May 15, 2011
Tuesday, May 10, 2011
Working with Excel datasource in OBIEE
Oracle BI Server can access data stored in
Normalized schema databases
Star or snowflake schema databases
Flat files
Excel
XML etc.
Today I am gonna tell you how to use excel data source in OBIEE.
1. Create a new excel file.
2. Each sheet present in an excel file will represent a table.
3. Select the range (i.e. rows and columns) and give the name of the table as shown in figure.