Received: from mailer4.sqlservercentral.com (89.234.60.73) by gibixonline.com (173.14.16.42) with Microsoft SMTP Server id 14.0.694.0; Thu, 22 Apr 2010 23:52:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=SqlServerCentral.com; s=mail; bh=VnGg12/s7xH3BraeN5LiiN+I2Ul/db5/jZYYgt4wEIw=; h=Message-ID:From:To:Subject; b=Adan86nqjsFm9WCFnv9P8aoAXYVs1bo1mE5idnHLY3qdUGrJOz82gmdJ53Nab0ZJ/fWGgSs/1tfpqwip5Rvj9oFqL+uvfXU5QpaCuc6aBQZa4BBdYM5QAwWv+b7i7QEEu11W0WgqJfI8qo+GKxVreYd8xQMXZcF8xU5ePvhEcNg= X-campaignid: rdgt20100423000000 Message-ID: MIME-Version: 1.0 From: SQLServerCentral.com To: Joshua Harley Date: Thu, 22 Apr 2010 23:48:26 -0600 Subject: Row Oriented Security Using Triggers and Corruption Help (SQLServerCentral.com 4/23/2010) Content-Type: multipart/alternative; boundary="--boundary_436_fe62e6e5-0c7d-4ffa-b944-02d54c42764b" Return-Path: subscriptions@sqlservercentral.com X-MS-Exchange-Organization-OriginalArrivalTime: 23 Apr 2010 05:52:15.4152 (UTC) X-MS-Exchange-Organization-OriginalClientIPAddress: 89.234.60.73 X-MS-Exchange-Organization-OriginalServerIPAddress: 173.14.16.42 X-MS-Exchange-Organization-AuthSource: gibixonline.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-Exchange-Organization-PRD: sqlservercentral.com X-MS-Exchange-Organization-SenderIdResult: Pass Received-SPF: Pass (gibixonline.com: domain of subscriptions@sqlservercentral.com designates 89.234.60.73 as permitted sender) receiver=gibixonline.com; client-ip=89.234.60.73; helo=mailer4.sqlservercentral.com; X-MS-Exchange-Organization-SCL: -1 X-MS-Exchange-Organization-Antispam-Report: v=1.1 cv=c+oHspu2av7H/xMjFSCQ7iHUq5H0SxeeJW+4ALWnxAI= c=1 sm=1 a=xUnq6xKWzqwA:10 a=mdJmlY1qlM11cSzN+2yUcg==:17 a=T9Gs38c3AAAA:8 a=CjxXgO3LAAAA:8 a=69EAbJreAAAA:8 a=-fBP8Z0tAAAA:8 a=tUHSFKFufq09S-c8KAIA:9 a=Vr4SDxJRjnbr9A9fBkMA:7 a=XK_xl0G3qqVMCPmbeuYk-79q_rIA:4 a=QEXdDO2ut3YA:10 a=rkLC8oWBkPQA:10 a=t2HAINGZeTYA:10 a=O3pDHqZ74TUA:10 a=sOJbxtuFQ7cA:10 a=K8tTLWDdI84A:10 a=CiITsrGyF8gA:10 a=s-bDoeBb5JkA:10 a=mK3qly-nsfMA:10 a=la6KjHO2rkkA:10 a=TMEtPODiblIA:10 a=AF2NrWo62JIA:10 a=hkTZK2qaTEgA:10 a=QdUp9O7obW0A:10 a=qRHEElgZka0A:10 a=MbMlk6TqlGQA:10 a=VQzAJZQ9r_4A:10 a=tilHjVh_N04A:10 a=XSRCOsDz_NIA:10 a=GiNA77gDKZ8A:10 a=npCth40KyqEA:10 a=eEWLRPL_3jIA:10 a=B0TLUwe7iLMA:10 a=fpTdFeU-feIA:10 a=tLt57aIg2xsA:10 a=bVb0Lfj5QeYA:10 a=zi7P17yvVmgA:10 a=pzBTM8jK7ZAA:10 a=ZZ8vwCD_hskA:10 a=t02UY082lUUA:10 a=ht1rvyAp8AMA:10 a=fzN5bhHMor8A:10 a=qAcrhZbmhrQA:10 a=RlQusWXsRu0A:10 a=vHjD56AzkQAA:10 a=hn5gtlyz5Q0A:10 a=xrlAVV_Aav8A:10 a=Dx5pVnGTzi4A:10 a=oGwmWHIC5WQA:10 a=u0ClHcULX84A:10 a=rETbeksbTokA:10 a=rA1N_AbsMc4A:10 a=I... ----boundary_436_fe62e6e5-0c7d-4ffa-b944-02d54c42764b Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --------------------------------------------------------=0D=0A-- SQL SERVER= CENTRAL COMMUNITY UPDATE FOR 2010-04-23 --=0D=0A--------------------------------------------------------= =0D=0ARead more at http://www.sqlservercentral.com/links/288241/150902=0D=0A= =0D=0A=0D=0AEDITORIAL - SPRING CLEANING=0D=0A---------------------------= =0D=0AFor a Friday poll this week, Steve Jones is looking at those spring= cleaning or annual maintenance activities that you might perform on your= systems.=0D=0Ahttp://www.sqlservercentral.com/links/288241/150903=0D=0A= =0D=0A=0D=0AADVERTISEMENT=0D=0A-------------=0D=0AToday's Newsletter sponsored= by:=0D=0AFree trial of SQL Backup=E2=84=A2=0D=0A"SQL Backup was able to= cut down my backup time significantly AND achieved a 90% compression at= the same time!" Joe Cheng. Download a free trial now. =0D=0A=0D=0Ahttp://www.sqlservercentral.com/links/288241/150874= =0D=0A=0D=0AADVERTISEMENT=0D=0A-------------=0D=0AToday's Newsletter sponsored= by:=0D=0AFree trial of the happiest SQL tool in the business.=0D=0A"I downloaded= the SQL tools from Red Gate and the next 14 days were the best SQL days= in my life." Gu=C3=B0bjartur Haraldsson.=0D=0ADownload your own 14-days= of SQL heaven today.=0D=0A=0D=0Ahttp://www.sqlservercentral.com/links/288241/150875= =0D=0A=0D=0AFEATURED ARTICLES=0D=0A-----------------=0D=0A=0D=0AROW ORIENTED= SECURITY USING TRIGGERS=0D=0AHandling security in an application can be= a bit cumbersome. R Glen Cooper brings us a database design technique from= the real world that can help you.=0D=0Ahttp://www.sqlservercentral.com/links/288241/150876= =0D=0A=0D=0AHELP, MY DATABASE IS CORRUPT. NOW WHAT?=0D=0AThe stuff of nightmares,= a corrupt database. However Gail Shaw gives you some advice about how to= handle this situation.=0D=0Ahttp://www.sqlservercentral.com/links/288241/150877= =0D=0A=0D=0ARETRIEVE DEFAULT SQL SERVER BACKUP FOLDER USING POWERSHELL=0D=0AIn= a previous tip on creating a Function to Return Default SQL Server Backup= Folder , you've seen how you can create a T-SQL function to query the registry= and retrieve the default SQL Server Backup folder. Is there an easier way= to do it in Windows PowerShell? =0D=0Ahttp://www.sqlservercentral.com/links/288241/150878= =0D=0A=0D=0A=0D=0AQUESTION OF THE DAY - DEFENSIVE PROGRAMMING=0D=0A-------------------------------------------= =0D=0AMany people think that defensive programming is a very important technique,= but few know whether it's a recent development or an ancient one. In which...= =0D=0ARead more at http://www.sqlservercentral.com/links/288241/150893=0D=0A= =0D=0AHarness the power of SQL Server, Microsoft=E2=80=99s high-performance= database and data analysis software package, by accesing everything you= need to know in Microsoft SQL Server 2008 Bible. Learn the best practices,= tips, and tricks from this comprehensive tutorial and reference, which= includes specific examples and sample code, with nearly every task demonstrated= in both a graphical and SQL code method. Understand how to develop SQL= Server databases and data connections, how to administer the SQL Server= and keep databases performing optimally, and how to navigate all the new= features of the 2008 release. =0D=0Ahttp://www.sqlservercentral.com/links/288241/150895= =0D=0A=0D=0AYESTERDAY'S QUESTION OF THE DAY - TRUNCATE ROLLBACK=0D=0A---------------------------------------------------= =0D=0AHow many rows are returned in the last select in SQL Server 2008?= =0D=0A
=0D=0A=0D=0A
=0D=0Ause tempdb=0D=0A
=0D=0Ago=0D=0A
= =0D=0Acreate table a (b int)=0D=0A
=0D=0Ago=0D=0A
=0D=0Ainsert into= a (b) values (1), (2), (3)=0D=0A
=0D=0A=0D=0A
=0D=0Aselect...=0D=0ARead= more at http://www.sqlservercentral.com/links/288241/150904=0D=0ACorrect= answer: 3=0D=0A=0D=0AStarting simply and gradually progressing to increasingly= advanced topics, this introduction to the SQL Server database focuses on= what is distinctive about the SQL environment=E2=80=94SQL Server 2008,= in particular=E2=80=94versus other programming environments. Author Robert= Vieira draws on his experience as one of the leading authorities on Microsoft= SQL Server and uses his unique tutorial approach to explain the significant= changes to the fundamental core components of SQL Server 2008. =0D=0Ahttp://www.sqlservercentral.com/links/288241/150898= =0D=0A=0D=0AFEATURED SCRIPT=0D=0A---------------=0D=0ACOPY TABLE STRUCTURE= WITHOUT DATA USING 1 LINE QUERY=0D=0AThe script copies the table structure= to the newly created table without copying any data to it.=0D=0Ahttp://www.sqlservercentral.com/links/288241/150899= =0D=0A=0D=0A=0D=0ADATABASE PROS WHO NEED YOUR HELP!=0D=0A---------------------------------= =0D=0AHere's a few of the new posts today on the forums. To see more, visit= the forums at http://www.sqlservercentral.com/links/288241/150900=0D=0A= =0D=0A=0D=0A=0D=0AADMINISTERING (http://www.sqlservercentral.com/Forums/Forum146-1.aspx)= =0D=0A----------------------------------------------------------------------= =0D=0A=0D=0AREPORTING SERVICES ON NON DEFAULT PORT - =0D=0A =0D=0A=0D=0A= =0D=0AHi,=0D=0A =0D=0A=0D=0A =0D=0AWe have installed & configured SQL Server= 2005 reporting services. But on port 80 some other website is runng so= we...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908209.aspx)= =0D=0A=0D=0ARUNNING SQL TRACE - My security team would like to run SQL traces= on one of our database servers. How can I restart a...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908019.aspx)= =0D=0A=0D=0ADELETING LOGINS AND USERS IN SQL SERVER 2005 - Can anyone help= me with providing with script to delete some specific logins and users= assosiated with that login from...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907996.aspx)= =0D=0A=0D=0AHOW MUCH RAM USED BY SQL SERVER 2005/SET LIMIT ON RAM - I forget= this.=0D=0A =0D=0AThere is a way to tell SQL server to use x amount of= RAM ( instead of using all...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907990.aspx)= =0D=0A=0D=0AHOW TO FIND TABLES THAT ARE NOT USING SINCE LOG TIME? - Hi ,= =0D=0A =0D=0A=0D=0A =0D=0Ai need to find the tables that are not using since= long time in the database=0D=0A =0D=0A=0D=0A =0D=0Ait would be great...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907946.aspx)=0D=0A= =0D=0ACOMPORTEMENT ON ERROR RESUME NEXT - Bonjour,=0D=0A =0D=0A=0D=0A =0D=0Aj'ai= fait une requete qui contient un curseur, lorsque j'execute la requete= dans SSMS il y a des erreurs mais...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907857.aspx)= =0D=0A=0D=0ABACKUPS VS MIRRORING VS REPLICATIONS VS SNAPSHOT - hi All,=0D=0A= =0D=0A=0D=0A =0D=0AI knew Backup & Restore of DBs only .=0D=0A =0D=0A=0D=0A= =0D=0Aevery time i am getting confused with the terms "Mirroring VS Replications...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907453.aspx)=0D=0A= =0D=0ACOPYING SYSTEM DB'S TO A NEW SERVER - hi all=0D=0A =0D=0A=0D=0A =0D=0Awe= have our current live sql server, and a new test sql server.=0D=0A =0D=0Awhen= im finished with test it will...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906849.aspx)= =0D=0A=0D=0AREINDEX MINIMALLY LOGGED - DOES NOT WORK - Hi=0D=0A =0D=0A=0D=0A= =0D=0AI am using a job to rebuild indexes. Step one I put the database= in Bulk Load. Step 2 I...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906578.aspx)= =0D=0A=0D=0ACOLLATION SETTINGS FOR REPORTSERVER DATABASE - Hi,=0D=0A =0D=0A= =0D=0A =0D=0AWhat are the collation settings for ReportServer & ReportServerTempDb?= =0D=0A =0D=0A=0D=0A =0D=0AI know that the Reporting Services Configuration= Manager sets the collation settings as...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906399.aspx)= =0D=0A=0D=0ADELETING BACKUP FILES USING A SCRIPT. - Hi =0D=0A =0D=0AAny= one with a script that can delete backups.bk files that are older than= 3days, pls help.=0D=0A(http://www.sqlservercentral.com/Forums/FindPost902969.aspx)= =0D=0A=0D=0AMORE THAN 250 INDEXES ON A TABLE - For a customer i have to= investigate a table wich has more than 250 indexes on it. The company who...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost897494.aspx)=0D=0A= =0D=0AROW LEVEL VERSIONING - Hey,=0D=0A =0D=0A=0D=0A =0D=0AWe're using SQL= Server 2005 in our company and we have an application that may benefit= by using the row...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost897023.aspx)= =0D=0A=0D=0ABLOCKING WHILE RUNNING REPORTS - Hi,=0D=0A =0D=0A=0D=0A =0D=0AWe= have SQL Server 2005 Reporting service on Server A & it's databases ReportServer= & ReportServerTemDB are on Server B. From the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost887114.aspx)= =0D=0A=0D=0ABEST WAY TO CREATE A WEEKLY EMAIL REPORT FOR SQL SERVER - Hi,= =0D=0A =0D=0A=0D=0A =0D=0AI have been asked to create a automated "report"= of some sort to provide some kind of statistics on our...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost883102.aspx)= =0D=0A=0D=0AJOB ENABLED AND SCHEDULE ENABLED CONFUSION - Hello,=0D=0A =0D=0A= =0D=0A =0D=0AI can't seem to reconcile this and can't find a clear explanation= on it.=0D=0A =0D=0A=0D=0A =0D=0AI have a Job set up with...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost650924.aspx)= =0D=0A=0D=0ASYSTEM DATABASES ON AN ISCSI LUN - Hi All,=0D=0A =0D=0A=0D=0A= =0D=0AI am preparing to build a new SQL Server 2008 Enterprise server.= The machine is very well equipped (Windows...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost638606.aspx)= =0D=0A=0D=0ASP_SEND_DBMAIL TO SMS ERROR - Hi,=0D=0A =0D=0A=0D=0A =0D=0AI= am trying to use sp_send_dbmail to both email and sms address. The email= works fine both in HTML and...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost514505.aspx)= =0D=0A=0D=0A=0D=0ABACKUPS (http://www.sqlservercentral.com/Forums/Forum357-1.aspx)= =0D=0A----------------------------------------------------------------=0D=0A= =0D=0ABACKUP T-SQL -- RETURN VARIABLES - I'm trying to do a backup in an= SP. Is there any way to get the data outputed by a...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907938.aspx)= =0D=0A=0D=0ADIFFERENTIAL BACKUP OF DATABASE - Dear all,=0D=0A =0D=0AI have= a database of 1 TB size. I planned to take full backup on sunday and differential= backup...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907660.aspx)= =0D=0A=0D=0A=0D=0ABUSINESS INTELLIGENCE (http://www.sqlservercentral.com/Forums/Forum147-1.aspx)= =0D=0A------------------------------------------------------------------------------= =0D=0A=0D=0ACALCULATED MEASURES IN CUBE GIVING VERY POOR PERFORMANCE - I= have an SSAS 2005 OLAP cube with 4 dimensions (Including servertime) and= 5 measure groups along with 8 calculated...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost885757.aspx)= =0D=0A=0D=0AERROR -1056899072 : THE FOLLOWING SYSTEM ERROR OCCURRED: KEY= NOT VALID FOR USE IN SPECIFIED STATE. . WHILE DEPLOYING SAMPLE PROJECT= OF SSAS CUBES. - Error -1056899072 : The following system error occurred:= Key not valid for use in specified state. .=0D=0A =0D=0AI am using Visual= Studio...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost881874.aspx)= =0D=0A=0D=0A=0D=0ACLR INTEGRATION AND PROGRAMMING. (http://www.sqlservercentral.com/Forums/Forum386-1.aspx)= =0D=0A-----------------------------------------------------------------------------------------= =0D=0A=0D=0ACENTRALLY LOCATED STORED PROCS? - For instance, say i have ten= databases all of which contain a copy of the same procedure. is it possible...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907137.aspx)=0D=0A= =0D=0A=0D=0ADEVELOPMENT (http://www.sqlservercentral.com/Forums/Forum145-1.aspx)= =0D=0A--------------------------------------------------------------------= =0D=0A=0D=0AKEYWORD BETWEEN - I need a sql as "select * from mytable rownum= >=3D10 and rownum <=3D 20;=0D=0A =0D=0ADoes ms sql support above= sql, if...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908034.aspx)= =0D=0A=0D=0ACRITERIA TABLE - Hi All,=0D=0A =0D=0A=0D=0A =0D=0AI'm kind of= newbie, I have time registered here, but this is my first post. After searching= through the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907378.aspx)= =0D=0A=0D=0AFULLTEXT SEARCH SLOW SQL SERVER 2005 - Hi,=0D=0A =0D=0A=0D=0A= =0D=0AWe had a table presently around 12000 rows.It has got upto 10 indexes.It= also had a fulltext index on a...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906453.aspx)= =0D=0A=0D=0AEXECUTE A STORED PROCEDURE INSIDE A USER DEFINED FUNCTION -= Hello,=0D=0A =0D=0AI need to execute a stored procedure inside a function.= Can=C2=A0it be possible?=0D=0A =0D=0A=0D=0A =0D=0AThanks...=0D=0A =0D=0AMCVilbar= =0D=0A =0D=0A=0D=0A(http://www.sqlservercentral.com/Forums/FindPost308097.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2005 COMPACT EDITION (http://www.sqlservercentral.com/Forums/Forum323-1.aspx)= =0D=0A----------------------------------------------------------------------------------------= =0D=0A=0D=0AADD A COLUMN TO TABLE - I want to add a column to a table in= My SQL CE database by using the following command:=0D=0A =0D=0A=0D=0A = =0D=0AALTER TABLE...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost894468.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2005 GENERAL DISCUSSION (http://www.sqlservercentral.com/Forums/Forum149-1.aspx)= =0D=0A-------------------------------------------------------------------------------------------= =0D=0A=0D=0AHOW DO YOU HIDE THE SQLAGENT90.EXE COMMAND WINDOW? - After some= recent maintenance, our SQL Server machine began to create/display a blank= command window for the SQLAGENT90.exe=0D=0A =0D=0A=0D=0A =0D=0ASomething= had been...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907980.aspx)= =0D=0A=0D=0APROCEDURE HAS TOO MANY ARGUMENTS - Posted - 04/20/2010 : 09:17:52= =0D=0A =0D=0A--------------------------------------------------------------------------------= =0D=0A =0D=0A =0D=0A =0D=0AHi All,=0D=0A =0D=0A=0D=0A =0D=0AI have a SP= that has nearly 27 parameters. No compilation error is shown but when...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost906819.aspx)=0D=0A= =0D=0AHOW TO TUNE/SPEED UP A PROCEDURE - I have a stored procedure where= I am converting old mainframe data that is in a staging table, and converting...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost903150.aspx)=0D=0A= =0D=0ASSMS - ALWAYS OPEN FILE WITH NEW CONNECTION - After i run a query= in server A, database X, then open a .sql file, two things may happen:= =0D=0A =0D=0A=0D=0A =0D=0A1 - the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost901670.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2005 SECURITY (http://www.sqlservercentral.com/Forums/Forum359-1.aspx)= =0D=0A---------------------------------------------------------------------------------= =0D=0A=0D=0AHIDING PAYROLL DATA FROM ADMIN - we have a new payroll system= coming online using SQL 2005 and questions have come up regarding security,= specifically securing...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907708.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2005 STRATEGIES (http://www.sqlservercentral.com/Forums/Forum361-1.aspx)= =0D=0A-----------------------------------------------------------------------------------= =0D=0A=0D=0AFASCINATING CHALLENGE: CREATING A CENTRALIZED PK GENERATOR TO= SUPPORT CROSS-COLO ETL FOR A GLOBAL SAAS PRODUCT - First some brief background.= We have a global SaaS solution for the insurance industry. Our product= has a dynamic UI...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906741.aspx)= =0D=0A=0D=0AHOW TO DO THIS ?? CSV OHLC DATA STORAGE - Ok..to give you an= idea.=0D=0A =0D=0A=0D=0A =0D=0ACopy this URL into browser address bar:= =0D=0A =0D=0Ahttp://ichart.finance.yahoo.com/table.csv?s=3D^DJI&a=3D01&b=3D01&c=3D1900&d=3Dignore&e=3D&ignore&f=3Dignore&g=3Dd&ignore=3D.csv= =0D=0A =0D=0A=0D=0A =0D=0AThe result is a CSV file with: Date, O,H,L,C,V,AdjC= with...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906417.aspx)= =0D=0A=0D=0A=0D=0ASS2K5 REPLICATION (http://www.sqlservercentral.com/Forums/Forum291-1.aspx)= =0D=0A--------------------------------------------------------------------------= =0D=0A=0D=0AERROR CREATING TRANSACTIONAL REPLICATION OR ENABLING REPLICATION= ON DB - I an trying to enable transactional replication on some of my databases.= I try to create the publication and get...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907935.aspx)= =0D=0A=0D=0ASYSTEM TABLE WHICH HOLDS THE SUBSCRIBER SERVER NAME - Hi All,= =0D=0A =0D=0A=0D=0A =0D=0AIm trying to build a query which will give me= a snapshot of our replicated environment showing things such...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907891.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER EXPRESS (http://www.sqlservercentral.com/Forums/Forum324-1.aspx)= =0D=0A---------------------------------------------------------------------------= =0D=0A=0D=0ACANNOT OPEN USER DEFAULT DATABASE - On SQL Management Studio= Express this error appears when i try to see the properties of a LOGIN= =0D=0A =0D=0A=0D=0A =0D=0ATITLE: Microsoft SQL...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost595705.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2005 PERFORMANCE TUNING (http://www.sqlservercentral.com/Forums/Forum360-1.aspx)= =0D=0A-------------------------------------------------------------------------------------------= =0D=0A=0D=0AEFFICIENT WAY TO FETCH DATA THROUGH JOB - Hi=0D=0A =0D=0A=0D=0A= =0D=0AI'm using sql server 2000. I've to write a job which fetches around= 10 lakhs records from a table and...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906734.aspx)= =0D=0A=0D=0AGENERAL POINTERS ON READING WAIT STATISTICS - Hello,=0D=0A = =0D=0A=0D=0A =0D=0AI know it's not easy to answer questions about performance= tuning given the variations and unique circumstances across SQL systems,...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost906381.aspx)=0D=0A= =0D=0A=0D=0ASQL SERVER 2005 INTEGRATION SERVICES (http://www.sqlservercentral.com/Forums/Forum148-1.aspx)= =0D=0A---------------------------------------------------------------------------------------------= =0D=0A=0D=0ASSIS QUESTION - I have OrderSent column(timestamp datatype)= in AS400 file with the below values:=0D=0A =0D=0A2009-03-11-13.07.24.922000= =0D=0A =0D=0A2009-02-18-13.07.24.924000=0D=0A =0D=0A=0D=0A =0D=0AWhen I= am trying to load this AS400 column...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908140.aspx)= =0D=0A=0D=0ASEND MAIL TASK FAILING USING A HOTMAIL ACCOUNT - When I execute= the following code SSMS, the e-mail is sent:=0D=0A =0D=0A=0D=0A =0D=0AUSE= msdb=0D=0A =0D=0AGO=0D=0A =0D=0AEXEC sp_send_dbmail @profile_name=3D'Hotmail',= =0D=0A =0D=0A@recipients=3D'myusername@hotmail.com',=0D=0A =0D=0A@subject=3D'Test= message',=0D=0A =0D=0A@body=3D'This is the body of the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908060.aspx)= =0D=0A=0D=0ASTRING RESULT SET - I am using SQL Server 2005 SP3 on Windows= Server 2003. =0D=0A =0D=0A=0D=0A =0D=0AI have an ExecuteSQL task with= the following SQL...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908044.aspx)= =0D=0A=0D=0AKONESANS CHECKSUM 2008 ISSUE - Hi,=0D=0A =0D=0A=0D=0A =0D=0AI= installed Konesans checksum 2008 component on SQL Server 2005 box. It installed= successfully but I am not seeing the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907330.aspx)= =0D=0A=0D=0ASELECTIVE DELTA REFRESH - Hi, we have a set of packages which= involve pulling data from a source table and performin a delta refresh...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907240.aspx)=0D=0A= =0D=0AEXECUTE TASKS CONDITIONALLY? - Is there a function, method, or technique= that someone could share with me?=0D=0A =0D=0A=0D=0A =0D=0AI have a large= dataflow that services records...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906676.aspx)= =0D=0A=0D=0AWMI EVENT WATCHER TASK - I am using the WMI Event Watcher Task= to watch for the arrival of a file. =0DI have the following...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost741292.aspx)= =0D=0A=0D=0ASSIS AND SSRS INTERVIEW QUESTIONS - can any one tell some interview= questions in reporting service and integration service=0Don sql server= 2005=0D=0D please this is urgent...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost394152.aspx)= =0D=0A=0D=0A=0D=0AT-SQL (SS2K5) (http://www.sqlservercentral.com/Forums/Forum338-1.aspx)= =0D=0A----------------------------------------------------------------------= =0D=0A=0D=0AT-SQL T EXPORT TABLE TO ACCESS - How do I use T-SQL to export= a table of my choosing to a pre-defined access database. I want to...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907022.aspx)=0D=0A= =0D=0ASUBSTRING FUNCTION IN WHERE CLAUSE - I am currently doing string manipulations= with T-sql. In the where statement of my code I have the following substring...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907003.aspx)=0D=0A= =0D=0ACONVERTING A DATE - I'm having an issue with trying to have a query= run for todays date. I'm not sure how to have...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost903762.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER NEWBIES (http://www.sqlservercentral.com/Forums/Forum1291-1.aspx)= =0D=0A----------------------------------------------------------------------------= =0D=0A=0D=0ASSRS 2008 - I did go through few articles for these questions= but thought i could find a better one here..=0D=0A =0D=0A=0D=0A =0D=0A1.Can= anyone tell...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907805.aspx)= =0D=0A=0D=0AREMOVE DUPLICATE RECORDS, BUT KEEP MOST "CURRENT" - I am working= on a database where we are storing data on multiple servers (SQL 2005),= I am importing the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost904866.aspx)= =0D=0A=0D=0A'-' IN SQL SERVER - Hi! =0D=0A =0D=0A=0D=0A =0D=0Athere=C2=B4s= a sql server named 'srv-dev'.=0D=0A =0D=0AI=C2=B4ve to update certain tables= in 'srv-dev' from my server but sql says that...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost903644.aspx)= =0D=0A=0D=0A=0D=0AADMINISTRATION (http://www.sqlservercentral.com/Forums/Forum5-1.aspx)= =0D=0A---------------------------------------------------------------------= =0D=0A=0D=0AMASS CHANING DTS PASSWORD - Dear all,=0D=0A =0D=0A=0D=0A =0D=0AI= am ask by the management to change all password in our system regularly,= this includes DTS password, =0D=0A =0D=0ADo...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost636045.aspx)= =0D=0A=0D=0A=0D=0AGENERAL (http://www.sqlservercentral.com/Forums/Forum9-1.aspx)= =0D=0A--------------------------------------------------------------=0D=0A= =0D=0ASQL SERVER 2005 INSTALLATION - Hi, guys how are you doing?=0D=0A = =0D=0A=0D=0A =0D=0A i have windows server 2003 and recently, i installed= SQL server 2000 in drive...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost905431.aspx)= =0D=0A=0D=0ASTORED PROCEDURE ORGANIZATION - =0D=0A =0D=0AI currently have= a somewhat large web application.=C2=A0 For some of the code I use Inline= SQL code, not Stored...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost289727.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER NEWBIES (http://www.sqlservercentral.com/Forums/Forum169-1.aspx)= =0D=0A---------------------------------------------------------------------------= =0D=0A=0D=0ALOGSHIPPING - Hi,=0D=0A =0D=0A=0D=0A =0D=0AThis question is= actually not realted to sql server, but I am not able to get the answer= from anywhere...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906582.aspx)= =0D=0A=0D=0ACONCATENATE ROWS (SQL SERVER 2000) - Hi all, I have the following= problem when using sql server 2000=0D=0A =0D=0A=0D=0A =0D=0AThe following= table has around 200 records.=0D=0A =0D=0A=0D=0A =0D=0ACompany / Employee= =0D=0A =0D=0A1005 / A=0D=0A =0D=0A1005...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost862480.aspx)= =0D=0A=0D=0ASTORED PROCEDURE - UPDATE TABLES IN 2 DATABASES - I have to= update 2 databases at once from a stored procedure. How can this be done?= This is what...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost856486.aspx)= =0D=0A=0D=0A=0D=0AT-SQL (http://www.sqlservercentral.com/Forums/Forum8-1.aspx)= =0D=0A------------------------------------------------------------=0D=0A= =0D=0AERROR WHEN CONCATENATING WITH A CASE STATEMENT - Select DISTINCT ACCT.ACCTNBR||','||= =0D=0A =0D=0ACASE PERSPERSTYP.PERSTYPCD when 'EMP' then 'EMP' else null= end as type||','|| PERSPHONE.AREACD||PERSPHONE.EXCHANGE||PERSPHONE.PHONENBR= as CELLPHONE =0D=0A =0D=0AFROM ACCT,PERSPERSTYP,PERSPHONE WHERE (UPPER(PERSPERSTYP.PERSTYPCD)...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost908160.aspx)=0D=0A= =0D=0AACCESSING DEFAULT INSTANCE OF SQL SERVER 2000 ACROSS WAN - =0D=0A= =0D=0AWas wondering if someone could help me with the following query.Is= it possible to connect to a default instance of...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost898556.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2008 - GENERAL (http://www.sqlservercentral.com/Forums/Forum391-1.aspx)= =0D=0A----------------------------------------------------------------------------------= =0D=0A=0D=0AREAD RESOURCE MONITOR? - Hi,=0D=0A =0D=0A=0D=0A =0D=0AI want= to monitor my SQL server better. When running sp_who2, I see that RESOURCE= MONITOR is always running... does...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908105.aspx)= =0D=0A=0D=0AMICROSOFT OLE DB PROVIDER FOR ODBC DRIVERS - Hi GURUs,=0D=0A= =0D=0A=0D=0A =0D=0AI have Notes database to be imported into SQL 2005,= I have the required driver set up and have...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907939.aspx)= =0D=0A=0D=0AINSERTION PROBLEM - I am doing an insertion with a procedure.All= the tables inside procedure is heavilly weighted.=0D=0A =0D=0AProcedure= contains following process.=0D=0A =0D=0ATable A contains...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907599.aspx)= =0D=0A=0D=0AINFORMIX LINKED SERVER PROBLEMS - I have been asked to set up= a few procs that will take data from our core data source in...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907592.aspx)= =0D=0A=0D=0ATRIGGER FOR DELETE - MULTIPLE ROW VALUE - hi, i have a question,= how to read 'value from deleted' from multiple row in trigger for delete?= =0D=0A =0D=0A=0D=0A =0D=0Aselect @id =3D id...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907519.aspx)= =0D=0A=0D=0ADID THE WAY SQL SERVER 2008 EVALUATES A CASE WHEN CONDITION= WHEN USED IN A FILTER? - I am looking at a weird issue since morning. Below= query works fine in SQL Server 2005 but throws a...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907495.aspx)= =0D=0A=0D=0AMERGE & TRANSACTIONAL PUBLICATIONS ON THE SAME DB - Hello,=0D=0A= =0D=0A=0D=0A =0D=0AI've setup a Merge Publication and Subscriber between= Server A (Publisher) and Server B (Subscriber) that works perfectly. But= now...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost904620.aspx)= =0D=0A=0D=0ADETECT IF AN INSTANCE OF SQL SERVER HAS BEEN UPGRADED - I would= like to know a reliable way of detecting if a particular instance of SQL= Server has been upgraded...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost901213.aspx)= =0D=0A=0D=0AVISUAL STUDIO VERSION? - I see there's a download to "upgrade"= Visual Studio 2005 to use with Katmai, but it doesn't allow you to...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost431251.aspx)= =0D=0A=0D=0A=0D=0AT-SQL (SS2K8) (http://www.sqlservercentral.com/Forums/Forum392-1.aspx)= =0D=0A----------------------------------------------------------------------= =0D=0A=0D=0AALTER TABLE ON-THE-FLY - Hi=0D=0A =0D=0A=0D=0A =0D=0AI need= to automate the table update process where a table is imported from a production= snapshot at the end...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907641.aspx)= =0D=0A=0D=0A=0D=0AWORKING WITH ORACLE (http://www.sqlservercentral.com/Forums/Forum1044-1.aspx)= =0D=0A-----------------------------------------------------------------------------= =0D=0A=0D=0ACONNECTING TO ORACLE ON 64-BIT MACHING USING SSIS - Hello All,= =0D=0A =0D=0A=0D=0A =0D=0AI have problem connecting to Oracle server using= SSIS. I'm using Microsoft OLE DB Provider for OLE DB Source...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906086.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER NEWBIES (http://www.sqlservercentral.com/Forums/Forum1292-1.aspx)= =0D=0A----------------------------------------------------------------------------= =0D=0A=0D=0AADVANTAGE OF USING CONSTRAINT WHEN ADDING FK OR PK - Hi All,= =0D=0A =0D=0A=0D=0A =0D=0AI've been reading some sql tutorials and doing= some exercise and found that a Primary Key can be...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908233.aspx)= =0D=0A=0D=0ASQL SYNTAX - Hi All,=0D=0A =0D=0A=0D=0A =0D=0AI'm looking for= the correct syntax to find my workorder number within my serial number= which starts at the...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907871.aspx)= =0D=0A=0D=0AA DBA'S DAILY ROUTINE (AND OTHER ITEMS...) - Greetings all!!= =0D=0A =0D=0A=0D=0A =0D=0AI hope to find an answer to my question(s) here.= If not, I will continue my quest.=0D=0A =0D=0A=0D=0A =0D=0ADue to a...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost907832.aspx)=0D=0A= =0D=0A[SQSRVRES] CHECKQUERYPROCESSORALIVE: SQLEXECDIRECT FAILED - Currently,= we only have 1 Cluster (SQLCLU1). This weekend I was going to add a failover= node; SQLCLU2. So as...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907820.aspx)= =0D=0A=0D=0ACOMBINE MULTIPLE ROWS INTO ONE DYNAMICALLY QUERY QUESTION -= Hi, I have the below table, and I need to combine them=0Dinto one records= dynamically (I'm not sure I'm clear...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost781712.aspx)= =0D=0A=0D=0A=0D=0ASQL SERVER 2008 HIGH AVAILABILITY (http://www.sqlservercentral.com/Forums/Forum1549-1.aspx)= =0D=0A-------------------------------------------------------------------------------------------= =0D=0A=0D=0AIS IT POSSIBLE? MIRROR 2005 SE TO 2008 EE - Is it possible= to mirror a database from SQL Server 2005 Standard Edition to SQL Server= 2008 Enterprise Edition? I...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost904360.aspx)= =0D=0A=0D=0AMIRROR VS. CLUSTER - WHICH SHOULD WE DO? - We have about 130= databases for clients and are looking for high avail.=0D=0A =0D=0A=0D=0A= =0D=0AIn the next year we expect to double...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost900833.aspx)= =0D=0A=0D=0AH A ADVICE - Good day forumites,=0D=0A =0D=0AI am looking into= implementing a H A solution for my company. Its in the transition of being...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost897753.aspx)=0D=0A= =0D=0A=0D=0ASQL SERVER 2008 ADMINISTRATION (http://www.sqlservercentral.com/Forums/Forum1550-1.aspx)= =0D=0A----------------------------------------------------------------------------------------= =0D=0A=0D=0ALIMIT THE CPU USAGE OF SQL SERVER 20008 - Hi Team,=0D=0A =0D=0A= =0D=0A =0D=0ALimit the CPU usage of sql server 2008, when we running the= sql jobs CPU performance using 90% at...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906655.aspx)= =0D=0A=0D=0ATHE SPECIFIED NETWORK PASSWORD IS INCORRECT - Hi All,=0D=0A= =0D=0A=0D=0A =0D=0AI m facing an issue with starting SQL Service with a= particular domain A/c for the past two days....=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906066.aspx)= =0D=0A=0D=0A=0D=0ACERTIFICATION (http://www.sqlservercentral.com/Forums/Forum10-1.aspx)= =0D=0A---------------------------------------------------------------------= =0D=0A=0D=0AMCJ - THE MISSING LINK - If you haven't seen it yet, there is= a pretty good discussion on the Missing Certification based on an Editorial...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost897076.aspx)=0D=0A= =0D=0A=0D=0AEMPLOYERS AND EMPLOYEES (http://www.sqlservercentral.com/Forums/Forum334-1.aspx)= =0D=0A--------------------------------------------------------------------------------= =0D=0A=0D=0ASQL PREMIER FIELD ENGINEER. SOME QUESTIONS ON THIS ROLE... -= There is a role in my location for a Sql server premier field engineer.= Currently i am in application support,...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost838012.aspx)= =0D=0A=0D=0A=0D=0AGENERAL (http://www.sqlservercentral.com/Forums/Forum23-1.aspx)= =0D=0A---------------------------------------------------------------=0D=0A= =0D=0AGRABING PRINT STATEMENTS VIA ADO .NET WHEN NO EXCEPTION IS RAISED?= - Hi there,=0D=0A =0D=0A=0D=0A =0D=0AFor various reasons, I need to build= a small Query Analyser kind of tool in .Net and everything works...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908181.aspx)= =0D=0A=0D=0ALOOKING FOR HELP TO MODIFY A QUERY INTO A STORED PROCEDURE.= - I am trying to convert this query into a stored proecedure. I need a= parameter for Name and a StartDate/EndDate....=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907936.aspx)= =0D=0A=0D=0A=0D=0AANYTHING THAT IS NOT ABOUT SQL! (http://www.sqlservercentral.com/Forums/Forum61-1.aspx)= =0D=0A---------------------------------------------------------------------------------------= =0D=0A=0D=0AWHAT DO YOU DO WHEN YOU DON'T GET PAID? - Long story short...= I've been involved on a project where I had to build a printing application= for a paint...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost907985.aspx)= =0D=0A=0D=0ATODAY'S RANDOM WORD! - HI =0D=0A =0D=0A=0D=0A =0D=0AWhen you= woke up today, or logged-onto Opera Forums, you may have had a dream, a= thought, a scene...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost812849.aspx)= =0D=0A=0D=0AARE THE POSTED QUESTIONS GETTING WORSE? - Is it me, or are the= posted questions getting worse these days?=0D=0A =0D=0A=0D=0A =0D=0AI just= read a post by someone apparently in...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost604325.aspx)= =0D=0A=0D=0A=0D=0AREPORTING SERVICES (http://www.sqlservercentral.com/Forums/Forum150-1.aspx)= =0D=0A---------------------------------------------------------------------------= =0D=0A=0D=0AWORKING WITH MULTIPLE DATASET WITHING A TABLE IN SSRS - Hi,= =0D=0A =0D=0A=0D=0A =0D=0AI have a main dataset which displays invoice details.= I have another dataset which displays meter information for given invoice...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost564445.aspx)=0D=0A= =0D=0A=0D=0AREPORTING SERVICES 2005 DEVELOPMENT (http://www.sqlservercentral.com/Forums/Forum1063-1.aspx)= =0D=0A---------------------------------------------------------------------------------------------= =0D=0A=0D=0ASSRS TEXT BOX MAX LENGTH ISSUE - Hi everyone,=0D=0A =0D=0A=0D=0A= =0D=0AI have a comments fieldname with nvarchar(2000).=0D=0A =0D=0A=0D=0A= =0D=0AWhen pulled into a report, the text value is getting cut off.=0D=0A= =0D=0A=0D=0A =0D=0AIs there...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906939.aspx)= =0D=0A=0D=0AREFER TO REPORT DATASETS FROM EMBEDDED CODE OR CUSTOM ASSEMBLY= (VB.NET) - Hi there,=0D=0A =0D=0A=0D=0A =0D=0AI am currently developing= a report which takes Sales Orders and assigns units from either stock or= already raised...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost572495.aspx)= =0D=0A=0D=0A=0D=0AANALYSIS SERVICES (http://www.sqlservercentral.com/Forums/Forum17-1.aspx)= =0D=0A-------------------------------------------------------------------------= =0D=0A=0D=0AGOOD MDX TUTORIAL ? - Hi, =0D=0A =0D=0ACould anybody recommend= good MDX tutorial ?=0D=0A =0D=0A=0D=0A =0D=0AThanks.=0D=0A =0D=0A=0D=0A(http://www.sqlservercentral.com/Forums/FindPost908212.aspx)= =0D=0A=0D=0ASSAS DEPLOYMENT AND DISASTER RECOVERY - Hello,=0D=0A =0D=0AI'm= just getting into the BI side of SQL Server. I've been asked to develop= some reports and since I'm...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost906321.aspx)= =0D=0A=0D=0APERIOD TO DATE - Hi, I am working with MDX, and I have the following= MDX-statement:=0D=0A =0D=0A=0D=0A =0D=0A[color=3D#0000ff]WITH Member [Measures].[SummarizedStock]= as=0D=0A =0D=0A aggregate(PeriodsTODAte([Time dimension].[(All)]),[Measures].[Stock])= =0D=0A =0D=0A=0D=0A =0D=0ASelect {[Measures].[SummarizedStock], [Measures].[Stock]= } on columns,=0D=0A =0D=0A nonempty([Time Dimension].[Month].members)...= =0D=0A(http://www.sqlservercentral.com/Forums/FindPost902272.aspx)=0D=0A= =0D=0ACALCULATED MEASURE RESULT IS BASED IN DIMENSION PICKED - Dear All,= =0D=0A =0D=0A=0D=0A =0D=0AI have the following Case ... In the Fact:=0D=0A= =0D=0A=0D=0A =0D=0APerson Name Plan ID Earned Days=0D=0A =0D=0AJohn= Smith A 10=0D=0A =0D=0AJohn Smith B = 10...=0D=0A(http://www.sqlservercentral.com/Forums/FindPost899336.aspx)= =0D=0A=0D=0A=0D=0A----------------------------------------------------------------= =0D=0ATo be removed from this list, please visit http://www.sqlservercentral.com/Unsubscribe?u=3DiiXqQhXy%2fO8gGcQpbbm%2bLA%3d%3d&n=3DNewsletterSubscriber= =0D=0AIf you have any problems leaving the list, please contact webmaster@sqlservercentral.com.= =0D=0AThis newsletter was sent to you because you signed up at SQLServerCentral.com.= Feel free to forward this to any colleagues that you think might be interested.= If you have received this email from a colleague, you can register to receive= it at http://www.sqlservercentral.com/links/288241/150901=0D=0AThis transmission= is (c) Copyright 2010 Red Gate Software Ltd. All rights reserved. Contact:= Webmaster@sqlservercentral.com ----boundary_436_fe62e6e5-0c7d-4ffa-b944-02d54c42764b Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable = =0D=0A=0D=0A =0D=0A =0D=0A SQLServerCentral.com Community Update= for 2010-04-23=0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A= =0D=0A =0D=0A = =0D=0A =0D=0A= =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A

