Quantcast
Channel: Active questions tagged sql-server - Software Engineering Stack Exchange
Browsing all 30 articles
Browse latest View live

Relational integrity without relations

I have about 15 years software engineering experience, writing business software with relational databases. Mainly SQL Server and Oracle. I've always been of the opinion that you should define...

View Article



Should I avoid putting Id's in a contract/response model?

Here is the scenario:Let's assume that we have a Telephone and a Driver.Here is the definition of the classes (Pseudocode):Telephone:{ Id: number, [Unique] TelephoneNumber: string}Driver:{ Id: number,...

View Article

Syncing and matching local records to external database that behaves like a...

Black hole problemI am working on matching and daily syncing of our internal data records to an external database that behaves like a black hole, meaning, we cannot view nor extract any data from it...

View Article

Creating database connections - Do it once or for each query?

At the moment I create a database connection when my web page is first loaded. I then process the page and run any queries against that conection. Is this the best way to do it or should I be creating...

View Article

How to write robust or alternative to TSQL data processing routines in...

My company has a workflow that involves ingesting huge amounts of raw data from external sources into SqlServer and then interpreting and weaving that data into our own application tables. This weaving...

View Article


Where should linking tables be stored? [closed]

I have a system where properties can be stored, and linked with multiple other entities (each with their own schema). Let's say that Documents can be linked with Users and Assets. What is the best...

View Article

Is it recommended to use SQL Server as database for massively scalable...

Let's say you are planning to create a website of the scale of Facebook (If I am going to cite a website's name then why not Facebook?!). Is it recommended to use SQL Server as your database for such...

View Article

Sql Server: Compact and LocalDB Denali

Does anyone knows the differences between these ones? http://www.microsoft.com/sqlserver/en/us/editions/express.aspx (Look for CTP3 LocalDB in the...

View Article


multiple products db structure in mssql

I am looking for a better approach to add multiple products to my db.(things I have tried)Example 1[tableProducts - ProductId pk(ProductId,ItemCode,Price,ProductType)..][table 2Frame - ProductId...

View Article


How to filter and concatenate multiple sql files into one database [closed]

I have an issue where I have multiple databases from previous projects that I would like to combine into one large database. These databases are stored in .sql files. The issue is that I only need...

View Article

Table scaling with partitions or with separate databases?

Hypothesis: I have a table (named BigTable) which could experience 5,000,000 INSERTS per day (with possibly just as many SELECTs). Each row inserted is about 50kb.These daily INSERTs are split across 5...

View Article

How can we rollback a database synchronized over multiple systems?

On a mobile device, a set of operations has been saved in the local DB with a wrong date (because the system date was set in the future). Then the device regularly doing synchronisation with a server...

View Article

Should I store images in my database or file system in this application?...

I'm using ASP.NET MVC 4 and SQL Server 2012. I have no problem going for either of these solutions but I want to know which one would fit better in the particular application I'm creating now. I'm...

View Article


Mid-Large Asp.net MVC project: Storing images on filesystem or via SQL Server...

We have a ASP.NET MVC project with AngularJS and Entity Framework database-first, a news portal already in production for about a year. The project is mainly focused on providing content for users...

View Article

Is a series of OR or a single IN SQL statement better?

I'm using MS SQL 2008 R2. I have been using a series of OR and have an issue where my app periodically give the following error: Exception message: Timeout expired. The timeout period elapsed prior to...

View Article


Is it a good practice to write distinct queries in a single stored procedure...

I am going through the stored procedures written throughout our project and see that multiple distinct queries are written inside a single stored procedure and are called by passing different values to...

View Article

Polling versus push notifications

I have a hybrid web app for android. The webpage or website the app shows is in asp.net. The javascript for the webpage running in the webview of the app is sending out an ajax request every 10 seconds...

View Article


How to avoid data corruption with dual parent/child foreign keys

Imagine the following:Persons table: (Id, FirstName, LastName)PersonEmails table: (Id, PersonId, Address) (to allow a person to have multiple emails)Contacts table: (Id, PersonId, UnsubscribeAll)...

View Article

SQL as a means of avoiding "releases"

The system I'm working on started as a small training project within the company I work for but quickly caught interest from management as a means to help to standardize the existing excel-heavy...

View Article

PowerApps with SharePoint Versus ASP.NET core with SQL Server

I have around 6 years of experience in SharePoint, ASP.NET MVC, ASP.NET Core MVC & SQL Server. Now when I want to take a decision, if the project should be implemented using SharePoint/PowerApps or...

View Article
Browsing all 30 articles
Browse latest View live


Latest Images

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