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

How to create a monthly summary of invoices

Hello,I have created a small vb.net app using sql server that creates and saves the daily invoices in the database. In this app I have created a report that user can select from any date to any date to...

View Article


Index - Whether or not my table should have one?

Hi,I have a typical DWH scenario of Source --> Destination ETL.During this ETL, there are some intermediate tables constructed and dropped. Source --> Stage1 ---> Stage 2.....Stage N --->...

View Article


T-Script Error on resetting Counter

Hello, When I run this T-SQL script that begins a dynamic way to create table partitions, I’m fine until the last step of resetting the Counter back to 0 and get that error. It seems syntactically fine...

View Article

Now Partitioning is set, can't create table, Msg 1921, Level 16, State 1,...

Hello, now that the data partition for tables in my database is set, code ran end to end without error, I go to create a table, and I get this error: Msg 1921, Level 16, State 1, Line 129 Invalid...

View Article

DB Design for Expense Tracker

Need to do DB design for expense tracker application currently we can add positive,negative items with their description. New functionality to be like to add filter individual items by type of record...

View Article


Storing List of Images in a SQL database table?

Hello, I'm working on my project in Asp.net C#, in the application i have a list of users that each of them has variable number of images = (list of images, List<Image>), now i want to store the...

View Article

Image may be NSFW.
Clik here to view.

newer version of Microsoft SQL Server Data-Tier Application Framework is...

Hi I am istallating SQL Server 2016 Sp2 enterprice Edition and SQL engine installation is fail on following reason .any one has idea would be greatly appreciated .I am not sure to uninstall SQL Server...

View Article

Enhance merge query performance

Hey folks, Looking for suggestions - We have multiple merge statements which are responsible for merging different tables in SQL Azure database. The source tables are truncated and feed daily and fed...

View Article


Database Modeling For GeoLocation Networking App

Hello, I am trying to create a Geo-Location networking mobile app DATA MODEL. I am not sure if i have covered all so wanted to get advice from experts who are data modelers...... I am evovling in...

View Article


Temporal Tables: Enforce Only Once-Daily Capture

I have a replication database that refreshes from an application system every 15 minutes, i.e., there's a 15 minute lag.  I have no control over this replication process as it is done by an 3rd party...

View Article

Add login user as AD user, Adding login as AD group not aprearing on...

Hi I Just add some AD group  , AD users to SQL server as a login account , assign DB read permissions.I cant find those uses through sys.database_principals  and it should recorded as Windows user,...

View Article

Database normalization and design issue

I am supposed to be designing a database from an order form that is in 1NF, another in 2NF, and 3NF however I have been given feedback that my project has not met the requirements of 1NF, 2NF or 3NF...

View Article

Test Environment and Production Management

Given Test/Dev environment, is there a typical tool or method that may be used to push database changes once validated to a Production database? I first thought the Migration Assistant might be useful,...

View Article


SQL Storing Data Geographically to satisfy different Countries GDPR requirements

I have an application that stores client data right now in one location in the U.S. I have a need to satisfy GDPR and security needs whereby our clients ( our clients are geographically dispersed (...

View Article

SQL Server Database Constraints Order

Hello everyone, I have an issue with some SQL Server 2017 database constraints. There are two constraints of the same type that are violated at the same time.Let's have the following table with data:|...

View Article


se

Hi,I have 10 table with millions of data i need to find the column name who which is having Text Datatypehow to find using sql Query?Thanks

View Article

How can we import the data form SQL_table to excel with using sp. The excel...

 <g class="gr_ gr_17 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="17" id="17">Hi ,</g>  How can we import the data form SQL_table  to excel with using <g...

View Article


Data Modelling

Can you design DB for <g class="gr_ gr_20 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" data-gr-id="20" id="20">following</g> application? Application...

View Article

SQL AG - when you restore a database do we have to take a steps in regards...

WE have a database 1 that is in a SQL Availability group.  If we want to restore database 1 do we have to remove it from the Availability group before we restore it? then readd this database 1 to the...

View Article

Error 1064: You have an error in your SQL syntax help!!

Hello. I am getting an Error which i do not understand, here is the error and the code:ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server...

View Article
Browsing all 2729 articles
Browse latest View live


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