Help with table scan

I have a problem with full table scans that make very slow the performance of a report.
The test case is below. It looks that when the column is called from the table, the index is in use. If I use the same select from the view, then I get a table scan.
I would appreciate any idea on how to optimize it.
Thanks a lot for the help.
mj
<pre>
create table test1 (id1 number , id2 number, id3 number, col1 varchar(10),col2 varchar(50), col3 varchar(100));
create table test2 (id4 number , id5 number, id6 number, col4 varchar(10),col5 varchar(50), col6 varchar(100));
ALTER TABLE test1 ADD CONSTRAINT PK_test1 PRIMARY KEY(ID1) USING INDEX REVERSE;
create index index1 on test1(ID2);
create index index2 on test1(ID3,col2 );
ALTER TABLE test2 ADD CONSTRAINT PK_test2 PRIMARY KEY(ID4) USING INDEX REVERSE;
create or replace view test_view as select t1.*,
case (select t2.id4 from test2 t2 where t1.id2 = t2.id5 and t2.id6 = -1)
when t1.id2 then t1.id3
else t1.id2
end as main_id
from test1 t1 ;
create or replace view test_view2 as select * from test_view; --(requred by security levels)
select * from test1 where id2 =1000;
select * from test_view where id2 = 1000;
select * from test_view2 where id2 = 1000;
SQL> select * from test_view where id2 = 1000;
Elapsed: 00:00:00.00
Execution Plan
Plan hash value: 1970977999
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 125 | 1 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL | TEST2 | 1 | 39 | 2 (0)| 00:00:01 |
| 2 | TABLE ACCESS BY INDEX ROWID| TEST1 | 1 | 125 | 1 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | INDEX1 | 1 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("T2"."ID5"=:B1 AND "T2"."ID6"=(-1))
3 - access("T1"."ID2"=1000)
SQL> select * from test_view where main_id = 1000;
Elapsed: 00:00:00.03
Execution Plan
Plan hash value: 3806368241
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 125 | 4 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL | TEST2 | 1 | 39 | 2 (0)| 00:00:01 |
|* 2 | FILTER | | | | | |
| 3 | TABLE ACCESS FULL| TEST1 | 1 | 125 | 2 (0)| 00:00:01 |
|* 4 | TABLE ACCESS FULL| TEST2 | 1 | 39 | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("T2"."ID5"=:B1 AND "T2"."ID6"=(-1))
2 - filter(CASE WHEN "T1"."ID2"= (SELECT /*+ */ "T2"."ID4" FROM
MJ42."TEST2" "T2" WHERE "T2"."ID5"=:B1 AND "T2"."ID6"=(-1)) THEN
"T1"."ID3" ELSE "T1"."ID2" END =1000)
4 - filter("T2"."ID5"=:B1 AND "T2"."ID6"=(-1))
SQL>
</pre>

If you think about what the two queries are doing, it is easy to see why the first uses an index and the second does not.
Your first query:
SELECT * FROM test_view WHERE id2 = 1000explicitly uses an indexed column from test1 in the predicate. Oracle can use the index to identify the correct row from test1. Having found that single row in test1, it uses the FULL SCAN test2 to resolve the case statement.
Your second query:
SELECT * FROM test_view WHERE main_id = 1000uses the result of the case statement as the predicate. Oracle has no way of determing what row from test1 to use initially, so it must full scan both tables.
John

