Recent IT Questions

1 - 11 of 11
<<PREVIOUS 1 NEXT>>

ORA-01031 Insufficient privileges

I am trying to generate FK on table in schema A, which is the reference of PK on another table in schema B. The owner of schema A is also a DBA. It gives an error ORA-01031 Insufficient privillages

View Answer   |  Jun 16 2009  6:51 AM GMT
ORA-01031, Foreign keys, Primary keys
asked by SRDBA

  5 pts.

A report that works in Crystal Reports client does not work in CMC

Oracle10g / Crystal Reports XIR2 / Central Management Console (CMC) Our Crystal Report fetches the last one week's data from a big table. This report runs weekly, once. To tune this report, we created another table to maintain the primary key value(numeric sequence), of the latest viewed record....

asked by Alienzaway

  5 pts.

Plausability of natural key as primary key

If you have a field in a table that is a natural key and meets all the criteria for a Primary key, is it advisable to use that natural key as your Primary? Or is it a better idea to assign a surrogate key (i.e. autonumber for TrainingProgramID instead of using TrainingProgramName)? Thanks in...

View Answer   |  Mar 31 2009  12:08 AM GMT
Primary keys, Natural Keys, Surrogate Keys
asked by Bdpowell

  25 pts.

Microsoft Access linking

Hi, I have a database in access which has a main table and a products table. They are linked by a customer I.D. field (Primary Key). I have 2 forms one is the customer form and one a products form there is a button to open the products form from the customer form. I would like to be able to open...

asked by Donb52

  25 pts.

Adding an index on fields in a SQL Server table

I have a massive customer table. The ID is the primary key and thus SQL Server makes a clustered index on that. There is no other index on the table. Can I add an index on fields like age, country and gender to make the results faster?

asked by SQL Server Ask the Experts

  2420 pts.

designing indexes

I have a question regarding database design. Lets assume that there is a table with 10 columns. I don't have any single column which I can choose as candidate for Primary key. Though, combination of 5 columns can uniquely identify records. Here, I created an identity column as a PK and added...

View Answer   |  Oct 14 2008  3:31 PM GMT
Database design, JOIN statement, Primary keys
asked by Sqloholic

  25 pts.

Writing a specific query involving primary keys in SQL

I need to write a query in SQL that will get the fifth-from-last record from my database when either a primary key is defined or no primary at all is defined. How would this query look?

View Answer   |  Sep 11 2008  5:51 PM GMT
SQL, Query, Primary keys
asked by SQL Server Ask the Experts

  2420 pts.

Overlapping data on a merge replication between three SQL Servers

We have a merge replication between our three SQL servers at three different locations. One is the publisher and two are subscribers, and we have a primary key on a table (a unique field with is auto-incremental by one). On the publisher’s server, if the user creates a new order, the table...

View Answer   |  Aug 19 2008  8:04 PM GMT
Merge replication, Primary keys
asked by SQL Server Ask the Experts

  2420 pts.

Error In SQL SERVER DataBase

am trying to insert four varchar(50) values in a table which is with a primarykey column id_number. i didnt check : "True" to the null field . so it should not allow null values in table. but while am trying . it allows null values. including primary key column. how is possible ? pls help me....

View Answer   |  Jul 24 2008  9:41 AM GMT
Visual Studio, Database programming, SQL Server errors
asked by SrimanBenivolent

  5 pts.

Including a primary key in a nonclustered index in SQL Server 2005

The query optimizer for SQL Server 2005 is suggesting that we include a primary key as part of a nonclustered index. Is it OK to include that to increase SQL performance?

View Answer   |  Jul 2 2008  5:36 PM GMT
SQL Server 2005, Index, Primary keys
asked by SQL Server Ask the Experts

  2420 pts.

Oracle Application Express Item

I have two tables with parent-child relationship. Is there a way to automatically populate the foreign key field of the child table with the exact data from the primary key of the parent table?

View Answer   |  Apr 8 2008  1:04 PM GMT
Oracle, Database, Primary keys
asked by Rwy

  15 pts.

1 - 11 of 11
<<PREVIOUS 1 NEXT>>