|
Here's a few of the new posts today on the forums. To see more, visit the forums.
SQL Job getting stuck at one step
- Hi There,
I have a SQL job with 16 steps but it is getting stuck at step 9. All that step...
Migrate database from sql 2005 to Oracle
- We have one of the server 2005 database 450 GB, business needs to migrate from sql server to Oracle..
Please any...
Ideal table partition size per partition
- What should be the ideal table partition size (per partition) in a DB Server having 80 CPUs and 1 TB...
Auditing SQL Server 2005 Standard Database on Insert Update and Delete operations
- Hi
I have doubt about data Auditing in SQL Server 2005 EE.
Is SQL Server 2005 has any default data...
Database in Recovery mode from last 7 days.
- Hello,
Please any one can help me, how to recover databases or change status from in recovery to normal. i had...
Database in Recovery Pending State
- One of my databases is in [b]Recovery pending[/b] state. I tried to run an Alter command on the database to...
recent transaction log backup was crashed
-
We have a Full backup at 1.00am, and differential backup at ever 4 hours, and transaction log backup is at...
Log backup and running time
- Hi,
Bit of an idea to ponder:
I have a server with 15 user databases ranging in size, the largest being 120GB....
Cube report #error issue
- Hi, All
My report dataset contains 3 date fields,, date1, date2, date diff
datediff field formula is "[b]=cdec(DateDiff(DateInterval.Day,Fields!Date.Value,Fields!Date2.Value))*(-1)[/b]"
and the expression for...
Approch For picking each value from the table and assign to package variable and use.
- Hi all,
I have a requirement like, In my table have a data as shown below
Table:-
ID Tablename
---------------------------
1 Table1
2 Table2
3 Table3
.
.
.
N...
ssis space problem
- Hi friedns i have small doubt in ssis plese tell me how to solve this issuse
i have source table and...
How can I store the username and password without config file
- How can I store the username and password not in the config file or SQL Server in SSIS, so that...
Using calendar date picker in Reporting Services MDX cube report
- Hi, to anyone who can help me I would really appreciate it. I have spent several days trying to make...
Rows Value into Columns
- hi Guys,
Need your help to sort out the Query, i have fix columns Field1 to Field10, and Variant Rows...
Counting all childs and sub-childs of a node in tree
- Hi friends,
I have one problem.
I have one tree which I have saved in sql server table like
[code]ID Node...
Extracting xml data from text column
- I'm very new sql server (oracle dba). I was assigned to work with sql server 2005. The user wants a...
Excel import truncates at 255 characters
- Hi Everyone,
I am trying to import some product data from a xls spreadsheet (provided by an external supplier) into SQL...
replication design advice
- Hello Folks,
we are planning to replicate database for reporting purpose and we need to restrict data based on companyID'
we are...
Poor Performing SQL Server Queries
- Hi Team,
Am using below query to get top 20 poor performing queries, finally i got the result set of 20...
HOw to get Automatic Email notification for High CPU Utilization >80 % with the query which is causing the high CPU usage
-
hi all,
Do any one have any script by which i can get a automatic email notification when a HIGH CPU...
save the result of a lookup task to a variable
- Guys,
I have a dataflow task that creates a header record with a batch ID as an identity column,
I have...
Exporting 30 query output to Excel spreadsheet
- Hi All,
I am new to SSIS and am currently working on a requirement as follows:
We have 30 sql scripts which...
How to make a CASE STATEMENT (Case when ....then...) in SSIS
- Here is my problem : I want to do a REAL "Case Statement" in my code (not only a single If).
I...
daily weekly monthly calculate sum
- hi guys, i need urgent sql query,kindly help me
i need sql output like
given parameter @startdate and @enddate->01/01/2011 to 01/01/2012
output like
state...
select statement is too slow
- Hi,
I have 81 columns in my table. and record count=6690237. clustered index is been applied on PK.
when i...
SQL Server 2008 Management Studio debugger won't......er.......debug
- I've used the debugger many many times to debug stored procedures on the same server, but just lately, when I...
How do I get Distinct entries from Duplicate records?
- Hello Guys;
I have a table which contains duplicate entries (almost all) but with a differentiating PK & another 1 column.
Below is...
Missing Transaction Log Backup Schedule!!!
- Hi all, I have a rather perplexing issue regarding a scheduled T/log backup not executing!!
I'm using an agent job to...
Installing SSAS
- Hi Friends,
I installed SQL server in my machine and now i want to configure SSAS. Can you tell me...
Could the disconnected database be updated?
- Colleagues,
I am in a bad need for ideas.
The situation looks like that. We (my company) have Server A which runs...
How to filter DATE data by DATE-1 day and store filtered result in another column..?
- [size="3"][font="Courier New"]Hi All,
I have below query...
Declare @date DATE
Set @date = '2013-01-29'
Select max(GT.P_CODE) As P,
max(GT.FG_DESCRIPTION) As T_SIZE,
max(GT.PRESSCAVITY_DESC) As PRESSCAVITY_DESC,
max(GT.PLANNED_QUANTITY)...
Stored procedure
- Hi all,
I want to modify the existing stored procedure . What is the process and how can i know the new...
identity order is not in order
- We have a table in our system that has an identity to one of the field.
One would think when you...
Need help comparing two execution plans
- Hi all,
We're testing an upgrade from SQL 2005 to SQL 2008 R2 in our data warehouse environment. I've run into...
How much data have you replicated with Transactional Replication?
- Hi, I have a 4.7 TB Database and I need to replicate a good deal of that to another server....
Facing issues in extracting 80k rows into excel using SSRS 2008 R2 (looking for fix)
- getting an error which says no. of rows cannot exceed 65k in order to extract to excel.
Help with sorting this recursion
- [code="sql"]
DECLARE @DateLevel int = 0, @DateLevelUp int, @FTID int = 7
CREATE TABLE #FieldRels
(
FTIDBase int,
FTIDCalc int
)
INSERT INTO #FieldRels(FTIDBase, FTIDCalc)
SELECT 6,...
What causes open transactions sys.dm_exec_requests?
- What actually opens a transaction? For example, if I look at the currently running queries, several may say running but...
Naming Convention for UDF's, Views and SP's
- I recently has to take a written SQL test for a client and one of the questions got me stumped...
ExecuteNonQuery returns -1 even if rows are successfully inserted
- I have am using ExecuteNonQuery to get number of rows inserted But i found that it returns -1 even though...
Last Sunday of a month in sql
- Hi all,
I would like to know how to find last sunday of a month in sql... I wanted basically to...
Read Committed Snapshot Isolation
- when Read Committed Snapshot Isolation is ON,
1. whether Phantom Reads possible ?
2. whether tempdb needs to managed ? (how?)
3. when a...
Replication and Data Migrations
- I have a test database and transactional replication set up and running properly. Now that it is up, I have...
logical consistency-based I/O error
- Hello,
when i want to see properties of one data base ,or run maitenancetools or backup sqlserver give me this...
Unable to install sql server 2008 Management studio
- Dear Sir/Madam,
I downloaded Visual Studio 2010 from microsoft so its automatically installed sql server 2008 R2. In Sql server 2008...
Convert Non Clustered PKs to Clustered
- My database that I have inherited suffers from many of the tables have PKs setup to have but they are...
Matching rather unstructured character data against lookup tables
- Hello all,
I am looking for advice on possible approaches to take to solve a specific problem. The problem is in...
Trying to select XML data for one tag from an text field and isn't returning the data I need
- Hello DBA's/Developers,
I'm trying to select XML data from one tag that is stored in an TEXT data type and can't...
Neew T-SQL for setting date
- UPDATE [tblTransactions] SET [AllocatedDate] = ........
Basically I need to set AllocatedDate to "Today" using something like "Now" or "Now()"... any ideas?...
problem with join T-Sql
- i have customer table and it have 1 foreign key from other table in it then i have service table...
Comparing Conditional WHERE clauses
- I've been trying to find performance stats on different ways to do conditional WHERE clauses.
Take these two for example:
[code="SQL"]...
Comparing figures based on relative date
- Hi All
I'm having trouble working out a solution to the following issue:
I have a table containing a date and a...
Want one values with similar ids
- Hi friends
i have a question
Id Transcation amount
1 20000
1 30000
2 40000
2 20000
2 20000
3 45000
3 30000
3 5000
I want result as
1 20000
2 40000
3...
Calculating a Moving Average
- Hi,
I have a need to calculate a moving average. Ultimately, I need to convert the Select statement into an Update...
export table with a geometry column
- I tried to export data from one server to another server, they are both 2008.
When using export wizard I got...
Error converting data type varchar to numeric
- I get this error when using this function:
[code="sql"]CREATE FUNCTION dbo.[PSBPR_FormatData] (@DataValue DECIMAL(15,4),
@DataType NCHAR(1))
RETURNS VARCHAR(20)
AS
BEGIN
DECLARE @FormattedData VARCHAR(20)
SELECT @FormattedData = CASE WHEN @DataType...
Need a backup script to get backup history status for the latest backup from all linked sql servers
- Hi Guys,
I am actually in need of a t-sql or a powershell script that will help me get the latest...
Get the substring after second white space
- I have a requirement here. There is a string '0005 ganeshkumar A999'. I want the last four character 'A999' as...
Transaction log backup file is too big
- Hi
(I'm new here, and am in a new job where I don't know the setup and have nobody else to...
SSRS reports - 2 different data sources - 1 cube and 1 flat table using same parameter
- Is it possible for a flat table to use the same parameter as the cube? I know several flat tables...
SSRS matrix issue
- i've been wracking my brain trying to find a solution...it's probably right before my eyes.
i have a list of...
Cluster Installation Time Out Issue
- Hi.
I want to create a failover cluster and always get the following error while creating the windows server cluster : Security...
SQL Log Shipping out of sync - Comparing Log shipping Primary and Secondary Servers
- Hello all,
I have a SQL log-shipping High availability setup from a Primary Server to a Secondary Server which ships transactional...
Lock Pages in Memory
- I have Windows 2008 R2 with SQL 2008r2,RAM 16 GB
If I am Setting SQL MIN & MAX memory to 13 GB,...
Migrate jobs from 2000 to 2008
- Hi All,
I need your advice to process migrate the SQL SERVER AGENT JOBS from 2000 to 2008. Please advice...
Index fragmentation
- Dear Experts
I have made a tracing file, then run tuning advisor. The recommendation shows a lot of indexes. I looked...
Fullbackup succeeded but no files in disk
- Hi ,
we are taking full backups every date with script .backup job status is successfull but only one or two...
Running "DBCC FLUSHPROCINDB" as part of maintenance plan?
- Hey guys,
I was looking through the database maintenance plan the other day, and it looks our vendor has Flushing...
Restore space needed WAY more than bak file size
- I have a 14GB uncompressed .bak file that I'm trying to restore to a new 20GB (20,000MB) database that I...
Compression backup
- Any pros and cons for using compression backup?
I know the obvious one that could save up a lot of space...
SSIS 2008 Connection Error
- Client: Windows 7
Server: Windows Server R2
SQL: SQL Server 2008
Trying to connect to Integration Services via SSMS2008. I'm getting the following...
differential backup almost the same size as full
- We have a vendor production (surveryor) with SQL server database. The recovery mode is simple, we don't need to do...
Execution of SQL Job, the moment a file exist
- Hi,
I have a scenario..
I have a SQL Job which needs to be executed based on demand, means the moment...
Sql Server 2008 R2 takes more memory
- one of our new production server launched 3 days before, Windows 2008 and Sql server 2008 R2 with sp2..
there...
SQL server performance condition Alert
- HI experts
Do any one knows a good article explains in detail how to use sql server performance condions ALERTS
Thanks lot
Transaction Log Backup
- Our company has never backed up the transaction log file, and is now about 143 gig, with about 35 gig...
Server configuration
- Hi,
I've a customer that has a weird infrastructure implemented to store his customers databases.
He has 4 SQL Servers, with 1...
Reporting Services Logs not being deleted
- We have a server running SQL 2008 SP1, Standard. We recently discovered that SSRS isn't cleaning up it's log files....
Semi-SQL Related (correlated sub query maybe? ok bad humor)
- Hi all :-D
So I have been on a self-edification kick lately. There are so many big concepts surrounding business disciplines...
Today's Random Word!
- HI
When you woke up today, or logged-onto Opera Forums, you may have had a dream, a thought, a scene...
Are the posted questions getting worse?
- Is it me, or are the posted questions getting worse these days?
I just read a post by someone apparently in...
one parameter returning all,remining parameters also need to return ALL
- i have 6 parameters ,in this 4th parameter returns "ALL" 5th and 6th also in need to return all
5,6 have...
format the number in indian currency format
- hi.... to all..
i'm using sql server 2008 express with advance edition with BIDS...
i've developed one report in that employee salary.....
Total indian currency format
- hi... to all
i've created an report in that report i've one salary field
now i want to display the total amount...
Using value from target table to filter values from source
- Hello, I want to import all the rows from a source table where the value of a column (ID) is...
Output multiple SQL query result into excel using SSIS
- Hi All,
I am new to SSIS and am currently working on a requirement as follows:
We have 30 sql scripts which...
How often do you back-up your data warehouse?
- Hi All,
I'm trying to find a happy medium to a back-up plan for an up-and-coming data warehouse.
The DB won't...
Fact/Dimension design suggestions
- I'm from Higher Education and I'm working on a warehouse so our recruitment folks can compare application counts of certain...
Error attaching MdxStepByStep.mdf for SQL Server 2008 MDX Step by Step.
- When I try to attach the MdxStepByStep database I get the following error:
One or more files do not match the...
|