Questions tagged [dac]

Questions utilizing the DAC tag are expected to relate to some aspect of Microsoft Data Tier Applications or DAC. Questions can include the DAC framework or DACfx, schema scripts from DACPAC, and combined data/schema scripts BACPAC. For questions about digital-analog converters, use [digital-analog-converter].

A DAC is a self-contained unit of deployment that enables data-tier developers and DBAs to package SQL Server objects, including database and instance objects, into a single entity called DAC package. Developers can build a DAC package using the Data-tier Application project system in Visual Studio, whereas SQL Server Management Studio (SSMS) users can extract a DAC and generate a DAC package file for an existing database.

A DAC package can be deployed to an instance of SQL Server to create a new DAC instance. The DAC deployment installs a new database on the instance, creates the database objects, and creates the logins associated with the users of the database. If a previous version of the DAC is already available, the DAC package can be used to upgrade the existing DAC instance to a newer version.

Questions utilizing the DAC tag are expected to relate to some aspect of Microsoft Data Tier Applications or DAC. Questions might also include related subjects such as the DAC framework or DACfx, as well as schema scripts known as DACPAC, and combined data/schema scripts BACPAC.

178 questions
2
votes
1 answer

STM32 TIM DAC and DMA

I want to offload the CPU of my STM32G491 by using the DMA function. I want to use the Timer 2 (TIM2) to generate four moments where a DMA transfer is needed. While doing so I can create two pulses in one period. The period, duty cycle, and the…
erwindenboer
  • 111
  • 1
  • 10
2
votes
1 answer

Migrating an existing SQL Server 2008 DB Schema into a VS2010 DB Project

I'm pretty new to the whole VS2010 DB Project game. Essentially I've been designing the database using the SQL Server Manager and my team decided that we wanted to use a DB project in VS2010 so we can manage the SQL in SVN. So, my question is --…
Bryan A
  • 3,598
  • 1
  • 23
  • 29
2
votes
1 answer

PCM device driver for raspberry pi

How to write a PCM codec device driver with long/short frame sync(Not I2S) in Raspberry Pi? I know how to write an Alsa sound architecture device driver with I2S(write a platform device driver and codec driver) but I suppose raspberry only supports…
2
votes
2 answers

STM32 F446RE simple DAC output; what am I missing?

Trying to get some simple DAC output before moving forward. Have a multimeter on the output A2 but this seems to never change from about 1V6 for whatever value I put into the DAC2 output function. #include "stm32f4xx.h" #include…
user50619
  • 325
  • 5
  • 14
2
votes
1 answer

Namespace name 'Dac' does not exist in the namespace 'Microsoft.SqlServer'

I'm trying to get DacFx (latest-v17.1) to work on a machine which has SQL Server 2014 and VS 2013. I tried manually referencing the dll's from the 140/dac/bin folder (I had installed the DacFx17.1 framework) in my console application. I also tried…
ajeesh k
  • 93
  • 8
2
votes
2 answers

STM32F3 DAC signal generation using DMA

I'm writing a program that is supposed to generate sine wave using DAC on my STM32f3Discovery board. I have it in several files, listed below. Utilities.h: #ifndef UTILITIES_H #define UTILITIES_H /** @brief Configure GPIOE, pin 9 (LED) as output…
Em Ka
  • 121
  • 1
  • 8
2
votes
1 answer

T-SQL Post-Deployment Script how to reference a variable

I'm deployng DACPAC with with the following post-deployment script1: ALTER DATABASE [$(DatabaseName)] MODIFY FILE (NAME = [$(DatabaseName)], SIZE = 100MB, MAXSIZE = UNLIMITED, FILEGROWTH = 20%) However, when I try to reference this…
WinBoss
  • 879
  • 1
  • 17
  • 40
2
votes
0 answers

Using SignalR with Data-tier Application Framework (DACFx): How to configure and control database changes

I'm trying to develop a workable CI/deployment process for an existing database and web application that uses SignalR. The application architecture is very complicated, with multiple components watching for changes on the database. I want to be able…
2
votes
1 answer

Sql Azure Database Backup and Restore using C#

I am working on Sql Azure Database Backup and restore functionality. Question: - Can we Backup more than one database into a single bacpac file using "Microsoft.SqlServer.Dac" - Can we read the bacpac file in our C# so that we can know which…
bhagirathi
  • 521
  • 6
  • 23
2
votes
0 answers

Could not deploy package : SQL server authentication SQL2014

I am trying to deploy a dacpac to SQL 2014 by code. It works perfectly with Windows Authentication, but when I use SQL server authentication I get the following error: Could not deploy package. Inner Exception: Unable to connect to target …
jjbaird
  • 31
  • 5
2
votes
1 answer

Get DataType of computed column from dacpac

When traversing a Dacpac via C# code, I am able to figure out which columns are referenced in a computed column (GetReferenced(Microsoft.SqlServer.Dac.Model.Column.ExpressionDependencies)), and what the expression for the column is…
2
votes
1 answer

How do you cancel and rollback an upgrade package after calling DacService.Deploy?

When deploying a supplied package to a database: DacServices service = new DacServices(connectionString); DacPackage dacpac = DacPackage.Load(dacpacPath); DacDeployOptions ddo = new DacDeployOptions(); ddo.BlockOnPossibleDataLoss =…
Alexandru
  • 12,264
  • 17
  • 113
  • 208
2
votes
2 answers

What's the intended method of migrating a database to an SSDT Data-tier Application?

I can't seem to find a straightforward treatment of this subject in the SSDT docs. Basically, I have a database that's been managed historically by checking raw sql files into folders in source control, and we're trying to adopt SSDT. We have a…
bwerks
  • 8,651
  • 14
  • 68
  • 100
2
votes
2 answers

Export Data-Tier Application with Data (bacpac) from a database that contains encrypted objects

I have a SQL Server 2012 Database project that I have been working on for deployment of our database. The dacpac deployments are working great but I have run into a roadblock when it comes to deploying data along with the schema. My plan was to…
1
vote
0 answers

STM32G474RE TIMER - DMA - DAC - Lookup table

I'm using an STM32G474RE board and experimenting using a timer as an interrupt to call the DMA controller - which I think indexes into an array which holds values for my Sine wave lookup table. I have all of this working using STMCubeMX and IDE. At…
om_kcin
  • 23
  • 5
1 2
3
11 12