Featured Articles

=0D=0A = =0D=0A
=0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A= =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A= =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A

3D"http://www.ic.nc.gov/ncic/pages/spring-cleaning.jpg"==0D=0A

=0D=0AI was reading an article the other day on spring cleaning, talking about all that= data that is out there in the world, on people's machines, and is taking= up space, with almost no chance of being used again. It's seems that storage= is constantly a battle for many people, trying to decide how much to keep,= how much to delete, and if the cost of storing something is worth it.

= =0D=0A

This article is written for the end user, but it could be applied= to servers as well. Especially database servers where we are constantly= adding more data, and at increasing rates over time. For this Friday, I= wanted to ask a poll question related to managing your servers.

=0D=0A

Do= you perform spring cleaning?

=0D=0A

I'm wondering are there any types= of annual maintenance that you perform to manage space and storage, perhaps= archiving or removing old data, or even deleting data that might not be= needed.

=0D=0A

It's been years since I worked at a company where we= performed any kind of maintenance. In most of the systems I managed in= the last decade, the databases have been so small, and storage capacities= growing so fast, that we never deleted anything. In fact, we often captured= data that we knew we wouldn't use, but we didn't stop because we didn't= need to.

=0D=0A

I have tended to come down on the side of "save= everything" you can, but I realize that as your company grows, and= as users keep more and more data around, you can have serious scalability= issues with servers. Usually file servers or Exchange servers, but I can= certainly see database servers costing lots of money as we store more types= of data in there from various portals and applications.

