DELETE  HIERARCHY DATA,CONNECT BY  SQL/PLSQ

Hi
Please help with the logic!
I am trying to delete the data from the hierarchy table data(TABLE1) based on another table(TABLE2),For this i am using 2 cursors (get_ssn and get_max),
problem is with deleting the hierarchy data, there are several levels (few of them upto 10 levels), i have to delete from top to bottom level of the hierarchy structure
the first cursor returns the hierarchy structure
level ssn report_to baid
1
2
3
1
2
1
2
3
4
my plan is to pull the max of the level and delete it, loop the max value and decrement it by 1 in every iteration and delete the rows, below is the rough logic,
please help me building up the logic
declare
lev eweb.level%TYPE;
i = number :=0;
cursor get_ssn is --> this cursor is getting ssn based on simple join between two tables
select level, ssn, report_to, baid
from TABLE1
where ssn not in ( select e.ssn
from TABLE1 e, TABLE2 s
where e.ssn = s.ssn)
start with ssn in (select e.ssn
from TABLE1 e)
connect by prior report_to=baid;
cursor get_max is --> pulling the max of level
select max(level)
from eweb
where ssn not in ( select e.ssn
from TABLE1 e, TABLE2 s
where e.ssn = s.ssn)
start with ssn in (select e.ssn
from TABLE1 e)
connect by prior report_to=baid;
BEGIN
for i in get_ssn
loop i := i+1;
Delete from eweb --> here im trying to delete rows by using max(level)-i, in 1st iteration it takes the max value, in next iteration it will be max -1..........
where level = get_max-i
END LOOP;
end for loop;
END;
Edited by: user8884944 on Jun 23, 2010 11:34 AM

