replication architecture
Hi, I have couple of questions about replication, especially transaction replication. MSDN Says:- By design, transactional replication addresses the principal requirements for this scenario: •...
View ArticleAny ideas on why the SSRS report would run so slow in this particular...
I have an SSRS report that calls out to a stored procedure. If I run the stored procedure directly from a query window, it will return in under 2 seconds. However, the same query run from an 2005 SSRS...
View ArticleSQL or SSIS
Automated way to flag or extract records to mail. I have a prospect table with x number of records and based on criteria (Age, Income, Health_Flag, Segment),I want to flag those records to reach a...
View ArticleHow do i Repair or Restore an **Incomplete** SQL 2005 .BAK file using TSql
I cant Restore my Backup file on MSSql Server 2005,. While Using the command in Management Studio its saying **Incomplete** and and to restoring the database and the *.bak is my only Backup file. Am...
View Articlereindex only non-clustered indexes
Hi All, I have a SQL 2005 SP4 instance... is there a script to rebuild only non-clustered indexes for all tables in a database...plan is to rebuild clustered indexes separately manually.. thanks a lot...
View ArticleHow to Exporting to a text file from Reporting Services 2005?
TXT (Pipe Delimited Text File)|TXTASCIItrue I have added the above text to the SSRS config file, rsreportserver.config. It's working only SSRS 2008 only. I need SSRS 2005 text.
View ArticleSplitting a String based on the dynamic pattern
i have a string like following"N,N,N,N,N,N,N,N,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,N,N,N,N,N,N,N,N,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R" This will always have 48 characters separated by Commas. Any character...
View ArticleHow to copy the dynamic files into SFTP server via SSIS?
I want to transfer file to remote location but the file is generated every day with dynamic file name (filename_yyyymmdd).
View ArticleI need help with the following SQL
We are in the midst of an implementation from Kronos Workforce Central to Lawson. I need to compare the date in Lawson against the data in Kronos and wrote a SQL script to get the data. However, I am...
View ArticleSQL 2k5: How to determine memory usage for each job
Windows server 2003 SP1. SQL server 2005 SP3. We have a number of jobs executing under SQL Agent, around 30. Every 10 to 20 days, the SQL agent starts gobbling huge amount of memory, probably following...
View ArticleNeed help writing SQL to get Taxable Gross
Hi SQL Gurus! I need help getting the Taxable Gross amount out of our Kronos database via SQL. From what I can tell, this is a derived value using the following. @PayrollTransactionIdNo int,...
View ArticleHelp with the proper index
I have a table with a lot of columns. In a particular query being generated by a web API it selects 23 columns of data. With 4 of those columns in the where clause. I am assuming that in order to avoid...
View ArticleHow to easily parse a column that is more than four delimited values.
I am using SQL Server 2005 and have a column containing data that looks like this: text1>text2>text3>text4>text5>text6. The delimiter is ">". Each portion (text1, text2, etc.) could...
View Articlehow to pivot columns
i want to pivot.. SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[sales_report]( [salesid] [bigint] NOT NULL, [productName] [varchar](100) NULL, [Qty]...
View ArticleToo many columns to load
I need to load a flat file with more than 1024 columns which is a limit in SQL 2005. Any suggestions would be appreciated. Thanks!
View ArticleBackupof DB and transaction logs-Full recovery model
I am trying to implement the backup of DB programmatically. I have few questions.I am using MSSQL 2005 express edition. 1. I am calling a stored proc to take the backup of DB. (BACKUP Database...
View Articlenetapp storage is transferred to new hardware
The existing NetApp Storage System will be replaced by a new system. This requires that the entire memory contents are transferred to the new system. This also includes the iSCSI storage areas. in...
View ArticleHow do i verify a DB backup
Suppose i have taken a DB backup, How do i verify if the backup is alright. I know about 'RESTORE VERIFYONLY FROM DISK', but i suppose this only checks if the backup is corrupt. What i want to check is...
View ArticleHow to write errorlog to the SQL errorlog file from stored proc
Suppose i am executing a stored proc . Lets there is an exception, how do i write the log in errorlog of MSSQL? I read about RAISERROR, i got to know that it basically throw exception message to the...
View Articlehow will i know Recently updated service pack & Security patch in SQL SERVER?
Hi, We are using Windows Server 2003, SQL SERVER 2005 So May i know which way to know Recently updated service pack & Security patch in SQL SERVER? Where can i get this latest service pack &...
View Article