Questions tagged [sql]

For questions about Structured Query Language (SQL), which is a language for querying databases.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Can OLTP be an option to mock my database in my CI Tests?

I am working on some .NET applications with a rest API. These comprise both .NET Core and .NET Framework applications. In the CI build process, unit tests are running on Azure Devops Server. My unit ...
0
votes
1answer
95 views

Azure DevOps Different Post Deployment script per environment

I have a visual studio database project being built and released through Azure DevOps. I need to execute a different post deployment for Dev vs. Prod. Is there a way to achieve this either through ...
1
vote
1answer
16 views

How many iops do I actually get in a General Purpose SQL Database in Azure?

I'm running a serverless SQL database in azure, taking a load from some data transformed by Databricks. Every time I try to write to the database the, IOPS percentage shows up as 100% which makes it ...
0
votes
1answer
32 views

How to incorporate containers into a standardized dev environment? [closed]

I'm currently working at a small company where we've had a lot of issues being on the same page with entity framework migrations and local databases. I want to start incorporating containers in hopes ...
1
vote
1answer
81 views

How to deploy SQL Script in DevOps culture and Rollback situation too?

How we can manage database part in DevOps environment/CICD pipeline, Here taking about the SQL Script. For Example any deployment where Insert and Update SQL's, If we setup in CICD pipeline then I ...
3
votes
1answer
223 views

SqlPackage.exe: Error SQL0: Required contributor with id 'id' could not be loaded

while trying to build dacpac using sqlpackage.exe, we are getting the following error Microsoft.SqlServer.Dac.DacServicesException: An error occurred during deployment plan generation. Deployment ...
4
votes
2answers
2k views

MSSQL and AD in a Docker Container

I am attempting to use Active Directory authentication with SQL Server on Linux running inside the official MSFT Docker container for MSSQL (https://hub.docker.com/_/microsoft-mssql-server) I am in ...
2
votes
1answer
111 views

Conditionally stopping SQL replication during deployment

The project that i recently started working on uses a dacpac to deploy / update a database in MS SQL Server. The database is replicated, whenever the dacpac contains modifications to any table, we ...
7
votes
1answer
2k views

Why is Prometheus not a good choice for data with high cardinality?

I have a background in relational databases and new to Prometheus. I wonder why Prometheus is not a good choice for high cardinality data? Why do I need to use low cardinality data? It's exact ...
3
votes
1answer
50 views

Is there a way to acquire metadata about an Amazon RDS database instance using only SQL?

For example, if I have a SQL Server instance in RDS, and I have only a connection string to connect to the server, is there a sproc or some pre-configured tables I can access via SQL on the instance ...
0
votes
1answer
325 views

How to filter ELB logs by today's date?

I've tried this query: SELECT request_timestamp FROM elb_logs WHERE date_trunc('day', request_timestamp) = date_trunc('day', current_timestamp) LIMIT 10 but it fails with: SYNTAX_ERROR: line 3:7: ...
3
votes
2answers
164 views

Git - Everyone Pushing to Same Branch in Different Files

Database team is implementing code changes, using Visual Studio SSDT database projects with Git source control. Everyone is pushing to main Release branch with code review (only 5 developers on the ...
2
votes
1answer
46 views

Is it possible to set up Microsoft Sql Server in a scalable way?

I am working on some architecture where we need to have a Microsoft Sql Server database that is scalable, with one writable master and many read-only slaves. Ideally I should be able to hit a load ...
12
votes
2answers
1k views

Separate SQL Server or just separate SQL Database for test and production?

I'm new to SQL Server, so this may be more of a SQL Server management question. I'm creating test and production databases for a service, and I imagine I'll be wiping the test database quite a lot. ...
4
votes
1answer
2k views

What are HiveQL limitations compared to SQL? [closed]

I'm aware that Apache Hive provides SQL-like interface to query stored data. So I would like to ask, what are the main limitation of Hive-based SQL-like compared to other relational SQL query ...