Quantcast
Channel: Database Design forum
Browsing all 2729 articles
Browse latest View live

TOP COUNT ISSUE

Hi,I have a requirement in which i need to get the top 3 count of car model for each Car make. Please find the example belowi have four columns Car make, Car model, Red Color Count, Balck color...

View Article


error 824

2015-01-29 17:10:48.72 spid54      Error: 824, Severity: 24, State: 2. 2015-01-29 17:10:48.72 spid54      SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected:...

View Article


lock escalation on table with no key/index

Hi,I've got the table with single column only (int) and no indexes nor pk/uq, just auto-created statistics.now, in transaction, there is a command: SELECT <COL> FROM <TABLE> WITH (ROWLOCK...

View Article

Stored Procedure or Computed Column

This is a question of what is the best practice and best performance.I have inherited a database that contains data for turbine engines. I have found 20 data points that are calculated from several...

View Article

.mdf file is increasing..

Hello All, We have a database in production which is increasing in size daily. I am planning to add  new file on other which is having enough space and make it as primary the growth of the db will be...

View Article


Is it possible to add second mail profile to SQL Server Agent

We are using MSSQL 2008 enterprise version. We already have a mail profile "MailProfile1" which was configured on the SQL Server Agent Properties. Now we would like to add the second one "MailProfile2"...

View Article

What are the scale out strategies that wouldn't include replication?

We are using a database that handles mission critical live information. We are experiencing performance problems and we are looking to scale out the database. We are not interested in replication...

View Article

Rename a column on a table that has fulltext index on the renaming column

I have to rename a column on a table, which has an fulltext assigned to the specified column.Will this make the fulltext crash or in any other way have a effect to the fulltext search ???And/Or do i...

View Article


Database modeling question

Hi guys,I have a modeling question that I want to be reflected in Analysis Services tabular model.I have a fact table that has the student grades in each discipline. I want to add in my model the type...

View Article


create the ssis pacakges for cube.

   hi what type of ssis packages are  created  in ssas cube.  

View Article

[Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000)...

HiDECLARE@XMLA nvarchar(3000) ,@DateSerial nvarchar(35); -- Change date to format YYYYMMDDHHMMSS SET @DateSerial= CAST(GETDATE() AS DATE); --SELECT @DateSerial Set @XMLA = N'<Batch...

View Article

Changing the index type of primary key

Hi everyone,We have a table, which has one clustered index and one non clustered in index(primary). I want to drop the existing clustered index and make the primary key as clustered. Is there any easy...

View Article

Slow running query on heavily updating table

Hi,I am working on a live gps tracking project. The project is using SQL Server 2008 web edition. There are thousands of devices which are sending data packets in every 10 seconds or less depending on...

View Article


Create test database with stub of data from production database

Hello,I want to create a testdatabase on a developer laptop. The database is a copy from production, but it is too big for the laptop. Therefore I want to create the schema on the laptop and then...

View Article

Is it possible to add second mail profile to SQL Server Agent

We are using MSSQL 2008 enterprise version. We already have a mail profile "MailProfile1" which was configured on the SQL Server Agent Properties. Now we would like to add the second one "MailProfile2"...

View Article


How to create auto increment value in my column using identity ?

hi Team,I have an requirement where i create an auto increment value ,with my table columnCreate table Temp( DeptID int IDENTITY(1,1) PRIMARY KEY,Name varchar(50),Emailid nvarchar(50),Phone...

View Article

Enhancement suggestion

Given the tree structure in SQL Server Management Studio of<Server> Databases<Database Name>ProgrammabilityStored Procedures<List of stored procedures>Allow for user defined folders...

View Article


How To Make Full Join With 2 Tabel

hi all,i have 2 table like thisTypeTableTypeIDTypeName1T12T23T3 TestTableTableIDTestIDTypeIDResult1111021253236i want result like thisTestIDTypeNameResult1T1101T251T3NULL2T1NULL2T2NULL3T36i want to...

View Article

How To Make Full Join With 2 Table

hi all,i have 2 table like thisTypeTableTypeIDTypeName1T12T23T3 TestTableTableIDTestIDTypeIDResult1111021253236i want result like thisTestIDTypeNameResult1T1101T251T3NULL2T1NULL2T2NULL3T36i want to...

View Article

found pk with nonclustered in database, what could be the reason.

hi,   generaly people make pk with clustered index,i found one database pk with non clustured index , please tel me what could be the reasons.yours sincerley.

View Article
Browsing all 2729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>