Similar Messages

  • Help with tables (should be simple...)

    I'm trying to use a Table component as a spreadsheet template in my app:
    I'd like the first column to be static-y labels (such as Sunday, Monday, etc.) and the rest of the columns to be bound to a relational data source. I thought that I could just create a simple String array of labels in the session bean and then wrap that array with an Object Array Data Provider on the page and bind the table column to the Object Array Data Provider. Doing this doesn't give me the desired/expected results, namely the first column displaying the labels. What am I missing? I can't seem to visually wrap an Object Array Data Provider around anything other than a bult-in DataType array (String, Integer, etc.) and the only properties of the String array that I can choose from for the column are CASE_INSENSITIVE_ORDER, bytes and empty??
    Thanx in adv.
    -Jake

    I cross-posted and received a reply on the Netbeans - J2EE Nabble forum: http://www.nabble.com/help-with-tables-%28should-be-simple...%29-tf3574200.html
    Essentially, the reply points me to this Tutorial Diva article:
    http://blogs.sun.com/divas/entry/using_the_object_array_data
    Parenthetically, what are are the audiences of the Nabble forum vs. this forum? It seems (to me at least) that there is a lot of overlap in the Creator/VWP topics. Which forum is more active? Does anyone find that the Creator audience is migrating to the Netbeans VWP forum? I seem to be getting better responses to my queries on that forum, but that may be due to the nature of my (admittedly newbie-ish) posts.

  • Beginner Web Design help with tables

    For my college Web Design course we are building a basic website using tables and basic coding. Right now I am trying to align this img with the text on the left. The width of the outer table is 1024px and everytime I try and add the img into its own <td> it pushes outside the outer table. I would add screenshots of the code and css, but for some reason it isn't allowing me to insert images into the post.

    SnakEyez02 wrote:
    I don't agree 100% with previous comments made about tables because they are still relevant for email layouts due to archaic applications like Outlook using the brilliant "Word" rendering engine or Google disabling CSS in the header for GMail. 
    Hear, hear!!
    I have never bought into the nonsense about how tables should be used for tabular data only. Adobe has been touting the power of tables as layout tools for as long as I can remember, and still are: http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7da3a.h tml (Although the wording has been toned down some).
    DIV/CSS based layouts were not a part of my workflow until a couple of years ago. At that time, my plan was to make the switch from table based layouts (which already used a fair amount of CSS) to strictly DIV & CSS layouts. That’s when I discovered that Outlook and Gmail were unable to render DIV & CSS based newsletters. When I studied the newsletters of the industry leaders, and realized that almost all of them use tables with inline styles, I decided to put my workflow switch on hold.
    While all of my mobile work is strictly HTML5 (DIV’s & CSS), I have given clients the option to go with either CSS or table based layouts for their websites. Most choose table layouts. Design migrations from Photoshop to Dreamweaver are 10 times faster with tables, with little to no CSS hacks, and far easier to maintain than the purists are telling you. This makes table layouts less expensive in the short and long run.
    As far as SEO is concerned, Google doesn’t care either way: http://www.youtube.com/watch?v=fL_GZwoC2uQ
    With all of that said, the W3C is planning on having the HTML5 recommendation finalized by 2014, at which time it should be completely stable and away from the bleeding edge. And while it is my hope that I will be done with table based layouts by then, I do not feel it is right that Adobe should make that choice for me by continuing to remove critical table, image, and text based tool sets from Dreamweaver. If for nothing else but newsletter design and development, we need those tools back.

  • I need your help, with table

    Hi experts,
    I have a problem with table in sapnetweaver, and want to ask all of you , that is : I want to set a column of a table with 3 rows, one is textview, one is editfield, and the last one is combobox, how can i do that.
    Thank you for your attention,
    looking forward to hearing from you soon.
    Chau.

    Hi,
    For NWDS 7.0 version,this feature is available.
    You can use difference cell editors in the table  column for different
    table rows.
    How to create this:
    Step1>in the outline create one table column.
    step2>Rightclick on table column select "Insert CellVarient".
    Step3>You will get a popup with 3 choice.Select TableStandardCell.
    and give some name.
    Step4>Rightclic on TableStandardCellVarient,then select InsertEditor.
    In this editor you can able to select one newelement(i.e textview/image/
    InputField.........etc)
    Like this you can insert multiple Cellvarients(1.Image,2.Ifld..etc) to the single Tablecolumn.
    Regards,
    Lavanya.G

  • Help with table calculations

    Hi, all, I am working on a form that was previously made in Excel. I wanted to remake this in an expandable pdf fillable so that I can add the accessibiltiy information to the form. The first link is to the static pdf converted from Excel here:
    https://acrobat.com/#d=lIGyn*lpuWSQ-Qzkklml6w
    The second link is the the form as my strained brain has recreated it. I'm sure there is probably a better method than I have chosen and I am open to all suggestions. But I can't get the table to total.
    In the first table, all the calcs work correctly, ie 11, 12, 13, 14 and the total from 14 does show up in 15. but I need 17 to show the amount after the Discount (#16) is deducted. You would think something simple would do the trick, like SubTotal - Discount. That doesn't work.
    Column 19 should total in the footer row next to 21. It doesn't. And column 23 should total into space #24. I have been trying for hours at a time to come up with the magic script to make this form work but......now I've decided to grovel for help.
    https://acrobat.com/#d=mzovRUkKit7JnPVebPKgZw

    Hi,
    Here is your form back to you: https://acrobat.com/#d=a06D-SL7SK58ZulXCKNSuw. Please note that all of the scripts are FormCalc, as we are using the sum function and the wildcard. Neither of these will work in JavaScript.
    Have a look at this post on how to reference objects, in particular the deomonstration of Control+Click:
    http://www.assuredynamics.com/index.php/2011/05/som-expressions/
    Also with buttons with linear gradient I would change the click behaviour from Inverted to Outline or None. It will be a little easier on the eyes. I have changed the two Add buttons. Also I think that you are getting in to readibility issues with the contrast between the button background and the black caption. I would recommend a read of this post, which outlines an approach to primary buttons (like the add rows) and secondary buttons (like the delete rows):
    http://www.assuredynamics.com/index.php/2010/12/buttons/.
    Maybe this discussion on colours:
    http://www.assuredynamics.com/index.php/2011/02/any-colour-as-long-as-its-black/
    Hope that helps,
    Niall

  • Need help with Table of Content

    Hi,
    I have recently started working with Robohelp 7. I just
    completed my first project working with the tool. This project has
    several Topics, and each topic has sub-topic under them. When I
    generated the html files, I had given the Introductory sub-topic as
    the default topic.
    Now after the files are generated, I cannot open any other
    topic in the table of content until I expand the topic containing
    the default sub-topic. This issue is basically with Firefox
    browser. It seems to work well with Safari. IE anyways opens the
    folder containing the default topic.
    I am not sure if any other user have faced similar problems?
    Would like to hear from you guys too.

    Welcome to the forum
    Whenever you install new software, check for updates before
    starting work.
    Go to Help | Updates and apply both patches.
    Regenerate your help and try again. It should be OK.

  • Need help with table partitions

    Hi all,
    I'm new at partitions and tablespaces and I've been asked to create a partition for a table. First off, here's a sample table that I have.
    create table M_TRANS  (
       TRAN_ID NUMBER,
       MONTH_KEY INTEGER,
       ACCOUNT_KEY INTEGER,
       ACCOUNT_NUMBER CHAR(8),
       LINE_KEY VARCHAR2(40),
       SERVICE_TYPE VARCHAR2(10)
    )I need to create a range partition based on Month_Key and list sub-partition based on last char of Line_Key.
    MONTH_KEY has a data format of "YYYYMM" (200802).
    LINE_KEY's last char should be in 0-9 / A-Z. 1 partition for each number 0-9 and 1 partition for alphabet values.
    Upon reading articles, samples on this particular subject, I came up with this...
    create table M_TRANS  (
       TRAN_ID                    NUMBER,
       MONTH_KEY            INTEGER,
       ACCOUNT_KEY          INTEGER,
       ACCOUNT_NUMBER       CHAR(8),
       LINE_KEY             NUMBER,
       SERVICE_TYPE         VARCHAR2(10)
    PARTITION BY RANGE(MONTH_KEY)
    SUBPARTITION BY LIST (LINE_KEY)
    SUBPARTITION TEMPLATE(
    SUBPARTITION P_0 VALUES 1 TABLESPACE TS_0,
    SUBPARTITION P_1 VALUES 2 TABLESPACE TS_1,
    SUBPARTITION P_2 VALUES 3 TABLESPACE TS_2,
    SUBPARTITION P_3 VALUES 4 TABLESPACE TS_3,
    SUBPARTITION P_4 VALUES 5 TABLESPACE TS_4,
    SUBPARTITION P_5 VALUES 6 TABLESPACE TS_5,
    SUBPARTITION P_6 VALUES 7 TABLESPACE TS_6,
    SUBPARTITION P_7 VALUES 8 TABLESPACE TS_7,
    SUBPARTITION P_8 VALUES 9 TABLESPACE TS_8,
    SUBPARTITION P_9 VALUES 0 TABLESPACE TS_9,
    SUBPARTITION P_AZ VALUES ('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z') TABLESPACE TS_AZ
    PARTITION M_JAN VALUES 'JAN'
    PARTITION M_FEB VALUES 'FEB'
    PARTITION M_MAR VALUES 'MAR'
    PARTITION M_APR VALUES 'APR'
    PARTITION M_MAY VALUES 'MAY'
    PARTITION M_JUN VALUES 'JUN'
    PARTITION M_JUL VALUES 'JUL'
    PARTITION M_AUG VALUES 'AUG'
    PARTITION M_SEP VALUES 'SEP'
    PARTITION M_OCT VALUES 'OCT'
    PARTITION M_NOV VALUES 'NOV'
    PARTITION M_DEC VALUES 'DEC'
    );The only problem is that since the MONTH_KEY has a format of "YYYYMM", how do I compare just the last 2 numbers. Same goes with the LINE_KEY.
    Can some help me? Thanks.
    Regards,
    A.Sandiego

    In 10g and earlier, you need to create separate columns for the last 1-2 characters and use those columns as partitioning keys.
    In 11g, you can use virtual columns:
    CREATE TABLE M_TRANS (
       TRAN_ID NUMBER,
       MONTH_KEY INTEGER,
       LINE_KEY VARCHAR2(40),
       MONTH_ONLY as ((month_key/100-trunc(month_key/100))*100),
       LAST_CHAR as (upper(substr(line_key,length(line_key),1)))
    PARTITION BY RANGE(MONTH_ONLY)
    SUBPARTITION BY LIST (LAST_CHAR)
       SUBPARTITION TEMPLATE (
       SUBPARTITION P_0 VALUES ('1'),
       SUBPARTITION P_1 VALUES ('2'),
       SUBPARTITION P_2 VALUES ('3'),
       SUBPARTITION P_AZ VALUES ('A','B','C')
    PARTITION M_JAN VALUES LESS THAN (2),
    PARTITION M_FEB VALUES LESS THAN (3),
    PARTITION M_MAR VALUES LESS THAN (4)

  • NEED HELP WITH TABLES

    Hi,
    I am working with two tables... Table1 is a history table and Table2 is current table which has only 2 rows...
    I am asked to write a procedure such that when ever a third row is inserted to Table2 then the 1st row in Table2 has to be moved to Table1....
    Both the tables have same attributes
    I know i have to use for loop on table2 and check for the number of rows and then move the 1st row to table1... but what i am not getting is how to move it to table1 and how to delete it in table2...
    Please help me out,,,
    Thank You for trying to help me.

    Then you can write something like this:
    SQL> create table t_history (id,description)
      2  as
      3  select 1, 'x' from dual
      4  /
    Tabel is aangemaakt.
    SQL> create table t_current (id,description)
      2  as
      3  select 2, 'y' from dual union all
      4  select 3, 'z' from dual
      5  /
    Tabel is aangemaakt.
    SQL> create procedure add_record
      2  ( p_id in t_current.id%type
      3  , p_description in t_current.description%type
      4  )
      5  is
      6  begin
      7    insert into t_history
      8    select min(id)
      9         , max(description) keep (dense_rank first order by id)
    10      from t_current
    11    ;
    12    update t_current
    13       set id = p_id
    14         , description = p_description
    15     where id = (select min(id) from t_current)
    16    ;
    17  end add_record;
    18  /
    Procedure is aangemaakt.
    SQL> exec add_record(4,'a')
    PL/SQL-procedure is geslaagd.
    SQL> select * from t_current
      2  /
            ID D
             4 a
             3 z
    2 rijen zijn geselecteerd.
    SQL> select * from t_history
      2  /
            ID D
             1 x
             2 y
    2 rijen zijn geselecteerd.
    SQL> exec add_record(5,'b')
    PL/SQL-procedure is geslaagd.
    SQL> select * from t_current
      2  /
            ID D
             4 a
             5 b
    2 rijen zijn geselecteerd.
    SQL> select * from t_history
      2  /
            ID D
             1 x
             2 y
             3 z
    3 rijen zijn geselecteerd.But if you take your profession seriously, I think you should persist to opt for the better solution: use a view.
    Regards,
    Rob.

  • Need help with tables beginner........

    can some one help me straightned out these errors, am trying to teach myself some sql for and am using my buddies school books. this is the problem.
    Create the following relations in SQLPLUS. The columns involved in composing the primary key for each table are marked with a *.
    * FACULTY (*fss_num varchar2(20), name varchar2(20), address varchar2(20), age number,salary number(10,2))
    * ATTENDS (*sss_num varchar2(20), *c_num number, sec_num number)
    * SECTION (*c_num number,*sec_num number,fss_num varchar2(20))
    * STUDENT (*sss_num varchar2(20), name varchar2(20), address varchar2(20), age number)
    * COURSE (*c_num number, cdesc varchar2(20), credits number, size_limit number)
    My solution: seems right am following another example but i get various errors.
    DROP TABLE ATTENDS;
    DROP TABLE STUDENT;
    DROP TABLE SECTION;
    DROP TABLE COURSE;
    DROP TABLE FACULTY;
    CREATE TABLE FACULTY
         (FSS_NUM      VARCHAR2(20) NOT NULL,
         NAME          VARCHAR2(20) NOT NULL,
         ADDRESS      VARCHAR2(20),
         AGE           NUMBER,
         SALARY           NUMBER(10,2),
         CONSTRAINT FACULTY_PK PRIMARY KEY (FSS_NUM));
    CREATE TABLE COURSE
         (C_NUM           NUMBER NOT NULL,
         CDESC           VARCHAR2(20),
         CREDITS      NUMBER,
         SIZE_LIMIT      NUMBER,
         CONSTRAINT COURSE_PK PRIMARY KEY (C_NUM));
    CREATE TABLE STUDENT
         (SSS_NUM      VARCHAR2(20) NOT NULL,
         NAME           VARCHAR2(20) NOT NULL,
         ADDRESS      VARCHAR2(20),
         AGE           NUMBER,
         CONSTRAINT STUDENT_PK PRIMARY KEY (SSS_NUM));
    CREATE TABLE ATTENDS
         (SSS_NUM      VARCHAR2(20) NOT NULL,
         C_NUM           NUMBER NOT NULL,
         SEC_NUM      NUMBER NOT NULL,
         CONSTRAINT ATTENDS_PK PRIMARY KEY (SSS_NUM, C_NUM),
         CONSTRAINT ATTENDS_FK1 FOREIGN KEY (SSS_NUM) REFERENCES STUDENT(SSS_NUM),
         CONSTRAINT ATTENDS_FK2 FOREIGN KEY (C_NUM) REFERENCES COURSE(C_NUM));
    CREATE TABLE SECTION
         (C_NUM           NUMBER NOT NULL,
         SEC_NUM      NUMBER NOT NULL,
         FSS_NUM      VARCHAR2(20) NOT NULL,
         CONSTRAINT SECTION_PK PRIMARY KEY (C_NUM, SEC_NUM),
         CONSTRAINT SECTION_FK1 FOREIGN KEY (C_NUM) REFERENCES COURSE(C_NUM));

    Hi,
    If you want to give Primary Key constraint for a column, no need to create NOT NULL constraint again for the same column.
    If you create Primary Key constraint for a composite column, only possible to create Foreign Key on the same composite column.
    Mistake.....if PRIMARY KEY(SSS_NUM, C_NUM), we should not either FOREIGN KEY(SSS_NUM) or FOREIGN KEY(C_NUM). We should create only like FOREIGN KEY(SSS_NUM, C_NUM).
    Regards,
    Sailaja

  • Need help with Tables Handling

    This is a tricky problem, maybe not for you guys, here it is:
    I have a table with 4 colums and N rows, i want to write data (int) on the 1st and 3rd columns and In the 4th column I want to show up the result of 1st X 3rd (1st times 3rd), I tried many times but so far I've got nothing good, some help would be appreciated, thank you! ; )

    I have a table with 4 colums and N rows, i want to
    write data (int) on the 1st and 3rd columns and In
    the 4th column I want to show up the result of 1st X
    3rd (1st times 3rd), I tried many times but so far
    I've got nothing good, some help would be
    appreciated, thank you! ; )Here you go:
    int n = 10; // number of rows
    int[][] table = new int[n][4];
    // 4th column from the first row = the 1st column multiplied with the 3rd
    table[0][3] = table[0][0] * table[0][2];

  • Newbie - Help with table please.

    I'm reasonably new to Dreamweaver (thus tables!), and would like some assistance with a current project.
    I have attached a screen grab of a cross section of a table I am working on.
    In the LH cell there is a horizontally centred image, and in the RH cell there is an image which occupies the whole cell.What I would like is some guidance on how to construct a menu bar which runs across the top of these cells, such that the menu headings are placed above the LH image (without moving the image placement) and over the opaque strip at the top of the RH image.
    This is probably very basic, but some help would be much appreciated. I'm using CS4.

    I'm reasonably new to Dreamweaver (thus tables!), and would like some assistance with a current project.
    The real question is how new are you to HTML and CSS.  If your answer is 'completely' then do yourself a favor and take a weekend to study the tutorials at http://www.w3schools.com.  You'll find that DW is ever so much easier after that.  And maybe even you'll reconsider having tables at the top of your list for layouts.
    I have attached a screen grab of a cross section of a table I am working on.
    Screen shots are nearly always useless (because we can only guess what you might have done) - the answers are in the code, since that leaves nothing to guesswork.
    However, in your case, the answer is (probably) clear. Just insert a NEW table above the one you show in your post.  Put the menu in that new table.  Whenever you need to change the cell configuration of a row or column, instead of messing with merges and splits (which ALWAYS cause you unexpected problems.  Just terminate the current table and start a new one with the desired cell configuration.

  • Need help with table, xml files, click actions and visibility

    Hi.
    I am new to adobe livecycle and I need some guidance in a problem that I am facing.
    I have an XML. The main tag 'employee' has 4 tags in it, name, age, ph# and address.
    Address tag has 6 more tags in it.
    I have to create a table which has 4 columns initially (all text fields). The rows are populated acccording to the XML.
    1. S. No., which increments according to row number.
    2. Name from XML.
    3. Age from XML.
    4. ph# from XML.
    When any S. No. is clicked on, it should display the address details below that row, when it is clicked on again, it should hide those details and the original table view should be restored.
    I googled a lot but am still not able to get how to do this.
    Please help.

    I created a sample for you with what I think you want. Here is a file and the associated XML that goes with it.
    Paul

  • Please help with canon scaner driver

    i'm trying to install my scaner but the drver seems to nor work (not universal)... so i try to downloand a newer version from canon. but the downloads for mac are .bin format ... at the end a have just a with page that any app. recognize.
    please help if anyone has a tip, i need to downloand ScanGear and CanoScan Toolbox.
    thanks to all,
    Henry

    i'm trying to install my scaner but the drver seems to nor work (not universal)... so i try to downloand a newer version from canon. but the downloads for mac are .bin format ... at the end a have just a with page that any app. recognize.
    please help if anyone has a tip, i need to downloand ScanGear and CanoScan Toolbox.
    thanks to all,
    Henry

  • Need help with vulnerability scanning & penetration testing

    I need help in finding tools which will allow me to scan for vulnerabilities, monitor access rights, run penetration testing and monitor user activity on sql server 2008. I do not want to spend too much money so please suggest some inexpensive yet reliable tools.
    Thanks in advance
    _Justin

    I need help in finding tools which will allow me to scan for vulnerabilities, monitor access rights, run penetration testing and monitor user activity on sql server 2008. I do not want to spend too much money so please suggest some inexpensive yet reliable
    tools.
    You are addressing a whole lot of different areas. Obviously there is no tool that does all that.
    Some have been mentioned.
    The term Monitoring User Activity is a bit problematic in that sense, that this can be everything and would produce huge traces and overhead. You probably want to focus on certain actions. For that you can in fact SQL Server’s
    built-in Auditing (technet.microsoft.com/en-us/library/dd392015%28v=sql.100%29.aspx )
    For penetration testing there are again different levels. If you are running a website with SQL Server as the backend you can use
    sqlmap for example which runs different SQLInjection attacks. Also you can use the
    metasploit framework for even more attack techniques involving the network.
    And then there are different tools that run automated brute-force attacks against SQL Server, which I won’t name specifically here. In the end penetration testing is a form of hacking, and I don’t like to advertise special techniques ;-)
    If you want to get an idea of what kind of security exploits are possible on what layers, you can check out this list which I have on my site for my sessions on “Hacking
    SQL Server”:
    www.insidesql.org/blogs/andreaswolter/2013/07/security-session-sql-server-attack-ed
    The majority of the attacks I do manually – there is not tool on the market that has every technique built-in. And since you want to make sure that your pen-test result are valid, you do not want to rely on just one arbitrary chosen tool
    which may (and most probably will) miss a technique a skilled attacker knows. The least you want, is a
    false feeling of security. On the other hand you will always have to live with some level of compromise – you just should know about it and have it documented and be ready to defend your approach.
    PS: Ouch - What kind of an old thread have I just replied to .... why was it on top anyways??
    :-D
    Andreas Wolter | Microsoft Certified Master SQL Server
    Blog: www.insidesql.org/blogs/andreaswolter
    Web: www.andreas-wolter.com |
    www.SarpedonQualityLab.com

  • Need help with tables in dreamweaver

    So I can insert a table in dreamweaver but fine tuning it is
    a problem.
    I cannot find how to access individual cell properties to
    apply borders on only the sides of the cells I want. Also I can
    configure the width of the columns only by dragging the divider
    left and right. It does not allow me to input figures anywhere to
    set column widths.

    To set the widths in the HTML, look in the properties panel
    and find the "cell" area near the bottom left. You can enter a
    pixel value there.
    To set borders for individual sides you should use CSS. Read
    up in the help section about external style sheets. You can also
    set your widths there if you like.

Maybe you are looking for

  • How Can I Play All Songs On My IPod Touch at Same Volume?

    I have an IPod Touch 5th Generation which I bought this year. I also have a 4 year old  Apple IMac desktop with ITunes version  11.0.4(4). I have the latest version of OS Mountain Lion. I sync songs from ITunes on my IMac desktop to the IPod Touch. S

  • Assigning a null value

    Hi , I have a consuming web service. Initially while sending a request I have to pass null value to certain parameters. But the parameters are of type string and Im unable to do this. I tried the syntax clear var with null, but this supports only cha

  • Satellite P10: blank screen

    I have just replaced my hdd and used recovery disks. All semed to install fine but when setting up Windows XP closed then screen went blank and now will not work at all? HELP ANYONE???

  • Touch and USB errors

    I'm having a synching problem. It gets partway through, progress stops, and then a dialog opens saying that the disc (ipod) can not be read from or written to. I am still getting information moved - most of my music and photos make it over. But video

  • Types of Exits

    Hi all, Can anyone provide details abt these types of exits please? 1)MENU EXITS 2)FUNCTION EXITS 3)TABLE EXITS 4)SCREEN EXITS 5)KEYWORD EXITS 6)FIELD EXITS If there are any more types of exits pls do mention. Thanks in advance.