Click here to Skip to main content
15,886,689 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL QUERY Pin
ritesh.gupta555525-Jun-13 2:55
ritesh.gupta555525-Jun-13 2:55 
QuestionSQL QUERY Pin
Dobrobit2-Apr-13 8:41
Dobrobit2-Apr-13 8:41 
AnswerRe: SQL QUERY Pin
David Mujica2-Apr-13 9:12
David Mujica2-Apr-13 9:12 
AnswerRe: SQL QUERY Pin
Corporal Agarn2-Apr-13 9:17
professionalCorporal Agarn2-Apr-13 9:17 
AnswerRe: SQL QUERY Pin
Richard Deeming2-Apr-13 10:40
mveRichard Deeming2-Apr-13 10:40 
Questionwhen use of index on view instead of table Pin
mhd.sbt2-Apr-13 7:01
mhd.sbt2-Apr-13 7:01 
AnswerRe: when use of index on view instead of table Pin
R. Giskard Reventlov2-Apr-13 7:11
R. Giskard Reventlov2-Apr-13 7:11 
Questionbenefit of cluster index on view in sql 2008 r2 Pin
mhd.sbt2-Apr-13 1:45
mhd.sbt2-Apr-13 1:45 
hi to all
i have a table that product ID is key and clustered .
i create this view on my table if i not use of cluster index on view whats happen?
SQL
CREATE VIEW View3 WITH SCHEMABINDING AS
SELECT ProductID, SUM(UnitPrice*(1.00-UnitPriceDiscount)) AS Price,
COUNT_BIG(*) AS Count, SUM(OrderQty) AS Units
FROM Sales.SalesOrderDetail
GROUP BY ProductID
GO
CREATE UNIQUE CLUSTERED INDEX iv3 ON View3 (ProductID)

note to this point that Product ID also Cluster index in base table
thanks for any help
AnswerRe: benefit of cluster index on view in sql 2008 r2 Pin
Simon_Whale2-Apr-13 1:56
Simon_Whale2-Apr-13 1:56 
GeneralRe: benefit of cluster index on view in sql 2008 r2 Pin
mhd.sbt2-Apr-13 5:16
mhd.sbt2-Apr-13 5:16 
QuestionDifference in Sum(column) between two tables Pin
Richard.Berry1001-Apr-13 3:45
Richard.Berry1001-Apr-13 3:45 
AnswerRe: Difference in Sum(column) between two tables Pin
David Mujica1-Apr-13 4:12
David Mujica1-Apr-13 4:12 
GeneralRe: Difference in Sum(column) between two tables Pin
Richard.Berry1004-Apr-13 8:05
Richard.Berry1004-Apr-13 8:05 
AnswerRe: Difference in Sum(column) between two tables Pin
Jörgen Andersson1-Apr-13 8:21
professionalJörgen Andersson1-Apr-13 8:21 
GeneralRe: Difference in Sum(column) between two tables Pin
Richard.Berry1004-Apr-13 7:34
Richard.Berry1004-Apr-13 7:34 
Question2pc in SQL server Pin
Soiraian31-Mar-13 6:21
Soiraian31-Mar-13 6:21 
AnswerRe: 2pc in SQL server Pin
RedDk31-Mar-13 7:44
RedDk31-Mar-13 7:44 
QuestionViews vs Tables Pin
Eric Whitmore29-Mar-13 4:50
Eric Whitmore29-Mar-13 4:50 
AnswerRe: Views vs Tables Pin
PIEBALDconsult29-Mar-13 5:37
mvePIEBALDconsult29-Mar-13 5:37 
GeneralRe: Views vs Tables Pin
Eric Whitmore29-Mar-13 5:47
Eric Whitmore29-Mar-13 5:47 
GeneralRe: Views vs Tables Pin
PIEBALDconsult29-Mar-13 6:21
mvePIEBALDconsult29-Mar-13 6:21 
GeneralRe: Views vs Tables Pin
GuyThiebaut30-Mar-13 5:29
professionalGuyThiebaut30-Mar-13 5:29 
GeneralRe: Views vs Tables Pin
PIEBALDconsult30-Mar-13 5:51
mvePIEBALDconsult30-Mar-13 5:51 
GeneralRe: Views vs Tables Pin
GuyThiebaut30-Mar-13 5:57
professionalGuyThiebaut30-Mar-13 5:57 
GeneralRe: Views vs Tables Pin
jschell30-Mar-13 12:46
jschell30-Mar-13 12:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.