define primary key & secondary key?
Answer Posted / chandrashekar
Secondary indices or secondary databases are used to access
a primary database by a key other than the primary key.
Recall that the Supplier Number field is the primary key of
the Supplier database. In this section, the Supplier City
field will be used as a secondary lookup key. Given a city
value, we would like to be able to find the Suppliers in
that city. Note that more than one Supplier may be in the
same city.
Both primary and secondary databases contain key-value
records. The key of an index record is the secondary key,
and its value is the key of the associated record in the
primary database. When lookups by secondary key are
performed, the associated record in the primary database is
transparently retrieved by its primary key and returned to
the caller.
Thaking You
| Is This Answer Correct ? | 17 Yes | 39 No |
Post New Answer View All Answers
what is nTier Architecture understanding what is Microsoft ASP.net, ASP and SQL understanding what is Web Application and eCommerce application understanding what is Unit, System, Regression, FAT testing ? Test Automation and Test Script Authoring
What u mean by infrgistics control (What is infrgistics Controls)?
Any one suggest me for Free ware (Opensource) Automation tool for regression testing.
Differentiate between hdam and hidam database?
Tell us the line of code webdriver driver = new firefoxdriver();.?
Tell me what is intellij?
Can you do without a framework?
Hi, Below is the code that i ran on selenium RC using eclipse IDE and java coding.: package source; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import com.thoughtworks.selenium.*; public class parameterized extends SeleneseTestCase { private Selenium browser; public static void main(String []args) { String arr[] = new String[5]; arr[0]= "bert"; arr[1]= "regular"; arr[2]= "copyonly"; arr[3]= "doert"; arr[4]= "inter"; parameterized obj = new parameterized(); obj.setUp(); obj.login_parameterize(arr); } @BeforeSuite public void setUp() { browser = new DefaultSelenium("localhost",4444, "*chrome", "http://goolge.com"); browser.start(); browser.open("http://goolge.com"); browser.waitForPageToLoad("30000"); browser.windowMaximize(); browser.open("/"); browser.click("gb_23"); } @Test public void login_parameterize(String[] arr ) { for(int i=0;i<=5;i++) { for(int j=0;j<=2; j++) { browser.type("//input[@id='Email']", arr[i]); browser.type("//input[@id='Passwd']", arr[i]); browser.click("//input[@id='signIn']"); browser.waitForPageToLoad("30000"); } } } public void EnterValuesIntoTextField_CheckWithGetValue() throws Exception { selenium.open("http://www.essaywriter.co.uk"); assertEquals("", selenium.getValue("id=textInput")); selenium.type("id=textInput", "Text In The Field"); assertEquals("Text In The Field", selenium.getValue("id=textInput")); } } When i ran this test i got an error which says: "Method login_parameterize requires 1 parameters but 0 were supplied in the @Test annotation." Any help is much appreciated. thank Gab
What are the most popular tools for automation testing?
Tell us the difference between assert and verify commands?
Where will you maintain information like url, login, password?
Please explain how to perform load-testing?
Do you know what is a xpath?
Give some examples for functional & regression test tools?
What is in-house tool?