Popular Posts
-
SQLServerCentral » Latest topics Adding to Lists Comments posted to this topic are about the item [B] Adding to Lists [/B] more in...
-
SQLServerCentral » Latest topics SSMS is Free Comments posted to this topic are about the item [B] SSMS is Free [/B] more info... ...
-
SQLServerCentral » Latest topics The March of AI Comments posted to this topic are about the item [B] The March of AI [/B] more in...
SQLblog.com - The SQL Server blog spot on the web
Monday, July 31, 2017
Who's Licensed?
SQL Server Management Studio add-ins
Complete list of useful and must have add-ins for SQL Server Management Studio - 32 SSMS add-ins
How to fix SQL Server disk I/O bottlenecks (without a hammer) In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now. |
Decryption Woes
Should I Re-design table?
What should I do with this?
SQL Logins from 2005 to 2012, but also to new domain.
I wondered if someone might lend me a bit of advice based on their experience?
I have migrated SQL logins before, but this was from 2005 to 2008R2, I realize that things have changed and sp_helprev_login has been deprecated
Sum of Matrix & Year calculation
I have 3 matrix in my report.All the matrix have same kind of row and column group.I am using the running value function in them.I want to make another table which adds up the data from the 3 matrix.i also want t
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
I have installed SQL Server 2016 development edition with CU3 including SQL Database Engine, SSRS, SSAS, SSIS all on one box called SQLDEV16. As part of my test, I have ported all existing databases from production to SQLDEV16, as well as
Postgres SQL
I was trying to do same as tsql and realized i was doing wrong. Can anyone help me re-write TSQl query to PostgreSQL?
Trying
Creating a Robust SSIS Development Environment using the SSIS Catalog
Cursor Performance
When does Powershell become indispensible?
Created my first quiz! A quiz about Dynamic Mgmt Views
Not a lot about specific DMV questions. Mo
Cray buys Seagate’s enterprise storage array business
Supercomputer specialist Cray announced it is acquiring Seagate’s ClusterStor HPC storage array business for an undisclosed sum as part of a strategic deal and partnership. The deal should close in the third quarter.
Cray will take over development, manufacturing, support and sales of the ClusterStor product line, picking up 100 Seagate employees in the process. Seagate acquired Xyratex, the maker of ClusterStor for $374 million in 2014.
Cray already sells ClusterStor under its Sonexion scale out Lustre arrays. Sonexion is based on ClusterStor, so it simply comes in-house. Cray is the biggest OEM for the ClusterStor line.
Even though Cray was already knee deep in ClusterStor, it brought the technology in-house so it can reduce margins and push further on development to align with its strategy, which sounds like it intends to compete with Dell EMC.
To read this article in full or to leave a comment, please click here
stored procedure to copy a record
here is the stored procedure i used and when i try to execute the p
Transaction replication broke for reason unknown on the 30/7/2017
We have run into an issue with our transactional replication since the weekend.
Nothing as far as im aware has been changed, but when I came back into the office after the weekend, our tx replication was broken.
Its replicating from sql
Creating a Robust SSIS Development Environment using the SSIS Catalog
[BIT] where already [Date](when happened)]
Transaction replication broke for reason unknown on the 30/7/2017
We have run into an issue with our transactional replication since the weekend.
Nothing as far as im aware has been changed, but when I came back into the office after the weekend, our tx replication was broken.
Its replicating from sql
Litespeed backups
How backups are faster in Litespeed tool? What is the mechanism that it uses to take faster backups?
Should I Re-design table?
What should I do with this?
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
I have installed SQL Server 2016 development edition with CU3 including SQL Database Engine, SSRS, SSAS, SSIS all on one box called SQLDEV16. As part of my test, I have ported all existing databases from production to SQLDEV16, as well as
Sunday, July 30, 2017
Find Database Connection Leaks in Your Application
Michael Swart shows how to investigate and fix database connection leaks, an application issue that can lead to connection timeouts.
Managing Passwords
Are the posted questions getting worse?
i need the max length value of every column in every table in a database
Read Access to Database Tables - How do you do it in MS-SQL ?
I need to control access to the developers&business users whom (by business rules) are allow to look into certain tables containing actual in the Production database. I have been doing this (below) in Oracle and I am not sure if ther
exchange for an hour's labor each day
against Russia and national security
Backup DB as a bak file type?
I am using SSMS and trying to do a db back.
I select DB > Tasks > Backup.
Type: Full
Destination: Disk (since its local pc)
File of Type: Selected option: (*bak,*tm)
Problem is when I g
Notification if any plan changes against any specific table/procedure
Is there anyway I can get notified if there is any new plan in place against any specific table object or a procedure that I get notified via email and then I take a quick look to find what is going on?
If there is any suitable wa
In King's Landing, the capital, Ned's friend King
Your Personal Health in Information Technology
Backup DB as a bak file type?
I am using SSMS and trying to do a db back.
I select DB > Tasks > Backup.
Type: Full
Destination: Disk (since its local pc)
File of Type: Selected option: (*bak,*tm)
Problem is when I g
Showing statement using case clause
I have the following query and would like to show the Customer Type in a table as follow:
CustomerID....Name............LastP
Read Access to Database Tables - How do you do it in MS-SQL ?
I need to control access to the developers&business users whom (by business rules) are allow to look into certain tables containing actual in the Production database. I have been doing this (below) in Oracle and I am not sure if ther
Memory Issue - SQL Server 2008 R2
Last saturday I migrated a sql server 2008 r2 sp3 from a server Dell R730 Xeon E5-2697v3 with 512GB
to a server Dell R730 Xeon E5-2697v4 and 768GB, the old machine was allocated both min and max server memory the value 470GB,
the
SQL Server 2014 AlwaysOn failover
I have 3 SQL servers 2014 Enterprise (Windows Servers 2012 R2) in a cluster AlwaysOn on 1 availability group and that are configured as follows:
Availability Group 1
Script task disappears when SSIS is deployed to SQL Server 2014
When I compile and deploy the project to SQL Server 2012 (SSIS version 6) everything works as expected. But when I compile and deploy the project to SQL Server 2014 (SSIS version updates to 8) all the script tasks dis
Washington home of Microsoft where
Are the posted questions getting worse?
Display members with active cards
I have a little complicated issue,
I want to display all the members in the Allmembers table, and their card number.
However, when I have a member that have two or more cards ( one is active, the rest are inactive) i want it to d
Script task disappears when SSIS is deployed to SQL Server 2014
When I compile and deploy the project to SQL Server 2012 (SSIS version 6) everything works as expected. But when I compile and deploy the project to SQL Server 2014 (SSIS version updates to 8) all the script tasks dis
Saturday, July 29, 2017
Artifacts and structures suggest
Who's Smarter? Humans or AI Systems?
Are the posted questions getting worse?
Notification if any plan changes against any specific table/procedure
Is there anyway I can get notified if there is any new plan in place against any specific table object or a procedure that I get notified via email and then I take a quick look to find what is going on?
If there is any suitable wa
in the timetomeo t mis shememoemoere
Cursor Performance
Synonyms causing performance issue - database on same server
Litespeed backups
How backups are faster in Litespeed tool? What is the mechanism that it uses to take faster backups?
Running remote services from SQL Server Agent
We have a nightly refresh job that updates our database. In order to ensure that there are no queries running when the refresh starts, it's desired to shut down an application service running on a remote server that may be actively using the data
Timeouts Popping Up for Production Database
How to get lastest active record near to getdate
SQLCMD and Batch File magic
Are the posted questions getting worse?
Friday, July 28, 2017
http://www.supplementsreview.co.za/testo-ultra/
how to deploy 10 T-SQL scripts across 200 databases
Can any one suggest an efficient way where we can apply about 10 T-SQL scripts on about 200 databases and show the management a log file that the scripts were applied correctly?
We cannot use any third party tools.
Thanks,
Today's Random Word!
store procedure running problem
when we insert some data into table then we execute the procedure first time then it will take 2 min.next time it will executive the 1sec. Agian next day we insert the data into table
SQL Script Management Tool
Mods...remove this if not appropriate. .......I am creating a SQL script management tool. It started out
Are the posted questions getting worse?
SSRS Result Set Question
Original:
DTA Stop in between will DTa not release the control
If the DTA is stopped is between while running on a database (all tables) on Plan Cache, can that create a Deadlock? Sometime back I found similar situation where I found one connection through that the DTA ran spawned huge threads. Is
Need Code Help - Query Entire Table's Data
I have successfully connected to
How to Extract some part of text from varchar.
Hello Good Morning,
Can you please let me know this... need to extract number from varchar string in below case
Create Table #MyTask (Detail1 Varchar(100))
Insert Into #MyTask Values ('1.5% or below')
Insert Into #MyTask Values (
Timeouts Popping Up for Production Database
Merge statement when not matched insert
My question is when I use when not matched (by target) , can I add additional conditions?
For example
MERGE INTO TargetTable T
USING (select .. from table
SQLCMD and Batch File magic
Where to put the historical data?
We have a sales ETL and data warehouse running on SQL 2008R2 Standard Edition. There is also a historical database for older data on a SQL 2005 server. Historical data occasionally gets updated during nightly ETL if someone to
Need help exporting to XML
bcp "select [fpono] as '@ID', [fpono], [fstatus] from #postatus for XML PATH('PO'), ROOT('POStatus')"
QueryOut
Backup and Restore
Consistency Errors on System Tables
We have a database which is connected to a third-party software.
Recently we have installed a new version of this software which needs to make some changes in the database (new tables, new columns, etc)
During this procedure of updati
Google finally gains traction in cloud services
Google has long run a distant third behind Amazon and Microsoft in the cloud services business, but it finally seems to be catching some momentum, if the most recent quarter is an indicator of future trajectory.
During an earnings call with Wall Street analysts, Google CEO Sundar Pichai said that Google Cloud Platform continues to experience “impressive growth across products, sectors and geographies and increasingly with large enterprise customers in regulated sectors.”
To be more specific, Pichai said Google closed three times as many $500,000-plus deals in the most recent quarter as it did in the same time period last year. Of course, that is kind of pointless without knowing the exact number. And given Alphabet, Google’s parent company, reported overall revenue of $25.8 billion for the quarter, it’s likely a few drops in the bucket.
To read this article in full or to leave a comment, please click here
SSIS Run As profile to grab Azure data!
I'm having issues setting up a proxy to grab data from an Azure database.
The proxy will only accept a domain account and obviously that isn't going to connect to the Azure database.
Do I need to use an Azure specific connecto
snapshot restores getting slower
some (hopefully) pertinent info ;
Who's Smarter? Humans or AI Systems?
Consistency Errors on System Tables
We have a database which is connected to a third-party software.
Recently we have installed a new version of this software which needs to make some changes in the database (new tables, new columns, etc)
During this procedure of updati
Thursday, July 27, 2017
sqlcmd variables expansion
7 Things Every SQL Server DBA Should Know About Linux
In this tip John Grover will help you make the transition to SQL Server on Linux by explaining the things you need to know.
http://www.healthitcongress.com/milou-skincare/
A Summit Just North of The Big Easy
Slow DataBase and Hyper-V
In the company I work for, we have a slowness problem in the SQL Server 2014 database.
Today came a "dba" here to "solve" the problem, according to him the problem of slowness is due to the fact of using Hyper-V , And his solution would
Encryption best practice for a Staging to Data store solution.
I am after some advice. I am working on a solution where I need to BCP data out of a Sybase ASE data source, BCP into a SQL Server 2016 staging database and finally into an operational data store (there will be further warehousing
Identity Insert
I am trying to do a identity insert on table [CnP].[WorkComment_test.
DDL
[code language="sql"]
CREATE TABLE [CnP].[WorkComment_test](
[WorkCommentId1] [int] NOT
SQL Server Management Studio 2017
recently i have upgraded the my machine to SQL Server 2016 from SQL Server 2012 by in place upgrade and its successfully done.after completing when opening ssms from run command it is opening of SQL Server 2012 management studio.but i dont wa
Running remote services from SQL Server Agent
We have a nightly refresh job that updates our database. In order to ensure that there are no queries running when the refresh starts, it's desired to shut down an application service running on a remote server that may be actively using the data
Who's Smarter? Humans or AI Systems?
BCP error -Unable to open BCP host data-file
SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Unable to open BCP host data-file
NULL
I am getitng the above error when i am executinf BCP. The file location is not on the local
Accessing Database from Different Domain
I currently work in an environment with 2 separate domains. On Domain A, we have a program that all users run, with the SQL DB for that program residing on an SQL server also on Domain A. I have been asked to install this progr
Need help exporting to XML
bcp "select [fpono] as '@ID', [fpono], [fstatus] from #postatus for XML PATH('PO'), ROOT('POStatus')"
QueryOut
SQL Server 2014 AlwaysOn failover
I have 3 SQL servers 2014 Enterprise (Windows Servers 2012 R2) in a cluster AlwaysOn on 1 availability group and that are configured as follows:
Availability Group 1
Monitor cloud services for compliance, security from a single view
Moving to the cloud is supposed to reduce the headaches for IT administrators, but often it has the opposite effect of increasing their workload, especially around security and visibility. Not only do they have to make sure on-premises systems adhere to regulatory compliance, but that their cloud services do as well.
Security specialist Qualys addresses these issues of security and visibility with its new app framework, CloudView, which complements existing Qualys services for security, compliance and threat intelligence with real-time monitoring of all enterprise cloud services from a single dashboard.
+ Also on Network World: 18 free cloud storage options +"Accelerated cloud adoption requires new adaptive security solutions that support fast-moving digital transformation efforts," said Philippe Courtot, Qualys CEO, in a statement. "Our new CloudView and its apps add unparalleled visibility and continuous security of all cloud workloads to provide customers complete cloud security in a single, integrated platform and drastically reduce their spend."
To read this article in full or to leave a comment, please click here
After sql upgrade from sql 2014 to sql 2016 failover on 2 node windows cluster fails
True random numbers are here — what that means for data centers
For many decades, the term “random numbers” meant “pseudo-random numbers” to anyone who thought much about the issue and understood that computers simply were not equipped to produce anything that was truly random.
Manufacturers did what they could, grabbing some signals from the likes of mouse movement, keyboard activity, system interrupts, and packet collisions just to get a modest sampling of random data to improve the security of their cryptographic processes.
And the bad guys worked at breaking the encryption.
We used longer keys and better algorithms.
And the bad guys kept at it. And life went on.
But something recently changed all that. No, not yesterday or last week. But it was only back in November of last year that something called the Entropy Engine won an Oscar of Innovation award for collaborators Los Alamos National Laboratory and Whitewood Security. This Entropy Engine is capable of delivering as much as 350 Mbps of true random numbers—sufficient to feed an entire data center with enough random data to dramatically improve all cryptographic processes.
To read this article in full or to leave a comment, please click here
Calculated Query Help
I am struggling to grasp on how to calculate in SQL where there is a fixed Qty in stock and minus sales order then it should minus from that QTY in stock where it previously taken off the order qty. I have tried mostly everything but I need h
SQL Server STATISTICS
We have a migration activity coming up where we backup our SQL server databases and restore on a different SAN in a different data center. My question is, does SQL server backup the STATISTICS data as well when we take a full backup ? Thanks i
True random numbers are here -- what this can mean for all of us
For many decades the term “random numbers” meant “pseudo-random numbers” to anyone who thought much about the issue and understood that computers simply were not equipped to produce anything that was truly random. Manufacturers did what they could, grabbing some signals from the likes of mouse movement, keyboard activity, system interrupts, and packet collisions just to get a modest sampling of random data to improve the security of their cryptographic processes. And the bad guys worked at breaking the encryption. We used longer keys and better algorithms. And the bad guys kept at it. And life went on.
But something has only recently changed all that. No, not yesterday or last week. But it was only back in November of last year that something called the Entropy Engine won an Oscar of Innovation award for collaborators Los Alamos National Laboratory and Whitewood Security. This Entropy Engine is capable of delivering as much as 350 Mbps of true random numbers – sufficient to feed an entire data center with enough random data to dramatically improve all cryptographic processes. Tapping into the quantum physics of matter and light to provide a source of entopy, the Entropy Engine produces numbers that:
To read this article in full or to leave a comment, please click here
Consistency Errors on System Tables
We have a database which is connected to a third-party software.
Recently we have installed a new version of this software which needs to make some changes in the database (new tables, new columns, etc)
During this procedure of updati
Image string select in sql server table
my tbale have a 150000 records i this records some of records have images.how can i select only image records from table .
For example my table like this.
high heels
🚈
high heel wed
Proper Process for Adding Node to SQL Server 2012 Failover Cluster
SQL Server STATISTICS
We have a migration activity coming up where we backup our SQL server databases and restore on a different SAN in a different data center. My question is, does SQL server backup the STATISTICS data as well when we take a full backup ? Thanks i
Basic Trigger Amendment
Please can you advise me on how to log an old value in a audit table via a trigger.
I current have a small table (Agreement_Funder) with 3 columns:
AgreementNumber
FunderName
TaggedDate
I have a trigge
Wednesday, July 26, 2017
Simple SQL: Attribute Splitting
If the design of a relational database is wrong, no amount of clever DML SQL will make it work well. Dr. Codd’s Information Principle is that you have, inside the entity tables, the columns that model the attributes of that entity. The columns contain scalar values. Tables that model relationships can have attributes, but they must have references to entities in the schema. You split those attributes at your peril. Joe Celko explains the basics.
Dynamic SQL Query Not Fetching Records based on where Not In condition
http://www.supplementadvise.com/neo-hydrate-gold/
Junk meals and speedy ingredients are a large no-no. Limit your consumption of meat, which basically rots interior your gut; rather, choose masses of veggies and end result they will help s
Weird OPENQUERY results sql2016 -> oracle 12c
SQL 2016 using Oracle 12c client to talk to Oracle 12c database via a linked server. I am running the query below and it is somewhat consistently only returning 200 rows.
select COUNT(*) FROM OPENQUERY(ORACLE_sbmP, 's
Who's Smarter? Humans or AI Systems?
Are the posted questions getting worse?
Find out what numbers are not following designed sequence.
follow the designed sequence (like 1,2,3,6,4,5,7,8,10,11,9..1957.). Numbers 6 and 9 are not in the right sequence.
SQL Server Agent Jobs Statistics
Consolidate Overlapping Datetimes
Scenario: An operator can chat with multiple users throughout a day and I need to calculate how long they actually spent within the chat tool.
Problem: Each chat interaction is recorded in a table with a start datetime and end datetime. The op
Looking for sp_whoisactive?
"Network-related or Instance specific error" when connecting through SSMS
need list of logins at the server level
Dynamic SQL Query Not Fetching Records based on where Not In condition
Potential presentation idea: So you want to be a SQL Saturday speaker?
I was just thinking about how
Expensive View help
I have the below query which is part of a view. This query takes > 5 minutes to complete.
SELECT
Are the posted questions getting worse?
need list of logins at the server level
Getting error with Bulk Insert when data is encoded with double qoute
My table is getting loaded with 0 rows .i am using the below format file to load.
Table DDL
[code]
CREATE TABLE [dbo].[TEST](
[VERSI
Dynamic SQL Query Not Fetching Records based on where Not In condition
SSIS Run As profile to grab Azure data!
I'm having issues setting up a proxy to grab data from an Azure database.
The proxy will only accept a domain account and obviously that isn't going to connect to the Azure database.
Do I need to use an Azure specific connecto
Consistency Errors on System Tables
We have a database which is connected to a third-party software.
Recently we have installed a new version of this software which needs to make some changes in the database (new tables, new columns, etc)
During this procedure of updati
Migrate SSRS data sources from one server to another
I need to migrate SSRS reports and data sources to a new server (not the SSRS database itself). Looks like there are a ton of ways to migrate the reports but data sources? not so much... can anyone point me in the direction of a some inst
Cursor Performance
Recovery Pending Status
Good Morning Experts,
One of our databases went into "Recovery Pending" Status. Could you please share the steps to fix it.
Tuesday, July 25, 2017
Getting Started with Azure SQL Data Warehouse - Part 6
Azure SQL Data Warehouse is Microsoft’s new enterprise-class, elastic petabyte-scale, data warehouse service that can scale according to organizational demands in just few minutes. In this installment, Arshad Ali covers the different ways to load data into SQL Data Warehouse.
How to fix SQL Server disk I/O bottlenecks (without a hammer) In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now. |
Labeling a graph
http://www.supplementadvise.com/neo-hydrate-gold/
Recovery Pending Status
Good Morning Experts,
One of our databases went into "Recovery Pending" Status. Could you please share the steps to fix it.
SQL Crossword #1
Encryption best practice for a Staging to Data store solution.
I am after some advice. I am working on a solution where I need to BCP data out of a Sybase ASE data source, BCP into a SQL Server 2016 staging database and finally into an operational data store (there will be further warehousing
Some linked server connections stop working
Recovery Pending Status
Good Morning Experts,
One of our databases went into "Recovery Pending" Status. Could you please share the steps to fix it.
After sql upgrade from sql 2014 to sql 2016 failover on 2 node windows cluster fails
Are the posted questions getting worse?
List of all dtsx files used in [Integration Services Catalog] - I need help with the SELECT statement
I need some direction please ...
Need Code Help - Query Entire Table's Data
I have successfully connected to
Download ssdt in English if your machine isn't
That is an annoying problem I have with ssdt and (just today) ssms. Even though I change the ms download site from de-de to en-us, I only get the German version to download.
Can someone give me a hint? I'd so much love to not