=0D=0A

Let= us know this Friday if you perform maintenance, and if so, what kind.

= =0D=0A

Steve Jones from SQLServerCentral.com

=0D=0A

» Join the debate, and respond to today's editorial on the forums

= =0D=0A
=0D=0A

The Voice of the DBA Podcasts

=0D=0A

=0D=0A

The podcast feeds are available at sqlservercentral.mevio.com. You can also follow Steve= Jones on Twitter:
=0D=0A =0D=0A =0D=0A

=0D=0A Overall RSS Feed: =0D=0A =0D=0A or now on iTunes!=0D=0A =0D=0A =0D=0A

=0D=0A =0D=0A

Today's podcast= features music by Everyday Jones. No relation, but I stumbled on to them= and really like the music. Support this great duo at www.everydayjones.com.

=0D=0A

I really appreciate and value= feedback on the podcasts. Let us know what you like, don't like, or even= send in ideas for the show. If you'd like to comment, post something here. The boss will be sure to read it.

=0D=0A = =0D=0A
=0D=0A = =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A

Today's Question:

= =0D=0A

=0D=0A=0D=0A

Many people think that defensive= programming is a very important technique, but few know whether it's a= recent development or an ancient one. In which year was a paper submitted= to the Royal Society of London (who subsequently published it) which contains= the following passage:

=0D=0A

"The difficulty lies not in detecting= the presence of a mistake, but in diagnosing it. In practice its presence= is nearly always obvious, for the character of most programmes is such= that even a slight error will usually have an extensive effect. If its= presence is not immediately apparent, it will be detected by the arithmetic= checks which must be incorporated in every calculation."

=0D=0ABy Tom Thomson

=0D=0A

=0D=0A =

Think you know the answer? Click here, and find out if you are right.

=0D=0A =

This question is worth 6 points in this category: Trivia.= We keep track of your score to give you bragging rights against your peers.

= =0D=0A

We'd love to give you credit for your own question= and answer. To submit a QOD, simply log in to Contribution Center.

=0D=0A =0D=0A =
=0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A= =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A= =0D=0A =0D=0A = =0D=0A =0D=0A = = =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A

Here's a few= of the new posts today on the forums. To see more, visit the forums.

=0D=0A

SQL= Server 2005 : Administering

= =0D=0A

=0D=0AReporting= services on non default port=0D=0A - =0D=0A =0D=0A=0D=0A =0D=0AHi,= =0D=0A =0D=0A=0D=0A =0D=0AWe have installed & configured SQL Server 2005= reporting services. But on port 80 some other website is runng so we...

= =0D=0A

=0D=0ARunning= SQL Trace=0D=0A - My security team would like to run SQL traces on= one of our database servers. How can I restart a...