A few remarks
1 The subject line was shouted by using all caps. This must be considered rude
2 The introduction discusses 2 tables, yet the code deals with 3, and only from the third table data is deleted
3 no CREATE TABLE statements were posted, nor sample data
4 if you can put a constraint on the affected column, using on cascade delete, everything will be deleted automagically.
With this little information, no help is possible. We can not see what each statement does, the comments don't tell anything, and we can also not see what it is expected to do in terms of logics, as the statements are almost certainly wrong.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Sharepoint 2013, Infopath 2013 and SQL List Data Connection

    I created one list library in SharePoint 2013
    Customized with info path forms 2013 …
    External data connection with SQL servicer table
    SQL table fields are associated with List fields…
    I converted data connection in to UDC file and uploaded in the Data connection Library in SharePoint 2013
    I published the list… when I new document I am getting an error …
    You do not have permissions to access a database that contains data required for this form to function correctly.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation ID:
    0bb79b9c-3893-20d2-21e3-d428b2f4e92f
    Hai

    Hello , 
    Please refer below threads .
    http://social.msdn.microsoft.com/Forums/en-US/6bead079-4a71-49aa-9c67-ad59069a0ffe/sharepoint-2010-infopath-form-error-you-do-not-have-permissions-to-access-a-database?forum=sharepointcustomizationprevious
    http://blogs.technet.com/b/rajbugga/archive/2013/08/07/infopath-over-claims-authentication-sharepoint-2010-amp-2013.aspx
    Also I would suggest you to create a simple web service to get and update the data to database . And use that Web service to your DB operations . 
    Best Regards Kuldeep Verma
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful. 

  • Can Crystal Report XI update data in a SQL Table

    Post Author: abidamin
    CA Forum: Data Connectivity and SQL
    Hi,
    I have a very specific requirement to update a flag field in one of SQL2005 database tables, I need to update a One character field with Y on all selected records printed on the report as a result of running the report successuflly.
    Can anyone let me know if it is possible to update a SQL table field using Crystal Report XI.
    Regards

    Post Author: SKodidine
    CA Forum: Data Connectivity and SQL
    Perhaps this KBase article can be of some help.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2011921&sliceId=&dialogID=18608077&stateId=1%200%2018610053

  • Powerpivot data connection will not save the password

    I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis.  We don't have Powerpivot data refresh in Sharepoint active, so I can't make use of that service.
    When I create a Powerpivot data connection to SQL server using SQL Server Authentication (unchanging read-only username and password), and checking the box to save the password, the connection works fine for refreshing the data as long as I leave the workbook
    open.
    If I close the file and re-open it, the password is gone from the data connection and the user cannot refresh the data.
    I've tried configuring the data connection with the SQL native client provider and the SQL OLEDB provider and I see exactly the same results.
    The connection string gets built with Persist Security Info=True and the Password shows up as hidden text (dots).  It stays this way through refreshes as long as the workbook is open.  However, once I close the file and re-open it, the
    connection string no longer has the Password parameter listed at all, not even as hidden text.  Persist Security Info is still there and set to True.  As might be expected, the connection string does not have the information needed to access the
    SQL Server instance.
    This type of connection string using SQL Server Authentication still works fine with the password saved when used directly as an Excel data connection, or when used as a data source in Reporting Services.  It's only Powerpivot where the password gets
    blown away.
    Is there a workaround for this issue?

    Thanks Jaynet.
    Unfortunately, the procedure described in the link you provided does not work for PowerPivot, at least in Excel 2010.
    If I create the PowerPivot data connection using "From Database/From SQL Server" there is no option to "Allow saving password".  There is only the checkbox to "Save my password".  There is an "Advanced" button that allows you to set many additional
    properties of the data connection, but there is nothing like allow saving password.
    If I create the PowerPivot data connection using "From Other Sources/Others (OLEDB/ODBC)" and then click the "Build" button, I get a dialog that is pretty close to the one in your link.  For the Provider tab, I can choose either the Microsoft OLE DB
    Provider for SQL Server or the SQL Server Native Client 10.0.  In the connection tab I do have the "Allow saving password" checkbox.  I check this and complete the rest of the data connection configuration.  After I save the file with this data
    connection and then re-open it, the data will not refresh.  If I edit the existing connection from the PowerPivot design tab, the Password parameter is completely missing from the connection string.  If I go back into the connection string builder,
    there is nothing in the password field (not even dots) and allow saving password is no longer checked.
    I've even tried creating my own connection string in Notepad and pasting it into the connection string box (definitely including Persist Security Info=True).  This does not work either and PowerPivot erases the entire Password parameter just the same
    as if I had used the builder and checked Allow saving password.
    I'm beginning to think that the previous poster, David Hager, has it right.  This may be a bug introduced with the latest version of PowerPivot.  If there is no workaround, it is a total pain for me.
    Mike Paulonis

  • CR4E plug-in   ERROR CONNECTIVITY  MS ACCESS DATABASE :data connection that isn't fully supported by this version of the Crystal Reports designer

    Post Author: arfetgas
    CA Forum: Data Connectivity and SQL
    Hi im trying to view a simple report , this report have some parameters from a MS Access database.I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc... and the problem its  like this,  I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.I have this errors  : at same time 1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.  2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)    at org.eclipse.jface.window.Window.open(Window.java:796)    at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)    at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)    at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)    at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)    at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)    at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)    at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)    at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)    at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)    at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)    at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)    at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)!ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Error loading file prueba.rpt!STACK 0java.lang.Exception: Error loading file prueba.rpt    at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)    at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)    at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)    at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in Provider:.... Business Objects!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in name:.... Crystal Reports Java Development Tools!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Version:.... 1.0.4.v1094!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse  Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO  any req  -
    >   [email protected] thanks to people  that can help ...           

    Post Author: arfetgas
    CA Forum: Data Connectivity and SQL
    Hi im trying to view a simple report , this report have some parameters from a MS Access database.I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc... and the problem its  like this,  I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.I have this errors  : at same time 1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.  2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)    at org.eclipse.jface.window.Window.open(Window.java:796)    at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)    at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)    at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)    at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)    at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)    at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)    at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)    at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)    at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)    at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)    at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)    at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)!ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Error loading file prueba.rpt!STACK 0java.lang.Exception: Error loading file prueba.rpt    at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)    at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)    at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)    at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in Provider:.... Business Objects!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in name:.... Crystal Reports Java Development Tools!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Version:.... 1.0.4.v1094!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse  Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO  any req  -
    >   [email protected] thanks to people  that can help ...           

  • Dynamic Data Connections -- only with Views?

    Post Author: mk1
    CA Forum: Data Connectivity and SQL
    I'm developing reports using Crystal Designer (Crystal Reports Developer) in a mixed database environment.  We have an Oracle database that has a TEST and a LIVE version, and I want my users to be able to run reports against either.
    I looked at using the Business View Manager that came in my 5-user copy of Crystal Reports Server, to set up Dynamic Data Connections -- but I would have to develop VIEWs for all of my reports, to use that, correct?
    How can I give my users the ability to run ANY of the reports I'm writing against either the TEST or the LIVE database, without me having to build views or duplicate (and then maintain duplicates of) the reports?
    Thanks
    M. KentGeorgia

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    MK1, not sure for your version of CR, but in CRXI, you can add a command, in the command you can add a parameter to select the database.

  • "Data Connectivity Tutorial: Connecting to Object Collections" Problem

    Post Author: Brian Wildrick
    CA Forum: Data Connectivity and SQL
    Using VS2005, followed the directions to the letter.  On page 363, "Connecting a Report to the Stock Object" > "To connect a Crystal report to the Stock object" > 6. Expand the Stock class to view a selectable sub node - I can't actually expand out the object/source to show it's public properties for use in the report.  Any suggestions?

    Post Author: Brian Wildrick
    CA Forum: Data Connectivity and SQL
    Using VS2005, followed the directions to the letter.  On page 363, "Connecting a Report to the Stock Object" > "To connect a Crystal report to the Stock object" > 6. Expand the Stock class to view a selectable sub node - I can't actually expand out the object/source to show it's public properties for use in the report.  Any suggestions?

  • Connect to SQL Server 2005 Express MDF file

    Post Author: ims_user
    CA Forum: Data Connectivity and SQL
    Is it possible to connect directly to a SQL Server 2005 Express MDF file? Every time I select SQL Native Client it expects me to put in a server name etc, but there is no where to put in a file name or connection string. My application connects to this file directly using this in the connection string
    Data Source=.\SQLEXPRESS;AttachDbFilename=
    I now need to report on the data it contains.
    Many thanks.

    Post Author: ims_user
    CA Forum: Data Connectivity and SQL
    Is it possible to connect directly to a SQL Server 2005 Express MDF file? Every time I select SQL Native Client it expects me to put in a server name etc, but there is no where to put in a file name or connection string. My application connects to this file directly using this in the connection string
    Data Source=.\SQLEXPRESS;AttachDbFilename=
    I now need to report on the data it contains.
    Many thanks.

  • What should I use BCS or directly connect to sql server to get data.

    Hi All,
    I have a requierment where the data is in the sql server.
    We  are using sharepoint webpart to show the data from the sql.
    Should i get the data from the sql server using connection string.
    Is there any better way to get data from Sql server table and show that in the custom asp.net form.
    Regards
    Vinod

    As I see the questions is in SharePoint 2013 forum.
    Assuming you have SharePoint 2013/2010, you can create Create/Read/Update/Delete operations on directly sql table using BCS service of SharePoint. That will save you default development of web part and handle all information properly.
    If you don't want to use BCS and sql (not sharepoint sql) information required, you can create custom web part/app part.
    Thanks, Ashish | Please mark a post helpful/answer if it is helpful or answer your query.

  • HT204266 My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

  • How to delete entire data in the hierarchy table,?

    hi friends
    i need to delete entire data in the hierarchy table which contains parent child relationship,when i am selecting entire records and choose the option delete from the context menu, it is not deleting, and i have to delete one by one or i have delete first the child items and later parents items, it is time consuming process.
    Is there any other option to delete entire records in the hierachy table , irrespective of parent and child relationship?
    if any one have solution for my issue, please provide to me
    thanks in advance
    bharat.chinthapatla

    Hi Bharat,
      Unload the Repository and Delete the Table and fields in Hierarchy table and Recreate and reload the data.OIther wise you have to lot of manual work.
    Thanks
    Ganesh Kotti

  • How to delete the Hierarchy data from Infoobjects.

    How to delete the Hierarchy data from Infoobjects. In my case I had 300 records in the corresponding table of info object.
    When i was trying to delete the hierarchy data, I am getting error message. "Some master data not deleted". Can any one tell me to delete all these records by using a program.

    Hi
    Go to SE11 and enter the hierarchy table name.
    /BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
    Thanks
    TG

  • An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229

     Recently i upgraded my SharePoint server 2013 to SP1, after the upgrade i received following message in manage database Status page " Databases running in compatibility range, upgrade recommended" 
    for Business Data Connectivity Database. Then i ran Sharepoint Configuration wizard, which fixed that error on that page but i am getting a error message while accessing BDCApplication page in manage service applications pagein central admin"
    An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229
    Sys Log :
    The BDC Service application failed due to a SQL Exception: SQLServer host WSQLD05\DV. The error returned was: 'The EXECUTE permission was denied on the object 'proc_ar_GetAdministrationMetadataCatalogByPartitionId', database 'sp_BusinessDataConnectivity_DV13',
    schema 'dbo'.'
    I checked the Db role of the service app pool account, it has SPDataAccess permission over the Database. i cant recreate another application without knowing the root cause. I hope i can get better option to troubleshoot the issue.
    Thank you

    As per the error message, you can at least grant the BDC service application pool account the EXECUTE perimssions on the sp_BusinessDataConnectivity_DV13 database
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Can't Create a Data Source - Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi there,
    I am having a serious issue with The Power BI Data Management Gateway which I am hoping that someone can help me with.
    Basically I am setting a connection between a Power BI demo site and a SQL 2012 Database based on Azure. The Data Management Gateway and is up and running, and Power BI has managed to connect to it successfuly.
    By following the tutorials at
    here I was able to successful create my Data Connection Gateway with a self-signed certificate.
    However, when trying to create the data source I come into problems. The Data Source Manager manages to successfully resolve the hostname, as per the screenshot below:
    Bear in mind that I exposed the require ports in Azure as endpoints and I managed to modify my hosts file on my local machine so I could access the SQL server hosted in Azure using its internal name -- otherwise I would not be able to get this far.
    However the creation of the data source also fails when trying to created it whilst logged in the SQL server in question:
    The Data Source Manager returns the error when using the Microsoft OLE DB Provider for SQL Server:
    Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
    I tried using the SQL Server Native Client 11.0 instead but I also get an error. This time the error is:
    Failed to test connection. Login timeout expiredA network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.Named Pipes Provider: Could not open a connection to SQL Server [53]. 
    Some considerations
    If I provide an invalid username/password, the Data Source Manager does say that the username and password is incorrect.
    Firewall is turned off in the SQL Server (either way, this error also happens if I try top use the Data Source Manager whilst logged in the SQL Server itself).
    SQL Profiler does not show any attempt of connection.
    The SQL server instance in question is the default one.
    The error happens regardless if I select the option to encrypt connection or not.
    In SQL Configuration manager I can see that all protocols are enabled (TCP/IP, Named Pipes and Shared Memory.
    The Event Viewer does not provide any further errors than the one I have copied in this post.
    I'm at a loss here. Could someone please advise what might I be doing wrong?
    Regards,
    P.

    Here is what I had to do to solve this issue:
    Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
    domain isn't trusted.
    What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?)

  • Essbase Studio Error(1021001): Failed to Establish Connection With SQL Data

    Hi.
    I have trying to deploy a cube with Essbase Studio but I get the error: "*Error(1021001): Failed to Establish Connection With SQL Database Server*"
    My environment is Linux 5, Oracle 11g and EPM 11.1.1.2. Oracle database and Essbase was installed with diferent users. In the .bash_profile of hypadmin user (that install Essbase) I have set the following variables
    ORACLE_BASE=/u01/app/oracledb/product/11.1.0
    ORACLE_HOME=$ORACLE_BASE/db_1
    LD_LIBRARY_PATH=/usr/X11R6/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    ORACLE_HOSTNAME=devbi.sigfe2
    PATH=$ORACLE_HOME/bin:$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:/sbin:$ORACLE_HOME/opmn/bin:$PATH
    ORACLE_SID=orcl
    JAVA_HOME=/u01/app/installfiles/jdk1.5.0_19
    In my pc (windows xp) I can open Essbase Studio console, do the connection to Oracle database, get tables and create minischema, mesures and hierarchies (I can see the preview of hierarchies). Also I can create cubes with EAS and can connect with MAXSHELL to essbase.
    When I try to deploy the cube from Essbaes Studio y get the error "Error(1021001): Failed to Establish Connection With SQL Database Server".
    The Essbase Studio Log File say:
    +12:40:16 07/24/09 (admin-1) INFO Start creating outline in database "5.4.0.41:1423.POC_ESS.POC_ESS1"...+
    +12:40:16 07/24/09 (admin-1) FINA Sign on Essbase by CSS token "5.4.0.41:1423" successfully...+
    +12:40:16 07/24/09 (admin-1) INFO Start building dimension "DM_CIUDADES" ...+
    +12:40:16 07/24/09 (admin-1) MÁS FINA Start creating rule file ...+
    +12:40:16 07/24/09 (admin-1) INFO SQL statement has been created and put into rule file "/home/hypadmin/hyperion/products/Essbase/EssbaseStudio/Server/./ess_japihome/data/DM_CIU.rul"+
    +12:40:16 07/24/09 (admin-1) INFO The query is "SELECT (CONCAT('reg_',CAST(cp_105."ID_REGIONPADRE" AS VARCHAR2(1000)))) as "REGION_PADRE", (CONCAT('reg_',CAST(cp_105."ID_REGION" AS VARCHAR2(1000)))) as "REGION_HIJO", cp_105."DE_REGION" as "REGION_HIJO.Default" FROM "POC"."DM_REGIONES_ESS3" cp_105 ORDER BY cp_105."DE_NIVEL" ASC, cp_105."ID_REGIONPADRE" ASC, cp_105."ID_REGION" ASC"+
    +12:40:16 07/24/09 (admin-1) INFO Rule file has been created and saved as "/home/hypadmin/hyperion/products/Essbase/EssbaseStudio/Server/./ess_japihome/data/DM_CIU.rul"+
    +12:40:16 07/24/09 (admin-1) FINA Essbase starts to add members to DM_CIUDADES dimensioin based on the rules file.+
    +12:40:16 07/24/09 (admin-1) ADVERTENCIA (1021001): Error al establecer conexión con el servidor de bases de datos SQL. Consulte el registro para obtener más información.+
    +12:40:16 07/24/09 (admin-1) ADVERTENCIA essbaseDriver.FailedToBuildDimensionException+
    +12:40:16 07/24/09 (admin-1) GRAVE Unexpected exception in EssbaseExport prevented cube from being deployed+
    -------------- Exception --------------
    com.hyperion.cp.datasources.export.essbase.EssbaseDriverException: Failed to deploy Essbase cube
    Thanks in advance to all that have any idea to help me to solve this issue.
    A.S.

    Hi,
    If you type database SID in lowercase, try to reenter iot in uppercase. Strange, but I and my colleagues encounter this behaviour many times.

Maybe you are looking for

  • Mac Pro Low Power 1.5V FBDIMM's

    Is there a way to get the Mac Pro to be able to use Low Power 1.5V FBDIMM's instead of the standard 1.8V FBDIMM's?

  • Import an open office spreadsheet into internal table

    hi all,         i have one requirment to import excel into sap but  i dont have MS office on my system                is  there any way to import an open office spreadsheet into internal table             by using  ALSM_EXCEL_TO_INTERNAL_TABLE fm  or

  • HT5500 uploading photos to Facebook

    I have uploaded many photos from my iphone5 to Facebook. Suddenly I'm no longer able. I hit "send," when I check Facebook, the picture is not there. Nothing else has changed.

  • IMovie 11 launches, no windows visible

    I've just run into an interesting problem. When I launch iMovie 11 (version 9.0.6 (1763)), I can see that the application launches properly, see the "light" under the Dock icon, and can even see all of the iMovie menus. There's just one issue -- none

  • Af:image source outside of application

    Hi I use Jdev 12c I have a folder which contains images, this folder is outside the app I did this to save space in the Database, I'd like to know how to access it to show it I used <af:image source="/home/diego/Pictures/aaa.png" id="i1" shortDesc="H