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

Table Partitioning - Filegroup & Files

Hi, I am designing 5 Tables, all of them will be partitioned on a common Partitioning Scheme and Function (one table is Parent and all 4 are child tables so have the PK's and  FK's in place to have...

View Article


Which data type is used to store RTF Data

hi there I am using sql 2005 & vb.net .I want to store richtextbox (rtf) data into my sql 2005 database.Please suggest me which data type field is best to store rtf data.Thank's and Regard's

View Article


Image may be NSFW.
Clik here to view.

Setting Table DataTypes

Hi,I am looking for opinions/suggestions on my below database structure. I have 3 tables so far... Section, SubSection, SubSectionItems.SubSection has a FK relationship with Section, and SubSectionItem...

View Article

changing a trigger into a store procedure

I have a trigger in SQL, it does what i want but created a time out error. It slows everything down. I thought if i created a strored procedure instreat to go 2 times a day this might be better. does...

View Article

set a default as a value from a different columns

I have a table in SQL. I would like to set one column to have a default to what has been entered in a another column in the same row.for example if my "cost" is "5" I want "cost A" to automaticaly have...

View Article


Horizontal vs Vertical table design for multiple business keys

A colleague of mine really, really wants a vertical table design for this particular table in question, but I need some help understanding the benefits as right now it seems more trouble than it is...

View Article

Does Normalization decrease performance

Hello all I have a question regarding Database Normalization. What is the impact of Normalization on Performance? Does Normalization decrease or increase performance? Please help me find answers for...

View Article

Dividing SQL database for different information storage

I’ve created the database with the table names for the user information like this:DELETE TABLE [dbo].[p_Products]; DELETE TABLE [dbo].[p_ProductsInCategories]; DELETE TABLE [dbo].[p_Categories];Lets...

View Article


Clustered Index

Is it possible to add clustered indexes into an existing database?we have some SQL Azure databases that we want to move back to a on premise sql server.When we run the Export Data Tier Application...

View Article


Database Strategy Question

Please let me know if this is not the right location to ask this question.  I am a developper and spend most of my time in Microsoft Visual Studio, and not enough time inside of SQL server.Here is the...

View Article

Remove scientific notation from xml column

I have a xml column as shown below<Root><Row><Rowid>1</Rowid><date>2013-05-06</date><Balance>1.0002E7</Balance></Row></Root>When i query for...

View Article

Schema Design

Hello,I am trying to create new Database(s) and corresponding tables to store runtime data from a User interface tool. The data is all about a Environmental control system being built in a data center....

View Article

Image may be NSFW.
Clik here to view.

Normalization (Design)

Hi,As far i understood about normalization i put effort to understand more clearly so i did the attached relationships between tables.Please refer to the attachment and correct me if i did anything...

View Article


What are the stages in Data Modeling?

What are the stages/steps in Data Modeling?Can some one tell me the answers?

View Article

ADVANCED CHECK CONSTRAINT IN SQL SERVER

Hello!I'am doing an application, for paiement. I've choosen to use SQL Server to resolve what MYSQL, SQLite, DB2, Protesql were unable to do, in fact using CHECK constraint.Is there any way to use...

View Article


database backup file location settings

Hi Everyone, This must be a silly question and I think I just want confirmation. I can't find (or I'm not searching with the right keywords) the documentation for it. I get a backup file from a remote...

View Article

Error run script create mail profile.

Msg 15466, Level 16, State 2, Line 1 An error occurred during decryption. Msg 14607, Level 16, State 1, Procedure sysmail_verify_account_sp, Line 42 account name is not valid

View Article


change of structure after using sql server query profiler wizard

Hi all, it seems that after using sql server query optimizer wizard my table has changed of structure and has been converted to a index organized table, is it possible?I mean after using the wizard and...

View Article

How to auto generate unique varchar value while inserting data into table

HiiHow to auto generate a primary key varchar value while inserting data into a table in sql server 2008...Please help me to know.....Thanks in advance...

View Article

How to truncate a table with specific records

HI Everyone,I got a question that Can I truncate specific records only from a table.We can do that by using delete right??delete from tawhere c=1But i need to do this using truncate command..Is there...

View Article
Browsing all 2729 articles
Browse latest View live


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