Passing request data with Flashvars
I need to pass query parameters from one application to another and am following an example in help docs at
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7feb.html
So I am passing parameters through the wrapper object as below:
<%
String userId = (String) request.getParameter("userId");
String authToken = (String) request.getParameter("authToken");
%>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
<!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
var swfVersionStr = "10.0.0";
<!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
var xiSwfUrlStr = "playerProductInstall.swf";
var flashvars = {};
flashvars.userId = "<%= userId %>";
flashvars.authToken = "<%= authToken %>";
var params = {};
params.quality = "high";
params.bgcolor = "#869ca7";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "xacmlMain";
attributes.name = "xacmlMain";
attributes.align = "middle";
swfobject.embedSWF(
"main.swf", "flashContent",
"100%", "100%",
swfVersionStr, xiSwfUrlStr,
flashvars, params, attributes);
<!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
swfobject.createCSS("#flashContent", "display:block;text-align:left;");
</script>
In the mxml file:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:mod="mod.*"
applicationComplete="readParams(event)"
layout="vertical" height="100%" width="100%">
protected function readParams(event:Event) : void {
var userId:String;
var authToken:String;
var subjectParams:Object = root.loaderInfo.parameters;
for (var subjectParam:String in subjectParams) {
userId = subjectParams["userId"];
authToken = subjectParams["authToken"];
//userId = root.loaderInfo.parameters.userId;
Alert.show ("\t" + "userId value" + ":\t" + userId + "\n" +
"\t" + "authToken value" + ":\t" + authToken + "\n" );
However, seems like this part of the code is not working:
flashvars.userId = "<%= userId %>";
flashvars.authToken = "<%= authToken %>";
because instead of the values passed these variables, my app reads
< userId
< authToken
if I use values which are fixed, it works fine e.g.
flashvars.userId = "smith";
Your help will be much appreciated
Thank you.
What technology are you using? JSP, PHP? I think the example you are using was for JSP.
- Jason
Similar Messages
-
Best way to Pass a Date with Time to a Page
Has anyone come up with a simple and reliable way to pass a Date with Time "06/13/1992 10:50 PM" to a page.
Hi Scott:
On Page 1:
Summary Report
LINK Window Item Count Start Date End Date
X 1 7 8/2/2007 03:15:20 8/2/2007 03:18:22
X 2 12 8/2/2007 04:01:01 8/2/2007 04:07:42When the LINK is clicked
On Page 2:
[:P2_S_DATE] 8/2/2007 03:15:20 [:P2_E_DATE] 8/2/2007 03:18:23 [:P2_GO]
Detail Report
Window Item Number Item Date
1 1 8/2/2007 03:15:24
1 2 8/2/2007 03:17:04
... ... ...I then need to allow the users to adjust the dates and click the P2_GO and have it return the new result set. -
Getting error when view - Requested data type does not match with existing
I have the siebel web service
In the BI publisher as mentioned in the 'Siebel_BI_Publisher_Integration_Concepts.pdf', I have imported the siebel web service
BI can recognize the 'Web service' and methods.
I have created the paramters. The data type is 'String'
When I try to view the report using the BI publisher, I am getting teh following error in th UI
"Requested data type does not match with existing data type"
This is the first time I am using BI publisher to call the Siebel web service. I don't know what this error means
I don't know whether any log file generated wit the details of this erro message
Any help is much appriciated
Thanks,
KavithaHi all,
have you find a fix for this issue? Im facing the same situation, using Complex type, and String data type both in the service and Bi publisher. We are consuming CC&B services, and we have noticed this error appears when BIPublisher is running on WebLogic (10.3) but it does not appear when BIPublisher is running on OC4J , of course running the same report on both application servers.
Any idea?
Thanks a lot, regards
Nestor -
How to pass system date and time with tabular from in Update only Mode.
Dear Friends,
i have created tabular form with UPDATE Only .here i am assigning work to another multiple users.i want to insert system date and time when i assign work to multiple users.
How can i insert system date and time into table using tabular form in Update Only Mode.
beacuse i have pass in default system date it's working only with add row button.
How can i pass system date and time in update mode in tabular form.
ThanksHi,
You just create a trigger on the table on which you build your tabular form:
e.g:
CREATE OR REPLACE TRIGGER "AUDITING"
before insert or update on "MYTABLE"
for each row
begin
if inserting then
:new.created_on := localtimestamp;
:new.created_by := nvl(v('APP_USER'),user);
elsif updating then
:new.updated_on := localtimestamp;
:new.updated_by := nvl(v('APP_USER'),user);
end if;
end;Regards,
Fateh -
Hi,
I am getting this following error. Could anyone please throw some light.
Thanks
Nilesh
<HTTP> Servlet request terminated with IOException:
java.io.IOException: There is no process to read data written to a pipe.
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java(Compiled
Code))
at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java(Compiled
Code))
at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java(Compiled
Code))
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java(Compiled
Code))
at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java(Compiled
Code))
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java(Compiled
Code))
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java(Compiled
Code))
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java(Compiled
Code))
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)I forgot to mention.
I am using Weblogic 5.1 with SP 9
Nilesh
"Nilesh Shah" <[email protected]> wrote:
>
Hi,
I am getting this following error. Could anyone please throw some light.
Thanks
Nilesh
<HTTP> Servlet request terminated with IOException:
java.io.IOException: There is no process to read data written to a pipe.
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled
Code))
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java(Compiled
Code))
at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java(Compiled
Code))
at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java(Compiled
Code))
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java(Compiled
Code))
at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java(Compiled
Code))
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java(Compiled
Code))
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java(Compiled
Code))
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java(Compiled
Code))
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) -
How I pass a cluster with array of various data type (double, I32, string)
I have to pass from a VI to a Microsoft Visual C++ DLL, a cluster with some arrays of various data type. The problem is with Double array, that during Visual C debug is incorrect:the dimension is correct passed, but not array data. In the DLL I have inserted the C code genereted by LabVIEW. I tried to pass a cluster of only one array of double, and the results is the same. Then, I tried to pass a cluster with scalar number and the result is correct in only one case. If the double data is the first in the cluster, the result is correct; if the first is another data type, such as integer or boolean, the double data is incorrect during the debug of the DLL.
This is the code of my DLL:
// LabViewP
aram.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include "LabViewParam.h"
#include "extcode.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
switch (ul_reason_for_call)
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
return TRUE;
typedef struct {
long dimSize;
double elt[1];
} TD2;
typedef TD2 **TD2Hdl;
typedef struct {
TD2Hdl elt1;
} TD1;
// This is an example of an exported variable
LABVIEWPARAM_API int nLabViewParamPass=0;
// This is an example of an exported function.
LABVIEWPARAM_API int LabViewParamPass(TD1 *pparam)
double parametro;
int i;
for (i=0;i<(**(*pparam).elt1).dimSize;i++)
parametro=(**(*pparam).elt1).elt[i];
return 42;
// This is the constructor of a class that has been exp
orted.
// see LabViewParam.h for the class definition
CLabViewParam::CLabViewParam()
return;
I use LabVIEW 7.0 and Windows XP.
Sorry for my english.
Thanks to every one for your suggestions.
Filippo> I have to pass from a VI to a Microsoft Visual C++ DLL, a cluster with
> some arrays of various data type. The problem is with Double array,
> that during Visual C debug is incorrect:the dimension is correct
> passed, but not array data. In the DLL I have inserted the C code
> genereted by LabVIEW. I tried to pass a cluster of only one array of
> double, and the results is the same. Then, I tried to pass a cluster
> with scalar number and the result is correct in only one case. If the
> double data is the first in the cluster, the result is correct; if the
> first is another data type, such as integer or boolean, the double
> data is incorrect during the debug of the DLL.
It is hard tell for sure, but you might have alignment problems. The
key symptom
is that you can pass a cluster of big and small fine, but
small big doesn't pass correctly. You might also test this by seeing
what the size of your struct is. For Boolean and Double, sizeof()
should return nine bytes no matter what order the array is in. If you
are getting different sizes, you have two options. You can either order
them such that the sizes work, or you can build the EXE or a wrapper DLL
so that the alignment matches LV's native alignment.
Greg McKaskle -
Error http the request failed with http status 401: unauthorized
Hi,<o:p></o:p>
We are currently developing a Web Part for a
dashboard that connects from SharePoint 2010 to Project Server, we are trying
to connect via the PSI web service and fetch the project data but it is giving
the same error "The request failed with HTTP
status 401: Unauthorized". We are having a huge
issue with gaining authorization through the PSI and cannot figure out what the
problem is. We are using Project Server 2010, SharePoint 2010 and Visual Studio
2010.<o:p></o:p>
The person developing this has administrative
rights on both servers and it is running on his account. However, this is his
first experience with Project Server. Could some provide some guidance?<o:p></o:p>
Does anyone have any suggestions?<o:p></o:p>
Thanks,<o:p></o:p>
Aba
<o:p></o:p>Hi,
Have the credentials been set for the web service? Or are you trying to pass the credentials of the user accessing the webpart? In the second case, the user must have permissions in project server
It would be useful if you can share the part of the code that fails
Paul -
The request failed with HTTP status 401: Unauthorized Invoke Webservice
I want Adding a Web reference dynamically at Runtime follow
SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
internal static object CallWebService(string webServiceAsmxUrl, string serviceName, string methodName, object[] args)
System.Net.
WebClient client = new System.Net.WebClient();
client.Credentials =
new NetworkCredential("username", "pass");
// Connect To the web service
System.IO.
Stream stream = client.OpenRead(webServiceAsmxUrl + "?wsdl");
// Now read the WSDL file describing a service.
ServiceDescription description = ServiceDescription.Read(stream);
///// LOAD THE DOM /////////
// Initialize a service description importer.
ServiceDescriptionImporter importer = new ServiceDescriptionImporter();
importer.ProtocolName =
"Soap12"; // Use SOAP 1.2.
importer.AddServiceDescription(description,
null, null);
// Generate a proxy client.
importer.Style =
ServiceDescriptionImportStyle.Client;
// Generate properties to represent primitive values.
importer.CodeGenerationOptions = System.Xml.Serialization.
CodeGenerationOptions.GenerateProperties;
// Initialize a Code-DOM tree into which we will import the service.
CodeNamespace nmspace = new CodeNamespace();
CodeCompileUnit unit1 = new CodeCompileUnit();
unit1.Namespaces.Add(nmspace);
// Import the service into the Code-DOM tree. This creates proxy code that uses the service.
ServiceDescriptionImportWarnings warning = importer.Import(nmspace, unit1);
if (warning == 0) // If zero then we are good to go
// Generate the proxy code
CodeDomProvider provider1 = CodeDomProvider.CreateProvider("CSharp");
// Compile the assembly proxy with the appropriate references
string[] assemblyReferences = new string[5] { "System.dll", "System.Web.Services.dll", "System.Web.dll", "System.Xml.dll", "System.Data.dll" };
CompilerParameters parms = new CompilerParameters(assemblyReferences);
CompilerResults results = provider1.CompileAssemblyFromDom(parms, unit1);
// Check For Errors
if (results.Errors.Count > 0)
foreach (CompilerError oops in results.Errors)
System.Diagnostics.
Debug.WriteLine("========Compiler error============");
System.Diagnostics.
Debug.WriteLine(oops.ErrorText);
throw new System.Exception("Compile Error Occured calling webservice. Check Debug ouput window.");
// Finally, Invoke the web service method
object wsvcClass = results.CompiledAssembly.CreateInstance(serviceName);
MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
return mi.Invoke(wsvcClass, args);
else
return null;
When i call CallWebService method , it is error
The request failed with HTTP status 401: Unauthorized.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
Line 1880: MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
Line 1881:
Line 1882: return mi.Invoke(wsvcClass, args);
Help me solve this problem.
ThanhksThank advance
I tried it, but it till error
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431201
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
HSCVWS.HelloWorld() +31
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
WsProxy.CallWebService(String webServiceAsmxUrl, String serviceName, String methodName, Object[] args) in d:\ViDu01\ttt.aspx.cs:1882
ttt.Page_Load(Object sender, EventArgs e) in d:\ViDu01\ttt.aspx.cs:27
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-06-09 02:43:10
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2009-06-09 02:43:10 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
2009-06-09 02:43:13 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
2009-06-09 02:43:16 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
2009-06-09 02:43:17 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
2009-06-09 02:44:42 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 servername\username 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 200 0 0 -
WSRP - Pass Custom Data between Consumer and Producer
Hello All,
I am having a couple of queries with respect to Custom Data Transfer. Consider I have a Map of values which I need to transfer between both Consumer and Producer.
For eg: the map that Consumer sends would contain "firstName", "lastName", etc... On the other hand Producer needs to do some business function based on the data and add more values to the map like "rewardPoint" etc....
On Consumer Side:
I have choice to use Backing File or IGetMarkupInterceptor to implement the preInvoke to pass the data using SimpleStateHolder.
Question: I am not able to send a simple Serializable POJO Object... I can only send primitive / default java objects like Strings, Maps of String etc. Is my understanding correct?
On Producer side:
I am able to receive the Custom Data from request. No problems. Now how to send more data from Producer to consumer. I need to add the "rewardPoints" into the map and send back.
My understanding is that if the Producer puts any values into StateHolder objects, Consumer will receive it in IGetMarkupResponseContext object in the Interceptor's postInvoke method.
Question: How do I get a handle to the IGetMarkupResponseContext object @ Producer end???
Question: Do I need to write some interceptors on Producer end? If so which file I need to use?
Any help / pointers would be greatly appreciated.
Thanks,
PazHi All,
I tried to set the data in the producer using the following command
SimpleStateHolder stateSimpleOuterReq = (SimpleStateHolder)request.getAttribute(MarkupRequestState.KEY);;
if (stateSimpleOuterReq == null) {
SimpleStateHolder state = new SimpleStateHolder();
state.addParameter("name", "data1");
request.setAttribute(MarkupResponseState.KEY, state);
I am not able to retrieve the same in consumer.
The above is a WSRP struts request.
I also tried setting the data by unwrapping the request in producer and still value is null in consumer :-(
HttpServletRequest requestq = (HttpServletRequest)((HttpServletRequestWrapper) request).getRequest();
SimpleStateHolder stateSimpleReq1 = (SimpleStateHolder)requestq.getAttribute(MarkupRequestState.KEY);
if (stateSimpleReq1 == null) {
SimpleStateHolder state = new SimpleStateHolder();
state.addParameter("name", "data1");
requestq.setAttribute(MarkupRequestState.KEY, state);
Please help me in resolving the issue. Correct me if i am doing anything wrong.
Thanks
T. Deena
Edited by: user11261911 on 12/06/2009 19:49 -
How to pass XML data between applications
Hi,
can any one tell me how to pass XML data between applications
Thanks in advance
SudheerSteve,
I tried the code in the http package in the Appendix A section of your book. Each time i try a POST I get a HTTP/1.1 400 Bad Request error from the server. I can successfully do a GET from URLs. I have pretty much copied your code verbatim. Any ideas?
Thanks,
Sunder
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
See the "Working with XML Messages" section starting on page 242 of my Building Oracle XML Applications. It covers how to Send and Receive XML messages over the web through HTTP GET and HTTP POST as well as specifically Example 6-30 that illustrates how to receive a posted XML message in a servlet and process it.
Hope this helps.<HR></BLOCKQUOTE>
null -
Passing Request Attributes in betweeen pageflow Portlets
Hi
How to pass Request Attributes in between Pageflow Portlets
I tried with ScopedServletUtils class but it's not working for me
ThanksConsider using events to pass data between portlets. Refer to docs about
Interportlet Communication (IPC).
Subbu
Srinivasa Reddy Kapidi wrote:
Hi
How to pass Request Attributes in between Pageflow Portlets
I tried with ScopedServletUtils class but it's not working for me
Thanks -
How to pass the data from a input table to RFC data service?
Hi,
I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
Thanks for your answer.Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
Thanks. -
Not able pass the data from component to other component.
Hello All
I am not able pass the data from component to other component.
I have done like this.
1 Main Component (Parent component ) having below two child components.Embeded as used components.
2) Search Component and Details Component
3) In the Search Component having buttons, Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
4) When I am clicking above button u201CXu201D raising the event to call the parent business logic method, there I am getting Structure with values and binded this structure to the node and Mapped this node to the Details component interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
5) In the Details component node data is not coming mean empty.
Thanks in Advance.
Br-
CW
Edited by: CarlinWilliams on Jul 4, 2011 9:21 AMHi,
When you use input Ext. check that the parent component should not be used as used component in child component.
Only in the parent component the child components should be used as used components and the usage has to be created for the
Child Components and the binding of the Node should be done from comp. controller of parent component to child node
by which you will be able to see double arrow against the node.This should work
Thanks,
Shailaja Ainala. -
How to pass and work with a PL/SQL or Temp table in a Procedure?
My problem is that I have a query that involves about 10 tables or so, but everything starts from one base table. I am trying to split the base table so that the query actually finishes.
Problem Query:
with base_table as
select * from table_a
, t1 as
select * from table_b
-- There are some manipulation in the SQL, but not listing it here.
, t2 as
select * from table_c INNER JOIN t1 on t1.id = table_c.id
) What I want to do is limit base table and thus create a procedure such that it evalutes a temporary table and the temporary table will be limited by 1000 rows or so.
Thanks for your help.Currently I am using:
DECLARE
l_start NUMBER;
l_increment NUMBER;
l_max NUMBER;
BEGIN
l_start := 1;
l_increment := 100;
SELECT COUNT(*) AS the_count
INTO l_max
FROM table_a;
LOOP
INSERT INTO new_table
WITH base_table AS
(SELECT p.*
FROM (SELECT DENSE_RANK () OVER (ORDER BY alpha_id) rnum, a.*
FROM table_a a) p
WHERE rnum BETWEEN l_start AND l_start + l_increment - 1)
, t1 AS
(SELECT *
FROM table_b
-- There are some manipulation in the SQL, but not listing it here.
, t2 AS
(SELECT *
FROM table_c INNER JOIN t1 ON t1.ID = table_c.ID
SELECT *
FROM t2, temp_base;
COMMIT;
l_start := l_start + l_increment;
EXIT WHEN l_start > l_max;
END LOOP;Is it better to create a Temporary table or pass the data as a cursor:
SELECT DENSE_RANK () OVER (ORDER BY alpha_id) rnum, a.*
FROM table_a a
Thanks. -
Deletion of master data with / without SID
Hi Experts,
Client have requested for master data clean up.
Requirement:
"Several masterdata tables in Production system contain wrong entries. These entries should be cleaned up. The attached Excel contains the keys of the entries to be deleted"
Steps to be taken:
1. emptied/deleted content of all the cube.
2. delete data from master data
Help required:
What will be impact of deleting master data with SID when DSO data is not deleted.
What if i choose without SID option for deletiing master data
Regards
Suresh KumarHi Suresh,
Deleting master data is one critical job and ned to be very care ful.
First try to find out the where used list of that particular IO. delete data from all the CUBEs and DSOs. i don't think without deleting the transaction data from all the objects that you see from where used list, you will be able to delete the maste data.
System doesn't allow you, it will say "Not all selected data is deleted" Some message of this sort when you try deleting the master data.
If you are deleting the TD and master data, why do you need the SID to be spared, delete them too. next time you load the correct master data. the SIDs are again generated.
Go thru the below thread, this gives you lot if info on MD deletion.
[Re: SID Tables]
Maybe you are looking for
-
Copy purchased apps from old MacBook Pro onto a new one
How to get alls the purchased apps of my first MacBook Pro copied onto my new MacBook Pro?
-
Can I set the address format for individual contacts?
I have some foreign friends and would like to set the address format for their individual cards correctly. I can't seem to find a way to do this. I will be taken aback if this can't be done - I think the old Claris contact product did that. Anyone wi
-
Color using only one CPU?
When rendering with Color it seams that it using only one CPU, according to "top". Is it possible to make use of all CPUs?
-
Aspect ratio for a video object
How can you maintain a video objects aspect ratio? The property maintainAspectRatio seems to work only with the flvplayback component.
-
Price Difference in Passport (India)
Why is it that the Passport is available for $599 in the US and Rs46,000 ($760) in India???? Solved! Go to Solution.