Laden...
|
|
|
|
|
|
|
Question of the Day |
Today's question (by Steve Jones - SSC Editor): | |
Creating Statistics on XML | |
I have a table in SQL Server 2022 that is an XML data type. I have an index on this column and want to create statistics using CREATE STATISTICS for some of the data in the column. What should I do? | |
Think you know the answer? Click here, and find out if you are right. |
Yesterday's Question of the Day (by Steve Jones - SSC Editor) |
Full Text Editions In which editions can I use Full-Text and semantic search? Answer: In Enterprise, Standard, Web, and Express with Advanced Services only Explanation: You can use full-text and semantic search in all editions except basic Express. Ref: Features and Editions - Programmability - https://learn.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2022?view=sql-server-ver16&preserve-view=true#programmability |
Database Pros Who Need Your Help |
Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2019 - Administration |
The OS returned the error '(null)' while attempting 'DeleteFile' filestream.hdr - I have a SQL Server 2019 Enterprise Edition on CU 25. It has in-memory oltp enabled. I have a full and a diff backup I'm trying to restore under a new database name, followed by some log files. The full restores fine but then the diff throws this error and I can't find anything about […] |
SSRS Web Service URL - getting rid of HTTP - Not sure if this is the place to ask, but will give it a shot. We have an instance of SSRS 2019 running, and we connect to it via our Dynamics CRM (online version) - in this case via an IFRAME within a form. The report works, the issue is that some of the images […] |
SQL Server software and windows version compatibility level - Is there a specific platform or website where I can verify the compatibility between different versions of SQL Server software and Windows? For instance, I would like to check the compatibility of Microsoft Command Line Utilities for SQL Server, MS Report Builder, and MS SQL Server Management Studio. |
can I monitor auto stats updates through extended events? - We have pretty big tables very sensitive to stats with many updates. Our systems are complex with many places requiring explicit statistics updates and we want to monitor this to investigate potential SAMPLE updates overwriting FULLSCAN updates. We managed to catch all such updates through extended events by filtering on sp_statement_starting and sql_statement_starting but we […] |
Access Issues - We have a windows account that currently has access to half of the sql server machines.(Both RDP and SQLAccess) The rest of the servers we do not have both RDP and SQLAccess. Does this mean when our accounts were created in AD we were not assigned to all relevant security groups which allows us to […] |
SQL Server 2019 - Development |
timeout in vs for ssas tabular deploy is 0 but i still timeout deploying - hi we run 2019 std but i'm testing this on 2016. following some old notes and starting from the debug tab in vs, i picked options, went to bi developer and set the properties you see below. but i still get a timeout on each line of the process when deploying as shown in the […] |
Table variable declared within cursor persists across loop iterations - If you run this code it creates a 2 row cursor loop. Within the cursor the temp table @spec is declared and inserted into (as the output of a select). What was unexpected for me is in the second iteration of the loop the temp table contains 2 rows. The "solution" to this issue I'm […] |
Blocking question - Hi all, We have a SSIS package that does 2 things in parallel: moves data from one partition to another within the same table. First, it truncates destination partition, then selects from source partition and inserts to destination one. But my select process is blocking truncate process, and truncate in turn is blocking insert to […] |
SQL Azure - Development |
Performance - Experts, I am learning some skills so I can troubleshoot some performance-related issues. I have gotten good with some basics but when it comes to query which gets the data from tens of tables, I get lost, especially when I look at the execution plan. I am hoping if someone would give me some tips […] |
SQL Azure - Administration |
Looking for a Recommended Azure SQL Managed Instance Book - Can anyone recommend an Azure SQL Managed Instance book? I'm looking for information about "care and feeding," best practices, etc. |
Powershell |
Use of variable issue - All, I'm trying to set up some code in a SQL agent job. The following code works as expected: $sqlConn = New-Object System.Data.SqlClient.SqlConnection $sqlConn.ConnectionString = "" $sqlcommand = $sqlConn.CreateCommand() $sqlcommand.CommandText="Select filename from dbo.ssisfiles" $DataAdapter = new-object System.Data.SqlClient.SqlDataAdapter $SqlCommand $dataset = new-object System.Data.Dataset $DataAdapter.Fill($dataset) foreach ($Row in $dataset.Tables[0].Rows) { if (Test-Path -Path "c:\as_demo.txt") { Throw "File […] |
MySQL |
How to install mysql-connector-python-8.4.0.zip it does not have setup.py - How to install mysql-connector-python-8.4.0.zip it does not have setup.py. Checked also: mysql-connector-python-8.4.0.tar.gz |
SQL Server 2022 - Administration |
when primary is down and not accessible failover not occured then how to recover - HI All, can any one reply on this when primary is down and not accessible also failover not occurred to secondary and size of the database is huge client dont want to loos the data and how to recover always on in secondary server online with out data loss |
SQL Server 2022 - Development |
Multiple processes accessing the same table. some to write others to read / Lock - Dears, Hope this message finds you well We have a log table which is used at same time by some processed to read and others to write. This is causing deadlock What can we do to secure that we end up with deadlocks? Shall we shift the isolation level on the read queries or something […] |
SSIS upgrade - I have about 40 packages that are dtsx files that were created with SQL 2016. It appears that I need to either install SNAC (which is decprecated / not recommended) or change them all to sql ole db. Is there an easy way to change to sql ole db? |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. [email protected] |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Laden...
Laden...