SSIS: Execution of the steps
Hi , I have an SSIS package opened in Visio Studio 2008, there are many steps, and I want to run it manually for some steps together, how to do it , instead of click everyone of it to 'execute task '?
View Articleexcution plan
Hello I have a table with 200 million rows (tableA) and an unique non-clustered index (ix_A) on id1 and id2.when I run a simple queryselect b.id1,b. id2, b.otherfield1, b.otherfield2, b.otherfield3...
View ArticleSQL 2008 R2 - Resource monitor high CPU usage
Hello, I need some advice for resolving high CPU usage for resource monitor on 2008 R2 SP1. I have searched but only found some bug on 2008 version. I am not sure if I am reading this correctly - In...
View Articlerestore the logins under Security ?
We have the SQL Server 2008, everyday we back up the whole instance onto the tape including the System database. My question is I want to restore the logins account under Security ? How do I do it ?...
View ArticleBulk Data Error, MYSQL to SQL Server
Hi, Everyone,I have data in bulk, like this. (consist of 2 column id and name). The sparator is "|"01|Jhonson 02|Jhonson Parkon the top example, seen name with id 02 is very long so, data of name make...
View ArticleCannot access second instance of SQL Server
I installed SQL Server 2008r2 Express Edition. Afterwards I installed SQL Server 2008r2 Developer Edition on the same computer. When connecting to the computer from Management Studio on another...
View ArticleCU patch in 4 node
Hi,I am going to apply CU10 in 4 node production cluster servers.. Node1,Node2,Node3,Node4. I have 9 databases running on these 4 nodes.Can I push all the 9databases to Node1 and apply CU10 on other...
View ArticleSQLCMD Mode vs SQLCMD command line Utility
I noticed some strange behavior with column ordering on a view. When I run the below script using SQLCMD Mode in SSMS, the columns show in the correct order. If I run the same command using the...
View ArticleCHANGE_TRACKING_MIN_VALID_VERSION keeps changing even there are no changes in...
Hi,We use stored procedure like below to get the data on intial load as well as subsequent changes. The underllined part of the stored procedure to get the last_sync_version is slightly different from...
View ArticleError while applying Cu10
Hi,I have Production on 4 node cluster: Node1,Node2,Node3 and Node4.I moved all the database to Node1 and Node4 and start applying cu10 on Node2 and Node3 parallely.The status for all the databases in...
View ArticleLink Server temp table
Hi All. Any one if we have a link server. Can we select a temp table from a link server?like the follwing:select * from serverA.tempdb.dbo.#temptable??
View ArticleQuery optimizer and techniques
This is a general/generic question, if there is a clustered index and multiple non-clustered indexes which index does the query optimizer pick to retrieve the results.I guess query optimizer picks...
View ArticleSQLServer Memory Architecture
Hi All,How To check How much Buffer cache using query in sqlserver.
View ArticleSplitting TempDB into multiple data files.
To avoid contention we have to split tempdb into multiple data files. But as for case suppose, there is 20 GB total space is on the drive containing 1 tempdb data file of 15 GB. And I have to create 3...
View ArticleForeign Key Constraint
When I try to add Foreign key (Graphically & using query),it shows this error- Msg 547, Level 16, State 0, Line 1 The ALTER TABLE statement conflicted with the FOREIGN KEY constraint...
View Articlerestore database to azure blob failed
Hi experts, I create a test db in SQL on Azure VM and backup to my storage account successfully. However, when I delete the database and restore using the T-SQL below, it failed. Please help.--- query...
View ArticleHow to determine which objects/queries are main cause for unusual increase in...
Hi,From past 2 days, tempdb is growing unexpectedly and completely filling up the Drive. Currently we are restarting the service.Yesterday, when we ran the below query when tempDB was full, we got 2...
View ArticleBackup job failed
Hi All,Can anyone suggest to resolve this issue.Executed as user: S233683-AD01\S233683NJ3SQL05. ...at file already exists.' [SQLSTATE 42000] (Error 22048) ERROR -- Could not backup database: master -...
View ArticleNot getting Page from Prod server
Hi All,I have set two pager email Id in my prod server I have a job when this job succeed then it will send a page to both email ID Job ran successfully and both Email ID did not get any single page...
View ArticleChange Data Capture (CDC) cleanup job only removes a few records at a time
Hi everyone, Summary of the problem: I'm a beginner with SQL Server. For a project I need CDC to be turned on. I copy the cdc data to another (archive) database and after that the CDC tables can be...
View Article