The item dtsx has been cloaked

This is only a simple solution the works for me for the following error.

The item dtsx has been cloaked

I just removed mapping


Then I remapped it to resolve the problem.

Advertisements
Posted in Uncategorized | Leave a comment

Office 365 Outlook new Attach File feature

This short post is not related to those very technical posts I used to write. This is just to show you a new file attachment feature I realized in Office 365 Outlook. When you click on the Attach File the recently saved file will be listed. Nice feature.

Posted in .Net, Cloud, Community, Computers and Internet, Microsoft Office | Tagged | Leave a comment

Azure Data Studio vs SQL Server Management Studio part 3

This post continue to look at the differences between Azure Data Studio and SQL Server Management Studio. This post is focus on Security. In SSMS you can find a dedicated Security node.


In ADS is the same, it has a dedicated Security node.


When you right click a credential such as sa. There will be a list of shortcut menu. The most important item in the list is actually the Properties. That allow you to grant permission to a database, define the role(s) for that credential and more.


In ADS, beside a Refesh, when I was right clicking the credential, there is nothing else.


In SSMS, when you click on a security role. There is also a list of item display in a shortcut menu.

In ADS, it is still only the Refresh for now. Whether Microsoft going to extension the features?

Resources:

https://chanmingman.wordpress.com/2019/03/10/azure-data-studio-vs-sql-server-management-studio-part-1-2/

https://chanmingman.wordpress.com/2019/03/14/azure-data-studio-vs-sql-server-management-studio-part-2/

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged , , | Leave a comment

SQL Server query for the most used Tables and Index

This short post consist of the SQL Server Query to find out most used Tables and most used Indexes.

— most use table

SELECT
db_name(ius.database_id)
AS DatabaseName,t.NAME
AS TableName,SUM(ius.user_seeks + ius.user_scans + ius.user_lookups)
AS NbrTimesAccessed FROM
sys.dm_db_index_usage_stats ius INNER JOIN
sys.tables t ON t.OBJECT_ID
= ius.object_id WHERE database_id =
DB_ID(‘Tablename’) GROUP
BY database_id, t.name ORDER
BY
SUM(ius.user_seeks + ius.user_scans + ius.user_lookups)
DESC

— most use Indexes

SELECT
db_name(ius.database_id)
AS DatabaseName,t.NAME
AS TableName,i.NAME
AS IndexName,i.type_desc
AS IndexType, ius.user_seeks + ius.user_scans + ius.user_lookups AS NbrTimesAccessed FROM
sys.dm_db_index_usage_stats ius INNER
JOIN
sys.indexes i ON i.OBJECT_ID
= ius.OBJECT_ID
AND i.index_id = ius.index_id INNER
JOIN
sys.tables t ON t.OBJECT_ID
= i.object_id WHERE database_id =
DB_ID(‘Tablename’) ORDER
BY ius.user_seeks + ius.user_scans + ius.user_lookups DESC

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged , | Leave a comment

Machine Learning Service in SQL Server 2017

This post shows you how to start with Machine Learning Service in SQL Server 2017. One of the feature added to SQL Server 2017 is machine learning. There are two language of choices R and Python. I am a R user than Python user. So this post is more R oriented. Many people don’t know where to start, like me, few weeks back. First you must install SQL Server with Machine Learning Services here:

https://docs.microsoft.com/en-us/sql/advanced-analytics/install/sql-machine-learning-services-windows-install?view=sql-server-2017

Once you have done the installation make sure the Windows Service MSSQLLaunchpad is running. Start SQL Server Management Studio. Type this in the query pane.

EXEC
sp_configure
‘external scripts enable’, 1 RECONFIGURE
WITH
OVERRIDE

Test the R language is working in SQL Server 2017.

EXECUTE
sp_execute_external_script @language =
N’R’, @script =
N’ a <- 1 b <- 2 c <- a/b d <- a*b print(c, d)’

https://docs.microsoft.com/en-us/sql/advanced-analytics/tutorials/quickstart-r-verify?view=sql-server-2017

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged , , , | Leave a comment

Comparing the differences between two folders in Windows

This post shows you one of the way to compare between two folders. I have 2 folders,

I didn’t want to update the file that already existed but finding the files that did not exist as one side or another. I have downloaded the FreeFileSunc, https://freefilesync.org/, then compare the 2 folders. What I was look at is either

or

Posted in .Net, Cloud, Community, Computers and Internet, Operating System | Tagged | Leave a comment