T-SQL EXP Function Return different results for SQL2012 to SQL2005
Hi I have come across the EXT built in function in SQL server and it seems this function returns different value in SQL2012 environment to SQL2005. running the code below returns different results in...
View ArticleCan we add pages before SSRS report starts
Hello Everyone, I m preparing a report in which first two pages will have some content about the report and company, then we will start displaying the report. Is it possible using SSRS to add pages...
View ArticleHow to convert query mysql to sql server 2005?
how to transulate mysql code in sql server example : select h1.name, h1.grade, h2.name, h2.grade from (Highschooler as h1 join (select id1, id2 from likes join (select id2 as id1 ,id1 as id2 from...
View ArticleI have an adhoc query that gets executed thousands of times a day, just the...
I have an adhoc query that gets executed thousands of times a day, just the three parameter values change.
View Articlelarge insert not working while using begin transaction
Hi, I have a INSERT of 1.5 million rows into the main fact table from another temp table. The sql statemnt is like Insert Into (column1, column2 ...) select column1, column2.... from This insert is...
View ArticleDB mirroring - Manual failover with witness
Hi, Scenario: Server 1 : Principal Server 2 : Mirror Server 3 : Witness Mode: High-Performance (synchronous) Qs. 1 - As I understand, witness is used for automatic failover. However, in our scenario we...
View ArticleI am getting this error while i try to deploy the ssis package from...
![alt text][1] [1]: /storage/temp/1337-2-14-2014+11-54-48+am.jpg
View ArticleOverlapping Subreports on report
I have a report, left most column has a persons details, on following columns, I have sub reports in each, that contains multiple records of data that shows up. No matter what I do, the sub reports do...
View ArticleInternational Data: Import/Export and Querying
I have been given a new project to build and support a SQL 2005 Database that contains International data. We will start out with the following: France, Germany, Sweden and UK. I know there are special...
View ArticleSql2005 Cursors
,I am trying to create a cursor in sql2005. I have looked a some examples an noticed the data from the cursor is moved into variables, why is this done, is the data not accessible from the cursor?...
View ArticleSQL Server database monitoring using Tripwire
Hi All, We are using Tripwire Enterprise tool to monitor and capture audit events in one of our SQL Servers Environment: SQL Server 2005 SP4 We have already setup tripwire to monitor and capture events...
View ArticleFind reporting server instance from Reportserver database
Hi All, I have a SQL server 2005 database instance which has the Reportserver and ReportservertempDb databases on it. I checked the Reporting services configuration tool and it could not find the SSRS...
View ArticleIs there posible to delete data from a table without deleting the database ?
For exampe i have a SQL server and i want to delete all data from iside this but keep the talbes and colums ... is any comand posible?
View ArticleSQL colum -1 to user
So imagine 2 colums in 1 table letz sat Table name "Gold_Cest" and the colums 1 "Members" colum 2 "Gold" now the thing i want to take -1 Gold from the tolat gold of members in the Gold_Cest table i am...
View ArticleDatabase size
Our SQL 2005 database is supposed to be 300mb. we were being told the database is full I queried: use "MY_DB" exec sp_spaceused and got: database_name = MY_DB database_size = 12.00mb unallocated space...
View Articlehow to solve the run time error '-2147217865(80040e37)'
how to solve the run time error, '-2147217865(80040e37)' microsoft[odbc sql server driver] (sql server), invalid object name'ecounter--parcelcoddisasterrecover
View ArticleHow to store files in sql without converting to byte array
How to store files in sql database without converting into byte array....
View ArticleT-SQL find rows of a later date for each transaction
Hi All, Here is my table, call it transactionhistory ID Action Date version 1 abc 2014-01-01 0 1 pqr 2014-01-03 1 1 xyz 2014-01-05 2 This is correct behavior, i.e. for each txn (ID=1), "abc" action...
View ArticleSQL Query Logic
Hi , I have the following scenario Kindly let me know which is the best way to do it. Thanks in advance. ![alt text][1] [1]: /storage/temp/1555-screen+shot+2014-06-24+at+12.14.06+pm.png
View Articleinstalling sql on the server
I need quick a what to do when installing sql on the server. Not a workstation.
View Article