Pride and Security
When an employee has pride in their company, they tend to do a better job, and Steve Jones says that extends to security.
When an employee has pride in their company, they tend to do a better job, and Steve Jones says that extends to security.
SQL Server has an issue when an INSERT fails that includes LOB data, SQL Server allocates space for the insert but does not reclaim the space on the failure therefore taking up more space than necessary. This tip walks you through an example of this issue and ways to resolve it.
Using Powershell to create color coded backup reports for all servers in your environment.
SQLServerCentral will be hosting a track at the 2012 spring SQL Server Connections conference and we hope to see you there.
Tony Davis reflects on the existential angst felt by the DBA separated from his or her hardware.
DBAs are usually charged with the administration of Reporting Services, but are often short on guidance on how to go about such tasks as planning, documenting and troubleshooting those aspects that are specific to the SSRS service. Feodor Georgiev gives some tips, custom SSMS reports, and useful TSQL queries, based on his experience.
Today we have a guest editorial from Andy Warren. This one follows on from his "are you easy to work with" piece.
This article talks about why SHRINKFILE is a very bad thing, and what to do about it if you must shrink a database file.
We often use excel for any running repetitive calculations since it is a very convenient user friendly interface which allows us to just enter a formula in a cell and simply drag and drop the formulas to generate a complete output.
If you've ever loaded a 2 GB CSV into pandas just to run a...
By James Serra
What problem is Fabric Ontology trying to solve? For years, most data conversations have...
By Steve Jones
Recently I ran across some code that used a lot of QUOTENAME() calls. A...
Comments posted to this topic are about the item The New Software Team
Comments posted to this topic are about the item Database Mail in SQL Server...
Comments posted to this topic are about the item The string_agg function
We create the following table and then insert some records in it:
create table t1 ( id int primary key, category char(1) not null, product varchar(50) ); insert into t1 values (1, 'A', 'Product 1'), (2, 'A', 'Product 2'), (3, 'A', 'Product 3'), (4, 'B', 'Product 4'), (5, 'B', 'Product 5');What happens if we execute the following query in both Sql Server and PostgreSQL?
select id,
category,
string_agg(product, ';')
over (partition by category order by id
rows between unbounded preceding and unbounded following) as stragg
from t1; See possible answers