=0D=0A

=0D=0ADeleting= Logins and Users in SQL Server 2005=0D=0A - Can anyone help me with= providing with script to delete some specific logins and users assosiated= with that login from...

=0D=0A

=0D=0AHow= much RAM used by SQL server 2005/Set limit on RAM=0D=0A - I forget= this.=0D=0A =0D=0AThere is a way to tell SQL server to use x amount of= RAM ( instead of using all...

=0D=0A

=0D=0Ahow= to find tables that are not using since log time?=0D=0A - Hi ,=0D=0A= =0D=0A=0D=0A =0D=0Ai need to find the tables that are not using since long= time in the database=0D=0A =0D=0A=0D=0A =0D=0Ait would be great...

= =0D=0A

=0D=0Acomportement= on error resume next=0D=0A - Bonjour,=0D=0A =0D=0A=0D=0A =0D=0Aj'ai= fait une requete qui contient un curseur, lorsque j'execute la requete= dans SSMS il y a des erreurs mais...

=0D=0A

=0D=0ABackups= Vs Mirroring VS Replications Vs Snapshot=0D=0A - hi All,=0D=0A =0D=0A= =0D=0A =0D=0AI knew Backup & Restore of DBs only .=0D=0A =0D=0A=0D=0A =0D=0Aevery= time i am getting confused with the terms "Mirroring VS Replications...

= =0D=0A

=0D=0ACopying= system DB's to a new server=0D=0A - hi all=0D=0A =0D=0A=0D=0A =0D=0Awe= have our current live sql server, and a new test sql server.=0D=0A =0D=0Awhen= im finished with test it will...

=0D=0A

=0D=0AReindex= minimally logged - Does not work=0D=0A - Hi=0D=0A =0D=0A=0D=0A =0D=0AI= am using a job to rebuild indexes. Step one I put the database in Bulk= Load. Step 2 I...

=0D=0A

=0D=0Acollation= settings for reportserver database=0D=0A - Hi,=0D=0A =0D=0A=0D=0A = =0D=0AWhat are the collation settings for ReportServer & ReportServerTempDb?= =0D=0A =0D=0A=0D=0A =0D=0AI know that the Reporting Services Configuration= Manager sets the collation settings as...

=0D=0A

=0D=0ADELETING= BACKUP FILES USING A SCRIPT.=0D=0A - Hi =0D=0A =0D=0AAny one with a= script that can delete backups.bk files that are older than 3days, pls= help.

=0D=0A

=0D=0Amore= than 250 indexes on a table=0D=0A - For a customer i have to investigate= a table wich has more than 250 indexes on it. The company who...

=0D=0A

= =0D=0ARow= Level Versioning=0D=0A - Hey,=0D=0A =0D=0A=0D=0A =0D=0AWe're using= SQL Server 2005 in our company and we have an application that may benefit= by using the row...

=0D=0A

=0D=0ABlocking= while running reports=0D=0A - Hi,=0D=0A =0D=0A=0D=0A =0D=0AWe have= SQL Server 2005 Reporting service on Server A & it's databases ReportServer= & ReportServerTemDB are on Server B. From the...

=0D=0A

=0D=0ABest= way to create a weekly email report for SQL Server=0D=0A - Hi,=0D=0A= =0D=0A=0D=0A =0D=0AI have been asked to create a automated "report" of= some sort to provide some kind of statistics on our...

=0D=0A

=0D=0AJob= Enabled and Schedule Enabled confusion=0D=0A - Hello,=0D=0A =0D=0A= =0D=0A =0D=0AI can't seem to reconcile this and can't find a clear explanation= on it.=0D=0A =0D=0A=0D=0A =0D=0AI have a Job set up with...

=0D=0A

= =0D=0ASystem= databases on an iSCSI LUN=0D=0A - Hi All,=0D=0A =0D=0A=0D=0A =0D=0AI= am preparing to build a new SQL Server 2008 Enterprise server. The machine= is very well equipped (Windows...

=0D=0A

=0D=0Asp_send_dbmail= to SMS error=0D=0A - Hi,=0D=0A =0D=0A=0D=0A =0D=0AI am trying to use= sp_send_dbmail to both email and sms address. The email works fine both= in HTML and...

=0D=0A

SQL= Server 2005 : Backups

= =0D=0A

=0D=0ABackup= T-SQL -- Return variables=0D=0A - I'm trying to do a backup in an SP.= Is there any way to get the data outputed by a...

=0D=0A

=0D=0ADifferential= Backup of Database=0D=0A - Dear all,=0D=0A =0D=0AI have a database= of 1 TB size. I planned to take full backup on sunday and differential= backup...

=0D=0A

SQL= Server 2005 : Business= Intelligence

=0D=0A

=0D=0ACalculated= measures in cube giving very poor performance=0D=0A - I have an SSAS= 2005 OLAP cube with 4 dimensions (Including servertime) and 5 measure groups= along with 8 calculated...

=0D=0A

=0D=0AError= -1056899072 : The following system error occurred: Key not valid for use= in specified state. . While deploying Sample Project of SSAS Cubes.= =0D=0A - Error -1056899072 : The following system error occurred: Key not= valid for use in specified state. .=0D=0A =0D=0AI am using Visual Studio...

= =0D=0A

SQL= Server 2005 : CLR= Integration and Programming.

=0D=0A

=0D=0ACentrally= located stored procs?=0D=0A - For instance, say i have ten databases= all of which contain a copy of the same procedure. is it possible...

= =0D=0A

SQL= Server 2005 : Development

= =0D=0A

=0D=0Akeyword= between=0D=0A - I need a sql as "select * from mytable rownum >=3D10= and rownum <=3D 20;=0D=0A =0D=0ADoes ms sql support above sql, if...

= =0D=0A

=0D=0ACriteria= Table=0D=0A - Hi All,=0D=0A =0D=0A=0D=0A =0D=0AI'm kind of newbie,= I have time registered here, but this is my first post. After searching= through the...

=0D=0A

=0D=0AFulltext= search slow sql server 2005=0D=0A - Hi,=0D=0A =0D=0A=0D=0A =0D=0AWe= had a table presently around 12000 rows.It has got upto 10 indexes.It also= had a fulltext index on a...

=0D=0A

=0D=0AExecute= a stored procedure inside a user defined function=0D=0A - Hello,=0D=0A= =0D=0AI need to execute a stored procedure inside a function. Can=C2=A0it= be possible?=0D=0A =0D=0A=0D=0A =0D=0AThanks...=0D=0A =0D=0AMCVilbar=0D=0A= =0D=0A

=0D=0A

SQL= Server 2005 : SQL= Server 2005 Compact Edition

=0D=0A

=0D=0AAdd= a Column to Table=0D=0A - I want to add a column to a table in My SQL= CE database by using the following command:=0D=0A =0D=0A=0D=0A =0D=0AALTER= TABLE...

=0D=0A

SQL= Server 2005 : SQL= Server 2005 General Discussion

=0D=0A

=0D=0AHow= do you hide the SQLAgent90.exe command window?=0D=0A - After some recent= maintenance, our SQL Server machine began to create/display a blank command= window for the SQLAGENT90.exe=0D=0A =0D=0A=0D=0A =0D=0ASomething had been...

= =0D=0A

=0D=0AProcedure= has too many arguments=0D=0A - Posted - 04/20/2010 : 09:17:52 = =0D=0A =0D=0A--------------------------------------------------------------------------------= =0D=0A =0D=0A =0D=0A =0D=0AHi All,=0D=0A =0D=0A=0D=0A =0D=0AI have a SP= that has nearly 27 parameters. No compilation error is shown but when...

= =0D=0A

=0D=0AHow= to tune/speed up a procedure=0D=0A - I have a stored procedure where= I am converting old mainframe data that is in a staging table, and converting...

= =0D=0A

=0D=0ASSMS= - always open file with new connection=0D=0A - After i run a query= in server A, database X, then open a .sql file, two things may happen:= =0D=0A =0D=0A=0D=0A =0D=0A1 - the...

=0D=0A

SQL= Server 2005 : SQL= Server 2005 Security

=0D=0A

=0D=0AHiding= payroll data from admin=0D=0A - we have a new payroll system coming= online using SQL 2005 and questions have come up regarding security, specifically= securing...

=0D=0A

SQL= Server 2005 : SQL= Server 2005 Strategies

=0D=0A

=0D=0AFascinating= challenge: Creating a centralized PK generator to support cross-colo ETL= for a global SaaS product=0D=0A - First some brief background. We have= a global SaaS solution for the insurance industry. Our product has a dynamic= UI...

=0D=0A

=0D=0AHow= to do this ?? csv OHLC data storage=0D=0A - Ok..to give you an idea.= =0D=0A =0D=0A=0D=0A =0D=0ACopy this URL into browser address bar:=0D=0A= =0D=0Ahttp://ichart.finance.yahoo.com/table.csv?s=3D^DJI&a=3D01&b=3D01&c=3D1900&d=3Dignore&e=3D&ignore&f=3Dignore&g=3Dd&ignore=3D.csv= =0D=0A =0D=0A=0D=0A =0D=0AThe result is a CSV file with: Date, O,H,L,C,V,AdjC= with...

=0D=0A

SQL= Server 2005 : SS2K5= Replication

=0D=0A

=0D=0AError= Creating transactional replication or enabling replication on DB=0D=0A= - I an trying to enable transactional replication on some of my databases.= I try to create the publication and get...

=0D=0A

=0D=0ASystem= table which holds the subscriber server name=0D=0A - Hi All,=0D=0A= =0D=0A=0D=0A =0D=0AIm trying to build a query which will give me a snapshot= of our replicated environment showing things such...

=0D=0A

SQL= Server 2005 : SQL= Server Express

=0D=0A

=0D=0ACannot= open user default database=0D=0A - On SQL Management Studio Express= this error appears when i try to see the properties of a LOGIN=0D=0A =0D=0A= =0D=0A =0D=0ATITLE: Microsoft SQL...

=0D=0A

SQL= Server 2005 : SQL= Server 2005 Performance Tuning

=0D=0A

=0D=0AEfficient= way to fetch data through job=0D=0A - Hi=0D=0A =0D=0A=0D=0A =0D=0AI'm= using sql server 2000. I've to write a job which fetches around 10 lakhs= records from a table and...

=0D=0A

=0D=0AGeneral= pointers on reading wait statistics=0D=0A - Hello,=0D=0A =0D=0A=0D=0A= =0D=0AI know it's not easy to answer questions about performance tuning= given the variations and unique circumstances across SQL systems,...

= =0D=0A

SQL= Server 2005 : SQL= Server 2005 Integration Services

=0D=0A

=0D=0ASSIS= question=0D=0A - I have OrderSent column(timestamp datatype) in AS400= file with the below values:=0D=0A =0D=0A2009-03-11-13.07.24.922000=0D=0A= =0D=0A2009-02-18-13.07.24.924000=0D=0A =0D=0A=0D=0A =0D=0AWhen I am trying= to load this AS400 column...

=0D=0A

=0D=0ASend= Mail Task Failing using a Hotmail Account=0D=0A - When I execute the= following code SSMS, the e-mail is sent:=0D=0A =0D=0A=0D=0A =0D=0AUSE msdb= =0D=0A =0D=0AGO=0D=0A =0D=0AEXEC sp_send_dbmail @profile_name=3D'Hotmail',= =0D=0A =0D=0A@recipients=3D'myusername@hotmail.com',=0D=0A =0D=0A@subject=3D'Test= message',=0D=0A =0D=0A@body=3D'This is the body of the...

=0D=0A

= =0D=0AString= Result Set=0D=0A - I am using SQL Server 2005 SP3 on Windows Server= 2003. =0D=0A =0D=0A=0D=0A =0D=0AI have an ExecuteSQL task with the following= SQL...

=0D=0A

=0D=0AKonesans= Checksum 2008 issue=0D=0A - Hi,=0D=0A =0D=0A=0D=0A =0D=0AI installed= Konesans checksum 2008 component on SQL Server 2005 box. It installed successfully= but I am not seeing the...

=0D=0A

=0D=0Aselective= Delta refresh=0D=0A - Hi, we have a set of packages which involve pulling= data from a source table and performin a delta refresh...

=0D=0A

= =0D=0AExecute= Tasks Conditionally?=0D=0A - Is there a function, method, or technique= that someone could share with me?=0D=0A =0D=0A=0D=0A =0D=0AI have a large= dataflow that services records...

=0D=0A

=0D=0AWMI= Event Watcher Task=0D=0A - I am using the WMI Event Watcher Task to= watch for the arrival of a file. =0DI have the following...

=0D=0A

= =0D=0Assis= and ssrs interview questions=0D=0A - can any one tell some interview= questions in reporting service and integration service=0Don sql server= 2005=0D=0D please this is urgent...

=0D=0A

SQL= Server 2005 : T-SQL= (SS2K5)

=0D=0A

=0D=0AT-SQL= t export table to Access=0D=0A - How do I use T-SQL to export a table= of my choosing to a pre-defined access database. I want to...

=0D=0A

= =0D=0ASubstring= Function in Where Clause=0D=0A - I am currently doing string manipulations= with T-sql. In the where statement of my code I have the following substring...

= =0D=0A

=0D=0AConverting= a date=0D=0A - I'm having an issue with trying to have a query run= for todays date. I'm not sure how to have...

=0D=0A

SQL= Server 2005 : SQL= Server Newbies

=0D=0A

=0D=0ASSRS= 2008=0D=0A - I did go through few articles for these questions but= thought i could find a better one here..=0D=0A =0D=0A=0D=0A =0D=0A1.Can= anyone tell...

=0D=0A

=0D=0Aremove= duplicate records, but keep most "current"=0D=0A - I am working on= a database where we are storing data on multiple servers (SQL 2005), I= am importing the...

=0D=0A

=0D=0A'-'= in sql server=0D=0A - Hi! =0D=0A =0D=0A=0D=0A =0D=0Athere=C2=B4s a= sql server named 'srv-dev'.=0D=0A =0D=0AI=C2=B4ve to update certain tables= in 'srv-dev' from my server but sql says that...

=0D=0A

SQL= Server 7,2000 : Administration

= =0D=0A

=0D=0AMass= Chaning DTS Password=0D=0A - Dear all,=0D=0A =0D=0A=0D=0A =0D=0AI am= ask by the management to change all password in our system regularly, this= includes DTS password, =0D=0A =0D=0ADo...

=0D=0A

SQL= Server 7,2000 : General

= =0D=0A

=0D=0ASql= server 2005 installation=0D=0A - Hi, guys how are you doing?=0D=0A= =0D=0A=0D=0A =0D=0A i have windows server 2003 and recently, i installed= SQL server 2000 in drive...

=0D=0A

=0D=0AStored= Procedure Organization=0D=0A - =0D=0A =0D=0AI currently have a somewhat= large web application.=C2=A0 For some of the code I use Inline SQL code,= not Stored...

=0D=0A

SQL= Server 7,2000 : SQL= Server Newbies

=0D=0A

=0D=0ALogshipping= =0D=0A - Hi,=0D=0A =0D=0A=0D=0A =0D=0AThis question is actually not realted= to sql server, but I am not able to get the answer from anywhere...

= =0D=0A

=0D=0Aconcatenate= rows (sql server 2000)=0D=0A - Hi all, I have the following problem= when using sql server 2000=0D=0A =0D=0A=0D=0A =0D=0AThe following table= has around 200 records.=0D=0A =0D=0A=0D=0A =0D=0ACompany / Employee=0D=0A= =0D=0A1005 / A=0D=0A =0D=0A1005...

=0D=0A

=0D=0AStored= procedure - update tables in 2 databases=0D=0A - I have to update 2= databases at once from a stored procedure. How can this be done? This is= what...

=0D=0A

SQL= Server 7,2000 : T-SQL

= =0D=0A

=0D=0AError= when concatenating with a case statement=0D=0A - Select DISTINCT ACCT.ACCTNBR||','||= =0D=0A =0D=0ACASE PERSPERSTYP.PERSTYPCD when 'EMP' then 'EMP' else null= end as type||','|| PERSPHONE.AREACD||PERSPHONE.EXCHANGE||PERSPHONE.PHONENBR= as CELLPHONE =0D=0A =0D=0AFROM ACCT,PERSPERSTYP,PERSPHONE WHERE (UPPER(PERSPERSTYP.PERSTYPCD)...

= =0D=0A

=0D=0AAccessing= Default Instance of SQL Server 2000 across WAN=0D=0A - =0D=0A =0D=0AWas= wondering if someone could help me with the following query.Is it possible= to connect to a default instance of...

=0D=0A

SQL= Server 2008 : SQL= Server 2008 - General

=0D=0A

=0D=0ARead= RESOURCE MONITOR?=0D=0A - Hi,=0D=0A =0D=0A=0D=0A =0D=0AI want to monitor= my SQL server better. When running sp_who2, I see that RESOURCE MONITOR= is always running... does...

=0D=0A

=0D=0AMicrosoft= OLE DB Provider for ODBC Drivers=0D=0A - Hi GURUs,=0D=0A =0D=0A=0D=0A= =0D=0AI have Notes database to be imported into SQL 2005, I have the required= driver set up and have...

=0D=0A

=0D=0AInsertion= Problem=0D=0A - I am doing an insertion with a procedure.All the tables= inside procedure is heavilly weighted.=0D=0A =0D=0AProcedure contains following= process.=0D=0A =0D=0ATable A contains...

=0D=0A

=0D=0AInformix= Linked Server problems=0D=0A - I have been asked to set up a few procs= that will take data from our core data source in...

=0D=0A

=0D=0ATrigger= For Delete - Multiple Row Value=0D=0A - hi, i have a question, how= to read 'value from deleted' from multiple row in trigger for delete?=0D=0A= =0D=0A=0D=0A =0D=0Aselect @id =3D id...

=0D=0A

=0D=0ADid= the way SQL Server 2008 evaluates a CASE WHEN condition when used in a= filter?=0D=0A - I am looking at a weird issue since morning. Below= query works fine in SQL Server 2005 but throws a...

=0D=0A

=0D=0AMerge= & Transactional Publications on the same DB=0D=0A - Hello,=0D=0A =0D=0A= =0D=0A =0D=0AI've setup a Merge Publication and Subscriber between Server= A (Publisher) and Server B (Subscriber) that works perfectly. But now...

= =0D=0A

=0D=0ADetect= if an instance of SQL Server has been upgraded=0D=0A - I would like= to know a reliable way of detecting if a particular instance of SQL Server= has been upgraded...

=0D=0A

=0D=0AVisual= Studio Version?=0D=0A - I see there's a download to "upgrade" Visual= Studio 2005 to use with Katmai, but it doesn't allow you to...

=0D=0A

SQL Server= 2008 : T-SQL= (SS2K8)

=0D=0A

=0D=0AAlter= table on-the-fly=0D=0A - Hi=0D=0A =0D=0A=0D=0A =0D=0AI need to automate= the table update process where a table is imported from a production snapshot= at the end...

=0D=0A

SQL= Server 2008 : Working= with Oracle

=0D=0A

=0D=0AConnecting= to Oracle on 64-bit maching using SSIS=0D=0A - Hello All,=0D=0A =0D=0A= =0D=0A =0D=0AI have problem connecting to Oracle server using SSIS. I'm= using Microsoft OLE DB Provider for OLE DB Source...

=0D=0A

SQL= Server 2008 : SQL= Server Newbies

=0D=0A

=0D=0AAdvantage= of Using Constraint when adding FK or PK=0D=0A - Hi All, =0D=0A =0D=0A= =0D=0A =0D=0AI've been reading some sql tutorials and doing some exercise= and found that a Primary Key can be...

=0D=0A

=0D=0ASQL= Syntax=0D=0A - Hi All,=0D=0A =0D=0A=0D=0A =0D=0AI'm looking for the= correct syntax to find my workorder number within my serial number which= starts at the...

=0D=0A

=0D=0AA= DBA's Daily routine (and other items...)=0D=0A - Greetings all!!=0D=0A= =0D=0A=0D=0A =0D=0AI hope to find an answer to my question(s) here. If= not, I will continue my quest.=0D=0A =0D=0A=0D=0A =0D=0ADue to a...

= =0D=0A

=0D=0A[sqsrvres]= CheckQueryProcessorAlive: sqlexecdirect failed=0D=0A - Currently, we= only have 1 Cluster (SQLCLU1). This weekend I was going to add a failover= node; SQLCLU2. So as...

=0D=0A

=0D=0Acombine= multiple rows into one dynamically query question=0D=0A - Hi, I have= the below table, and I need to combine them=0Dinto one records dynamically= (I'm not sure I'm clear...

=0D=0A

SQL= Server 2008 : SQL= Server 2008 High Availability

=0D=0A

=0D=0AIs= it Possible? Mirror 2005 SE to 2008 EE=0D=0A - Is it possible to mirror= a database from SQL Server 2005 Standard Edition to SQL Server 2008 Enterprise= Edition? I...

=0D=0A

=0D=0AMirror= vs. Cluster - Which should we do?=0D=0A - We have about 130 databases= for clients and are looking for high avail.=0D=0A =0D=0A=0D=0A =0D=0AIn= the next year we expect to double...

=0D=0A

=0D=0AH= A advice=0D=0A - Good day forumites,=0D=0A =0D=0AI am looking into= implementing a H A solution for my company. Its in the transition of being...

= =0D=0A

SQL= Server 2008 : SQL= Server 2008 Administration

=0D=0A

=0D=0ALimit= the CPU usage of sql server 20008=0D=0A - Hi Team,=0D=0A =0D=0A=0D=0A= =0D=0ALimit the CPU usage of sql server 2008, when we running the sql jobs= CPU performance using 90% at...

=0D=0A

=0D=0AThe= specified Network password is incorrect=0D=0A - Hi All,=0D=0A =0D=0A= =0D=0A =0D=0AI m facing an issue with starting SQL Service with a particular= domain A/c for the past two days....

=0D=0A

Career= : Certification

= =0D=0A

=0D=0AMCJ= - The Missing Link=0D=0A - If you haven't seen it yet, there is a pretty= good discussion on the Missing Certification based on an Editorial...

= =0D=0A

Career= : Employers= and Employees

=0D=0A

=0D=0ASQL= Premier Field Engineer. Some questions on this role...=0D=0A - There= is a role in my location for a Sql server premier field engineer. Currently= i am in application support,...

=0D=0A

Programming= : General

= =0D=0A

=0D=0AGrabing= PRINT statements via ADO .Net when no exception is raised?=0D=0A -= Hi there,=0D=0A =0D=0A=0D=0A =0D=0AFor various reasons, I need to build= a small Query Analyser kind of tool in .Net and everything works...

= =0D=0A

=0D=0ALooking= for help to modify a query into a Stored Procedure.=0D=0A - I am trying= to convert this query into a stored proecedure. I need a parameter for= Name and a StartDate/EndDate....

=0D=0A

SQLServerCentral.com= : Anything= that is NOT about SQL!

=0D=0A

=0D=0AWhat= do you do when you don't get paid?=0D=0A - Long story short... I've= been involved on a project where I had to build a printing application= for a paint...

=0D=0A

=0D=0AToday's= Random Word!=0D=0A - HI =0D=0A =0D=0A=0D=0A =0D=0AWhen you woke up= today, or logged-onto Opera Forums, you may have had a dream, a thought,= a scene...

=0D=0A

=0D=0AAre= the posted questions getting worse?=0D=0A - Is it me, or are the posted= questions getting worse these days?=0D=0A =0D=0A=0D=0A =0D=0AI just read= a post by someone apparently in...

=0D=0A

Reporting= Services : Reporting= Services

=0D=0A

=0D=0Aworking= with multiple dataset withing a table in SSRS=0D=0A - Hi,=0D=0A =0D=0A= =0D=0A =0D=0AI have a main dataset which displays invoice details. I have= another dataset which displays meter information for given invoice...

= =0D=0A

Reporting= Services : Reporting= Services 2005 Development

=0D=0A

=0D=0ASSRS= text box max length issue=0D=0A - Hi everyone,=0D=0A =0D=0A=0D=0A = =0D=0AI have a comments fieldname with nvarchar(2000).=0D=0A =0D=0A=0D=0A= =0D=0AWhen pulled into a report, the text value is getting cut off.=0D=0A= =0D=0A=0D=0A =0D=0AIs there...

=0D=0A

=0D=0ARefer= to report datasets from embedded code or custom assembly (VB.net)=0D=0A= - Hi there,=0D=0A =0D=0A=0D=0A =0D=0AI am currently developing a report= which takes Sales Orders and assigns units from either stock or already= raised...

=0D=0A

Data= Warehousing : Analysis= Services

=0D=0A

=0D=0AGood= MDX tutorial ?=0D=0A - Hi, =0D=0A =0D=0ACould anybody recommend good= MDX tutorial ?=0D=0A =0D=0A=0D=0A =0D=0AThanks.=0D=0A =0D=0A

=0D=0A

= =0D=0ASSAS= Deployment and Disaster Recovery=0D=0A - Hello,=0D=0A =0D=0AI'm just= getting into the BI side of SQL Server. I've been asked to develop some= reports and since I'm...

=0D=0A

=0D=0APeriod= to date=0D=0A - Hi, I am working with MDX, and I have the following= MDX-statement:=0D=0A =0D=0A=0D=0A =0D=0A[color=3D#0000ff]WITH Member [Measures].[SummarizedStock]= as=0D=0A =0D=0A aggregate(PeriodsTODAte([Time dimension].[(All)]),[Measures].[Stock])= =0D=0A =0D=0A=0D=0A =0D=0ASelect {[Measures].[SummarizedStock], [Measures].[Stock]= } on columns,=0D=0A =0D=0A nonempty([Time Dimension].[Month].members)...

= =0D=0A

=0D=0ACalculated= Measure Result is Based in Dimension Picked=0D=0A - Dear All,=0D=0A= =0D=0A=0D=0A =0D=0AI have the following Case ... In the Fact:=0D=0A =0D=0A= =0D=0A =0D=0APerson Name Plan ID Earned Days=0D=0A =0D=0AJohn Smith= A 10=0D=0A =0D=0AJohn Smith B 10...

= =0D=0A

=0D=0A =0D=0A
=0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A
= =0D=0A =0D=0A =0D=0A = = =0D=0A =0D=0A =0D=0A =
3D"SQL==0D=0A

A community= of more than 1,215,000 database professionals and growing

=0D=0A =
=0D=0A
=0D=0A =

In this issue

=0D=0A
=0D=0A = = =0D=0A =0D=0A = = =0D=0A =0D=0A = =0D=0A =0D=0A =
=0D=0A

Featured= Articles

=0D=0A

=0D=0A =

=0D=0A

=0D=0A =

Editorial

=0D=0A

=0D=0A=

=0D=0A =

=0D=0A

Featured Script

= =0D=0A

=0D=0A

=0D=0A

=0D=0A
=C2=A0=0D=0A = =0D=0A =0D=0A = = =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A = = =0D=0A =0D=0A = =0D=0A =0D=0A = =0D=0A =0D=0A = = =0D=0A =0D=0A
=C2=A0advertisement
=C2=A0
=0D=0A=0D=0A=0D=0A =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A
3D"SQLFree trial of SQL Backup=E2=84=A2"SQL Backup was able to cut down my backup time significantly AND= achieved a 90% compression at the same time!" Joe Cheng. Download a free trial now.
=0D=0A
=C2=A0
=0D=0A =0D=0A =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A =0D=0A =0D=0A
3D"SQLFree trial of the happiest= SQL tool in the business.
"I downloaded the SQL tools= from Red Gate and the next 14 days were the best SQL days in my life."= Gu=C3=B0bjartur Haraldsson. Download your own 14-days of SQL heaven today.
= =0D=0A
=0D=0A

Row Oriented Security Using Triggers

=0D=0A R Glen Cooper from SQLServerCentral.com

=0D=0A

Handling security= in an application can be a bit cumbersome. R Glen Cooper brings us a database= design technique from the real world that can help you.=C2=A0More »

=0D=0A =
=0D=0A
=0D=0A=

Help, my= database is corrupt. Now what?

=0D=0A

Gail= Shaw from SQLServerCentral.com

=0D=0A

The stuff of nightmares,= a corrupt database. However Gail Shaw gives you some advice about how to= handle this situation.=C2=A0More »

=0D=0A =
=0D=0A
=0D=0A=

Retrieve= Default SQL Server Backup Folder using PowerShell

=0D=0A =

Additional Articles from MSSQLTips.com

=0D=0A

In a previous tip on creating= a Function to Return Default SQL Server Backup Folder , you've seen how= you can create a T-SQL function to query the registry and retrieve the= default SQL Server Backup folder. Is there an easier way to do it in Windows= PowerShell? =C2=A0More »

=0D=0A =
=0D=0A
=0D=0A=

Editorial - Spring= Cleaning

=0D=0A
=0D=0A
=0D=0A=
=0D=0A

Question of the Day

= =0D=0A

=0D=0A=0D=0A=0D=0A

= =0D=0AHarness the power of SQL Server, Microsoft=E2=80=99s high-performance= database and data analysis software package, by accesing everything you= need to know in Microsoft SQL Server 2008 Bible. Learn the best practices,= tips, and tricks from this comprehensive tutorial and reference, which= includes specific examples and sample code, with nearly every task demonstrated= in both a graphical and SQL code method. Understand how to develop SQL= Server databases and data connections, how to administer the SQL Server= and keep databases performing optimally, and how to navigate all the new= features of the 2008 release. Grab your copy today from B&N!=0D=0A

= =0D=0A
=0D=0A
= =0D=0A

Yesterday's Question of the Day

=0D=0A =
=0D=0A

=0D=0A

How many rows are returned= in the last select in SQL Server 2008?

=0D=0A
=
=0D=0Ause tempdb
go
create table a (b int)
go
insert= into a (b) values (1), (2), (3)=0D=0A=0D=0Aselect * from a=0D=0A=0D=0Abegin= tran
truncate table a=0D=0A=0D=0Aselect * from a=0D=0A=0D=0Arollback= tran=0D=0A=0D=0Aselect * from a=0D=0A=0D=0Adrop table a=0D=0A
=0D=0ABy Ninja's_RGR'us

=0D=0A

=0D=0A=

Answer: 3

=0D=0A

Explanation:= The truncate can be rolled back, so the removal of the rows is undone= by the rollback. Compared to the DELETE statement, TRUNCATE TABLE has the= following advantages:=0D=0A

    =0D=0A
  • Less transaction log space is= used.
  • =0D=0A
  • The DELETE statement removes rows one at a time and= records an entry in the transaction log for each deleted row. TRUNCATE= TABLE removes the data by deallocating the data pages used to store the= table data and records only the page deallocations in the transaction log.=
  • =0D=0A
  • Since the operation is logged, it can be undone.
  • = =0D=0A
=0D=0A

=0D=0ARef: TRUNCATE TABLE - http://msdn.microsoft.com/en-us/library/ms177570.aspx

=0D=0A =

» Discuss this question and answer on the forums

=0D=0A =

=0D=0A=0D=0A=0D=0A

= =0D=0AStarting simply and gradually progressing to increasingly advanced= topics, this introduction to the SQL Server database focuses on what is= distinctive about the SQL environment=E2=80=94SQL Server 2008, in particular=E2=80=94versus= other programming environments. Author Robert Vieira draws on his experience= as one of the leading authorities on Microsoft SQL Server and uses his= unique tutorial approach to explain the significant changes to the fundamental= core components of SQL Server 2008. Grab your copy today from B&N!

= =0D=0A
=0D=0A
= =0D=0A

Featured Script

=0D=0A

Copy Table Structure Without Data Using 1 Line Query

=0D=0A =

Kaifi from SQLServerCentral.com

=0D=0A

The script copies= the table structure to the newly created table without copying any data= to it.=C2=A0More »

=0D=0A =
=0D=0A
=0D=0A=
=0D=0A

Database Pros Who Need= Your Help!

=0D=0A
= =0D=0A
=0D=0A
=0D=0A

=0D=0A To be removed= from this list, please click=0D=0A = =0D=0A here=0D=0A

=0D=0A

= =0D=0A If you have any problems leaving the list, please contact= the webmaster@sqlservercentral.com.= =0D=0A

=0D=0A

=0D=0A This newsletter= was sent to you because you signed up at SQLServerCentral.com. Feel free= to forward this to any colleagues that you think might be interested. If= you have received this email from a colleague, you can register to receive= it here.= =0D=0A

=0D=0A

=0D=0A This transmission= is ©2010 Red Gate Software Ltd. All rights reserved. Contact: webmaster@sqlservercentral.com

= =0D=0A
= =0D=0A =0D=0A =0D=0A =0D=0A = =0D=0A =0D=0A ----boundary_436_fe62e6e5-0c7d-4ffa-b944-02d54c42764b--