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

Showing all temp tables in single table

Hello All,I have some temp tables in my query and I need to show all of them together in a single table.I need to sum all the tickets for each dept and showThe result should show all the teams even if...

View Article


Having Single table for multiple temp tables in sql

I have a procedure having 3 temp tables have same dept column and different measures as below Dept  Tickets d1 12 d2 13 d3 14 d4 15 d5 16 d6 17Dept Callsd112d213d314d415d516d617Dept...

View Article


Merge tables and view query issue

Hi Team,Currently i have created local database on the server and have setup merge query on the sql job, Data need to merge with cloud ERP database to Local Database (Only Few Tables), According to...

View Article

un able to create table grafically

 This backend version is not supported to design database diagrams or tables. (MS Visual Database Tools)

View Article

Recovery Pending

Date,Source,Severity,Message 02/07/2020 08:57:48,spid20s,Unknown,File activation failure. The physical file name "L:\LogFiles\Alerts_log.ldf" may be incorrect. 02/07/2020...

View Article


Image may be NSFW.
Clik here to view.

tempdb table Cannot delete files - file name is too long

Hi Im having issue with tempdb  temporary  tables  and unable to delete manually  due t long name . Any one can advise how to delete manually . 

View Article

Tempdb filling fast

Hi Everyone,Just want the guru's know that i am not a DBA in any sense and i am learning as i face the issues. Recently our tempdb is getting filled up very fast ( overnight) . Iran many sql to get the...

View Article

C# Exception Error SetParent failed for Table 'dbo.TableName'

I am using the following code to create a Table in an already existing Database using Microsoft.SqlServerObjectstry{Server srv =newServer("(LocalDB)\\MSSQLLocalDB");Database db =...

View Article


Deadlock in backup maintenance plan

I get occasional deadlock in my backup maintenance plan (which I inherited.)  The plan has three tasks in the following sequence: Clean Up History, Back Up Database (Full), and Maintenance Cleanup...

View Article


How to design two same pattern of table

I need two tables(reminder_msg_template and recall_msg_template) which have same pattern.Those two tables' format is like following.-------------------------------------message_no       INTmessage_body...

View Article

Database - Should I use "Boolean" or "Char" for Yes / No?

Currently, one of the fields in a table called is_required and the datatype is char (1).Field Name: is_required DataType: char (1)   Value: Y / NApplication Type: WinFormAll works fine until I create a...

View Article

Using two separate databases we are having difficulty in maintain referential...

Environment : SQL Server 2019 , Azure SQL database, Windows server 2019Question – In our software product, we maintain two databases, one is masters_database(20 tables) and the other is...

View Article

CELKO - do we want to use _ in the column names?

Hi,This is really a quick question - we'd like to standardize our column names in master tables across multiple databases. The question I have is - what is preferred for ISO standards and as a good DB...

View Article


Image may be NSFW.
Clik here to view.

How to design a table for man y to many relation

 I have list of term and its value. With this list of term there is associated year and value upto 10 years. The same scenario i have for two types new and used. The list of term and its value will be...

View Article

can a single page contain data for more than one object?

Hi,I know this is a simple question and may seem obvious to people who know but please could someone confirm...   Can a single page contain data for more than one object?From what I have read, my...

View Article


Are there any chance that rowversion / timestamp will be used up inside a...

Are there any chance that rowversion / timestamp will be used up inside a database ?and what will happen next ?

View Article

Need Query for Populating Junk Dimension

Hello Team,We have requirement to create dimension with six columns with all possible combination of TRUE and False. Can some one please provide sql query to populate the data into the dimension...

View Article


Does the Index Drop / Creates again after the Schema Migration from DBO to...

Dear Experts, I have recently have  a requirement where I need to trasfer the Schema from dbo to a Named schema. During the Planning I outlined few items like below, But got a question like does the...

View Article

Normalized database design vs Un-normalized database design or Keeping...

I am designing SQL database design for database. Database has around over 35 tables for a proposed system.After successful completion of system it is estimated that data will grow quickly. This system...

View Article

Design for dynamic Beat allocation

Hello, I am seeking some design advise on creating structure for dynamic beat allocation. We have an application where workers go to survey different homes in a specific region. The requirement is that...

View Article
Browsing all 2729 articles
Browse latest View live


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