Implementing constraints in sql

Hi,
I have posted this message before but not got any +ve reply can some one please help me.......
I am facing a small problem i am doing a database for a supermarket i am encountering a small problem in the following area:
I have two tables:
1) orders :orderno,date
2) products:productno,price
3) new table:orderno,productno,quantity_ordered
an order can have any one number of products(should have atleast one) and a product can be any number of orders(no orders also).Now since this is a many to many on both sides im trying to resolve it by making a new table(new table)
how do i make sure that an order has atleast product ie that an orderno in order table should also be present in the new table that im creating .Can any one suggest a solution for this wether to use a trigger or check or what
please help as im stuck at this point

Hi,
I have posted this message before but not got any +ve reply can some one please help meThis is not because you create too many thread on the same wubject that you will have more chance to have any help.
problem in implementing constraint
implementing constraints in sql
If you need absolutely a response, create an iTAR on Oracle support... here there are only volonteers.
You can read http://www.catb.org/~esr/faqs/smart-questions.html
Nicolas.

Similar Messages

  • Can we implement the custom sql query in CR for joining the two tables

    Hi All,
    Is there anyway to implement the custom sql query in CR for joining the two tables?
    My requirement here is I need to write sql logics for joining the two tables...
    Thanks,
    Gana

    In the Database Expert, expand the Create New Connection folder and browse the subfolders to locate your data source.
    Log on to your data source if necessary.
    Under your data source, double-click the Add Command node.
    In the Add Command to Report dialog box, enter an appropriate query/command for the data source you have opened.
    For example:
    SELECT
        Customer.`Customer ID`,
        Customer.`Customer Name`,
        Customer.`Last Year's Sales`,
        Customer.`Region`,
        Customer.`Country`,
        Orders.`Order Amount`,
        Orders.`Customer ID`,
        Orders.`Order Date`
    FROM
        Customer Customer INNER JOIN Orders Orders ON
            Customer.`Customer ID` = Orders.`Customer ID`
    WHERE
        (Customer.`Country` = 'USA' OR
        Customer.`Country` = 'Canada') AND
        Customer.`Last Year's Sales` < 10000.
    ORDER BY
        Customer.`Country` ASC,
        Customer.`Region` ASC
    Note: The use of double or single quotes (and other SQL syntax) is determined by the database driver used by your report. You must, however, manually add the quotes and other elements of the syntax as you create the command.
    Optionally, you can create a parameter for your command by clicking Create and entering information in the Command Parameter dialog box.
    For more information about creating parameters, see To create a parameter for a command object.
    Click OK.
    You are returned to the Report Designer. In the Field Explorer, under Database Fields, a Command table appears listing the database fields you specified.
    Note:
    To construct the virtual table from your Command, the command must be executed once. If the command has parameters, you will be prompted to enter values for each one.
    By default, your command is called Command. You can change its alias by selecting it and pressing F2.

  • Loader constraints (oracle/sql/converter/CharacterConverters)

    I'm trying to get OC4J standalone to work with instant client of JDBC in order to use OCI. I can run the java code stand-alone on the Oracle home I've installed the OC4J in, but when I try to run the application through OC4J I get the following error - indicating a setup problem?
    java.lang.LinkageError: Class oracle/sql/converter/CharacterConverters violates loader constraints
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:158)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:137)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at oracle.sql.CharacterSet1Byte.getInstance(CharacterSet1Byte.java:79)
         at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:91)
         at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:104)
         at oracle.sql.CharacterSet.make(CharacterSet.java:430)
         at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:126)
         at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:356)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:196)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:146)
         at tsa.common.tsaDB.newConnection(tsaDB.java:30)
    I've searched but really found nothing indicating problems with this class. Is this an NLS problem?

    Well - I don't have to look for that setting - I know it's set to excatly that - because I did that ;)
    I cannot use the JDBC built into OC4J. First, it's using CLASSES12DMS - secondly I use XDB. Even if it was using OJDBC14 it most likely would not be "binary compatible" with the XDB from the 10g RDBMS. I've had this problem on the AS 10g of OC4J and I did try it on this one too. XDB crashes out with basically the same error -just different library.
    My issue is integration into OC4J. This application works outside OC4J (the method that fails work). By simply setting CLASSPATH to the OJDBC14 from the instant client, LD_LIBRARY_PATH to the *.so files from the same instant client, plus XDB from the 10g home, and XMLPARSEV2 - the connection succeeds and data is retreived etc.
    NOW - the exact error here I think I identified. OC4J loads ORAI18N - an older version (at least different from) compared to the one that comes with instant client. I put the instant client's ORAI18N in the "pre-path" load (that setting you refer to) and I'm now at a different loader constraint for sql/oracle/OPAQUE. Trying to identify which library, if any, that OC4J is providing which shouldn't be there.
    I've read the note that explains how to install a different version of JDBC with OC4J. Problem is, that instant client doesn't come with CLASSES12DMS - and secondly I've tried to replace the DMS version with a link to OJDBC14 and it staill failed.
    In a way this particular thread got resolved last night - but I still have the same basicly problem. Getting a different JDCB version using OCI to work from within OC4J 10.1.x.

  • I cannot Disable a constraint in SQL Developer

    Here is my issue:
    I have created a table already named practice1.
    Using SQL Developer PL/SQL try to run a loop as following:
    DECLARE
    COUNTER1  NUMBER(2);
    BEGIN
    COUNTER1 := 30;
    ALTER TABLE practice1
    DISABLE  CONSTRAINT PRK1;
    LOOP
    COUNTER1 := 30;
    INSERT INTO PRACTICE1
    VALUES (COUNTER1, 'test7', 8, 9);
    EXIT WHEN  COUNTER1 >26;
    END LOOP;
    END;
    In other words I Insert the COUNTER1 variable value as Primary Key in the tables field1 column.
    I run the script successfully without the ALTER TABLE DISABLE CONTSRAINT.. command.
    Everytime I run it I had to increase the starting value of Variable COUNTER1 so it will not attempt to insert a duplicate pre-existed value in Primary Key.
    Then I decided to insert the command ALTER TABLE DISABLE CONSTRAINT in order to not have to worry to change the starting value.
    I am able to disable the constraint by using the same command in isolation . If I run it as part of the script as above I get the following error:
    Error report:
    ORA-06550: line 5, column 1:
    PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
       ( begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-identifier>
       <a bind variable> << continue close current delete fetch lock
       insert open rollback savepoint set sql execute commit forall
       merge pipe purge
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    I would appreciate any suggestions.
    Thank you.

    Your question has NOTHING to do with sql developer.
    Mark this question ANSWERED and repost it in the SQL and PL/SQL forum.
    https://forums.oracle.com/community/developer/english/oracle_database/sql_and_pl_sql
    The problem is that you CANNOT execute DDL directly in PL/SQL. You need to use dynamic SQL to execute DDL within PL/SQL.
    EXECUTE IMMEDIATE 'ALTER TABLE . . .';
    If you need more help use the correct forum as shown above.

  • Ignoring constraints with SQL*Loader & triggers

    When I load a table with SQL*Loader that has foreign key constraints and a before insert trigger, my foreign key constraints are ignored. The end result is a detail table that contains invalid rows (where some column values do not exist in the master table). If I drop the trigger and just load with SQL*Loader, the foreign key constraints are recognized. Any ideas why this is happening? The trigger simply populates the last updated date and user columns.

    I found this from Asktom very nice. It will help u a lot.
    http://asktom.oracle.com/pls/ask/f?p=4950:9:1988009758486146475::NO:9:F4950_P9_DISPLAYID:8806498660292

  • Implementation of java.sql.* abstract methods

    Hi to u all,
    Can someone tell me where the abstract methods in some interfaces in the java.sql package are implemented?
    For example:
    -- START CODE --
    ResultSet rs = null;
    try
    ps = db().prepareStatement("select * from aTable where x=?");
    ps.setInt(1, aValue);
    rs = ps.executeQuery();
    ResultSetMetaData md = rs.getMetaData();
    -- END CODE --
    It's about the getMetaData()-call.
    It returns information about the column names in the resultset.
    If I open the declaration (eclipse) the abstract method getResultSet() in the interface ResultSet in the java.sql-package is shown.
    So where is the actual implementation of the method??
    As a collegue told me he suspected the implementation is probably somewhere in the driver-software. If this is the case, how does the JVM know to find it there?
    Thx in advance for your time and answer(s)

    The JDBC driver implements the JDBC API.
    The JVM how to know that?
    1. The Class.forName("jdbc driver name") will load the driver into memory.
    2. The DriverManager.registerDriver(Driver driver) will register the driver for later use.
    Check the DriverManager.java for more detail.

  • Dynamic Rule based implementation in PL/SQL

    Hi,
    We are trying to implement a dynamic rule based application in Oracle 9i. Its simple logic where we store expressions as case statments and actions seperated by commas as follows.
    Rule: 'Age > 18 and Age <65'
    True Action: 'Status = ''Valid'' , description = ''age in range'''
    False Action: 'Status =''Invalid'', Description=''Age not in range'''
    Where Age,Status, description are all part of one table.
    One way of implementing this is fire rule for each record in the table and then based on true or false call action as update.
    i.e
    select (case when 'Age > 18 and Age <65' then 1 else 0 end) age_rule from tableX
    (above query will in in a cursor xcur)
    Then we search for
    if age_rule = 1 then
    update tablex set Status = ''Valid'' , description = ''age in range'' where id=xcur.id;
    else
    update tablex set Status =''Invalid'', Description=''Age not in range'' where id=xcur.id;
    end if;
    This method will result in very slow performance due to high i/o. We want to implement this in collection based method.
    Any ideas on how to dynamically check rules and apply actions to collection without impact on performance. (we have nearly 3million rows and 80 rules to be applied)
    Thanks in advance

    Returning to your original question, first of all, there is a small flaw in the requirements, because if you apply all the rules to the same table/cols, than the table will have results of only last rule that was processed.
    Suppose rule#1:
    Rule: 'Age > 18 and Age <65'
    True Action: 'Status = ''Valid'' , description = ''age in range'''
    False Action: 'Status =''Invalid'', Description=''Age not in range'''
    and Rule#2:
    Rule: 'Name like ''A%'''
    True Action: 'Status = 'Invalid'' , description = ''name begins with A'''
    False Action: 'Status =''Invalid'', Description=''name not begins with A'''
    Then after applying of rule#1 and rule#2, results of the rule#1 will be lost, because second rule will modify the results of the first rule.
    Regarding to using collections instead of row by row processing, I think that a better approach would be to move that evaluating cursor inside an update statement, in my tests this considerably reduced processed block count and response time.
    Regarding to the expression filter, even so, that you are not going to move to 10g, you still can test this feature and see how it is implemented, to get some ideas of how to better implement your solution. There is a nice paper http://www-db.cs.wisc.edu/cidr2003/program/p27.pdf that describes expression filter implementation.
    Here is my example of two different methods for expression evaluation that I've benchmarked, first is similar to your original example and second is with expression evaluation moved inside an update clause.
    -- fist create two tables rules and data.
    drop table rules;
    drop table data;
    create table rules( id number not null primary key, rule varchar(255), true_action varchar(255), false_action varchar(255) );
    create table data( id integer not null primary key, name varchar(255), age number, status varchar(255), description varchar(255) );
    -- populate this tables with information.
    insert into rules
    select rownum id
    , 'Age > '||least(a,b)||' and Age < '||greatest(a,b) rule
    , 'Status = ''Valid'', description = ''Age in Range''' true_action
    , 'Status = ''Invalid'', description = ''Age not in Range''' false_action
    from (
    select mod(abs(dbms_random.random),60)+10 a, mod(abs(dbms_random.random),60)+10 b
    from all_objects
    where rownum <= 2
    insert into data
    select rownum, object_name, mod(abs(dbms_random.random),60)+10 age, null, null
    from all_objects
    commit;
    -- this is method #1, evaluate rule against every record in the data and do the action
    declare
    eval number;
    id number;
    data_cursor sys_refcursor;
    begin
    execute immediate 'alter session set cursor_sharing=force';
    for rules in ( select * from rules ) loop
    open data_cursor for 'select case when '||rules.rule||' then 1 else 0 end eval, id from data';
    loop
    fetch data_cursor into eval, id;
    exit when data_cursor%notfound;
    if eval = 1 then
    execute immediate 'update data set '||rules.true_action|| ' where id = :id' using id;
    else
    execute immediate 'update data set '||rules.false_action|| ' where id = :id' using id;
    end if;
    end loop;
    end loop;
    end;
    -- this is method #2, evaluate rule against every record in the data and do the action in update, not in select
    begin
    execute immediate 'alter session set cursor_sharing=force';
    for rules in ( select * from rules ) loop
    execute immediate 'update data set '||rules.true_action|| ' where id in (
    select id
    from (
    select case when '||rules.rule||' then 1 else 0 end eval, id
    from data
    where eval = 1 )';
    execute immediate 'update data set '||rules.false_action|| ' where id in (
    select id
    from (
    select case when '||rules.rule||' then 1 else 0 end eval, id
    from data
    where eval = 0 )';
    end loop;
    end;
    Here are SQL_TRACE results for method#1:
    call count cpu elapsed disk query current rows
    Parse 37 0.01 0.04 0 0 0 0
    Execute 78862 16.60 17.50 0 187512 230896 78810
    Fetch 78884 3.84 3.94 2 82887 1 78913
    total 157783 20.46 21.49 2 270399 230897 157723
    and this is results for method#2:
    call count cpu elapsed disk query current rows
    Parse 6 0.00 0.00 0 0 0 0
    Execute 6 1.93 12.77 0 3488 170204 78806
    Fetch 1 0.00 0.00 0 7 0 2
    total 13 1.93 12.77 0 3495 170204 78808
    You can compare this two methods using SQL_TRACE.

  • PeopleSoft - Backup and Restore scripts for PeopleSoft implementation using MS-SQL 2012?

    I am working for a county government as a consultant for PeopleSoft using SQL Server. When they restore a DEV instance from PROD, they have to manually stop the web server, app server and batch server, then they do the restore. Afterward they have to change
    all references to PROD in the cloned DEV instance. Everything is done manually and takes a couple of hours.
    Can anyone point me to scripts for PeopleSoft restores that automate bringing down/up the web, app and batch servers and all the other tasks so they don't have to be done manually?
    Life is hard, but it's harder when you're stupid! John 'Duke' Wayne

    This question should be posted on PeopleSoft support forum. That being said, a quick search on the internet will provide helpful links like below: http://www.erpassociates.com/peoplesoft-corner-wiki/peoplesoft-administration/cloning-a-peoplesoft-database.html
    Satish Kartan www.sqlfood.com

  • How to implement Fetch First (SQL Server) in PL/SQL

    I am in process of converting SQL 2000 database to Oracle 9i. OMWB has commented "Fetch First" as
    /*[SPCONV-ERR(60)] FETCH FIRST is not supported in Oracle. */.
    Is there any work around for FETCH FIRST ( SQL 2000) in PL/SQL?

    Fetch First returns the first row of a query.
    The options in Oracle are either to close and reopen the cursor, or download (cache) the cursor fetches into, for example, a PLSQL structure sych as an PLSQL collections (Index-by tables, Nested tables or Varrays), to be accessed later in any order that is required.
    See PL/SQL User's Guide and Reference Release 2 (9.2) Part Number A96624-01, for further details.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • SCD's implemention using T-SQL version 2005 (with out merge)

    Business logic:
    --we are quarterly updating data on table with respective of cus_ID’s
    --for your info, in a quarter Cus_ID transaction >80, then cus_ID is valid (pass)..in EXCEL extract date is nothing but every quarter starting date.
    Need to implement below logic:
    Quarter 1:
    1. Loaded 3 records in to the table in first quarter (1/1/2015), here cus_id(21) failed due to less transactions
    Quarter 2:
    We are again reran the data on the table. cus_id(21) passed so here we want to maintain old record history (21 failed and also 21 passed)and new inserted record. As well as have to update old record To_date (new record from date -1 day)
    Same thing applied for quarter 3 and quarter 4
    for your reference, 
    Thanks & Regards,

    Are you using BIDS?  Or just T_SQL?  If the former, use the SCD transformation, if the latter, please post:
    1. CREATE TABLE statements so we can see the schema of your tables
    2. INSERT INTO statements with sample data to populate the tables from step 1.
    3. THe query you have at the moment, so we can see where you work is at.
    4. the desired results, using a complete, correct query

  • Optional feature not implemented while using SQL server

    Hi to all
    I am using SQL server.
    I have written a stored procedure in SQL server and it is taking the datetime data type as one parameter.
    I have written the following java code to call that procedure.
    Calendar calendar= Calendar.getInstance();
    cs.setDate(4,new java.sql.Date(calendar.getTime().getTime()));
    cs.execute();
    waiting for reply.
    datetime is the 4th parameter.

    the question has been resolve.the datasource with excel is not schema!

  • How to implement this in SQL?

    Assure that there is table t1 with the following fields and values:
    Field1 field2 Field3
    A         B          10
    A        C      20
    And there is another table t2 with the following fields and values
    Field2
    B
    C
    D
    How to write a query to join the two tables with the following output
    A         B          10
    A        C      20
    A     D      NULL
    Thank you in advance
    Regards,
    Marser

    Assure that there is table t1 with the following fields and values:
    Field1 field2 Field3
    A         B          10
    A        C      20
    And there is another table t2 with the following fields and values
    Field2
    B
    C
    D
    How to write a query to join the two tables with the following output
    A         B          10
    A        C      20
    A     D      NULL
    Thank you in advance
    Regards,
    Marser
    Looks like you can achieve this by using LEFT JOIN, but have query in the logic( even though nothing is explained in the post), if the value is NULL for D, how the first column contains A? isn't is supposed to be NULL, or if it has some other logic, post it.
    Please use Marked as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • PL/SQL Ad-hoc Reporting Implementation Questions

    Recently, I have been put on a development team that is developing a small reporting module for one of our applications.
    I'm trying to mask the underlying structure from the application by having the application run PL/SQL procedures which return REF CURSORS to the client with the requested data. Right now I'm struggling with how to implement the PL/SQL in the best fashion.
    Since this is a reporting tool the user has many combinations of selections. For example at a high level this application has a combination of multiple dropdowns (4-6), radio buttons, and check boxes. As you can see this results in a high amount of possible combinations that have to be sent to the database.
    Basically, the user chooses the following:
    1. Columns to receive (ie different SELECT lists in the PL/SQL)
    2. Specific conditions (ie different WHERE clauses in the PL/SQL)
    3. Aggregate functions (SUMS, TOTALS, AVERAGES based on #1 and #2)
    4. Trends based on #3.
    So... with that said I see two possibilities:
    1. Create a static query for each combination of parameters (in this case that would most likely result in at least 300 queries that would have to be written, possibly 600+).
    The problem I see with this is that I will have to write a significant amount of queries. This is a lot of front end work that, while is tedious, could result in a better performing system because it would be a parse once, execute many scenario which is scalable.
    The downside though is that if any of the underlying structure changes I have to go through and change tens of queries.
    2. Use DBMS_SQL and dynamically generate the queries based on input conditions.
    This approach (possibly) sacrifices performance (parse once, execute once situation), but has increased maintainability because it is more likely that I'll have to make one change vice a number of changes in scenario 1.
    A downside to this is that, it may be harder to debug (and hence maintain) because the SQL is generated on the fly.
    My questions to all is:
    1. Which is the approach that would best manage maintainability / performance?
    2. Is there any other approaches to using PL/SQL as a reporting tool that I am not thinking of?
    The database is 10.2.0.3, and the 'application' is PHP 5.1 running on IIS 6.
    If you need me to provide any additional information please let me know.
    Thanks!

    Ref cursors are an ugly solution (different though in 11g).
    You build a dynamic SQL. It must/should have bind variables. But a ref cursor does not allow you to dynamically bind values to bind variables. You need to code the actual bind variables into the code as part of the open cursor command. And at coding time you have no idea how many bind variables there will be in that dynamic SQL for the ref cursor.
    The proper solution is DBMS_SQL as it allows exactly this. Also one of the reasons why APEX uses this for its report queries.
    The only sensible way to implement this type of thing in PL/SQL is by not trying to make it generic (as one could with DBMS_SQL). Instead use polymorphisms and have each procedure construct the appropriate ref cursor with bind variables.
    E.g.
    SQL> create or replace package query as
    2 procedure Emp( c in out sys_refcursor );
    3 procedure Emp( c in out sys_refcursor, nameLike varchar2 );
    4 procedure EMp( c in out sys_refcursor, deptID number );
    5 end;
    6 /
    Package created.
    SQL>
    SQL> create or replace package body query as
    2
    3 procedure Emp( c in out sys_refcursor ) is
    4 begin
    5 open c for select * from emp order by 1;
    6 end;
    7
    8 procedure Emp( c in out sys_refcursor, nameLike varchar2 ) is
    9 begin
    10 open c for select * from emp where ename like nameLike order by 1;
    11 end;
    12
    13 procedure EMp( c in out sys_refcursor, deptID number ) is
    14 begin
    15 open c for select * from emp where deptno = deptID order by sal;
    16 end;
    17 end;
    18 /
    Package body created.
    SQL>
    SQL> var c refcursor
    SQL> exec query.Emp( :c, 'S%' )
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print c
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 1980-12-17 00:00:00 800 20
    7788 SCOTT ANALYST 7566 1987-04-19 00:00:00 3000 20
    SQL>

  • Backing Up to disk in SQL Server 2005 - New Implementation

    Hi There,
    My company are implementing SAP with SQL Server 2005.  I have the responsibility of creating the backup strategy.  We will not be using Tape Media to back up - all our backups are carried out to DISK (SAN).
    Please can anyone state the recommended way to do this i.e. through the SAP DBA Calendar or through SQL Studio Manager.
    My experience is with SQL and i have been trying for the last few weeks to implement a strategy through the SAP DBA calendar.  However i am finding it very difficult to administer this way because there are limited options on the DBA calender i.e to overwrite files, delete old files, date name files etc.  From what i have seen the DBA calendar would only be successful usind backup tape media.
    Please can anyone recommend anything or give experience of how they have dealt with this situation before and weather you implemented through SAP DBA Calender or the Studio.
    Many Thanks
    Jamie Blake
    DBA

    HI,
    configure backup devices on MS SQL Server management Studio,
    logon to SQL server management Studio,
    under object explorer navigate through server object -> backup devices
    create new backup device -- destination file type.
    when you schedule backup using DB13  it's take the backup on this location ( disk )
    regards,
    kaushal

  • Problems implementing java.sql.ResultSet on AbstractTableModel

    Hi java Gurus !!
    I have a trouble implementing interface java.sql.ResultSet on javax.swing.table.AbstractTableModel. The AbstractTableModel class defines a method like
    this:
    int findColumn(String column)
    while the java.sql.Resultset defines a method as follows:
    int findColumn(String column) throws SQLException.
    the compiler gives me the following error:
    "Error #: 462 : method findColumn(java.lang.String) in class inducontrol.Untitled1 cannot override method findColumn(java.lang.String) in class javax.swing.table.AbstractTableModel, overridden method does not throw java.sql.SQLException at line 213, column 14
    How can I solve it?
    thanks a lot !!!!

    Hassen is correct, it seems that you mix two different things.
    Can you show code excerpts so we can give you some tips ?

Maybe you are looking for