|
Here's a few of the new posts today on the forums. To see more, visit the forums.
Where is log for cube process errors ?
- Hello,
When I process one of the cubes I get errors.
Can anyone tell me where these "cube process errors" will...
Fix orphaned users created WITHOUT LOGIN.
- So I have restored a database to a new server and a check reveals a DB-user being orphaned. However, this...
Deattaching a replicated subscription database
- hi,
what is the best way of get rid of the log file from subscription database. it is growing big in...
Help!... Memory Use on Windows 2008 R2, SQL Server 2005 x64. The physical is 98%
- Hello to everyone, first... sorry for my english... I'm from Colombia.
I have a situation that i can't understand, a SQL...
SQL Server 2005 auditing using event notifications
- Hello!
I'm trying to implement SQL Server audit using service broker and event notifications.
Along with usual audit info such as successful...
SSIS Package Fails
- Hi All,
The SSIS Package Fails saying
"The AcquireConnection method call to the connection manager "Excel_Source" failed with error code 0xC0202009"
Here...
SSIS Deployment
- Hi All,
I need a suggestion for ssis package deployment. In my solution 100 ssis packages are there, these are...
Need some live scenario in SSIS
- Hi All,
I am new in SSIS. I need some scenario based in SSIS controls. Can any body help me to...
BCP Error !! Trying to copy Data in Excel format but errors !!
- Hi Experts,
I am trying to fetch the data to excel format and getting the below errors. I think my SQL...
NEED SSIS,SSAS Coding Standard
- Hi Frnds
I am looking for Some Coding Standards, that we need to keep in mind for implementing MSBI Project.
Any Standards...
Data Migration Options
- We have SQL Server databases located on different servers for our hosted web application.
Each database can house multiple 'customers' along...
Need to replicate multiple databases (publications) to one central subscriber
- I was wondering if there is anyway to replicate mutiple databases (database with the same schema on different servers) to...
Execution plan
- Hi All,
I have 2 sql sevr 2005 instances with same build no,same edition.
I restored the database from one...
Self referring join condition (tblx.col1 = tblx.col1) alters perf. - WHY?
- Can someone explain [b]WHY[/b] adding the self referring join condition on acct.BillingType decreases the Estimated number of rows by a...
INDEX REBUILD
- Here is what I did
1. Ran the following command
ALTER INDEX ALL ON APPOINTMENTS Rebuild;
2. Ran the following query
select index_id, avg_page_space_used_in_percent,...
Issue with slowly changing dimension component
- Hi all,
First time i am trying with SCD component. Just a hands on practice to know about the component....
Minimum Value 3 Fields > 0
- This seems like it should be easy but I can't seem to come up with a simple formula. Need the...
Switch rows and columns
- Hey all, getting a bit of friday afternoon brain freeze ...
Say I have this data:
[code]
CREATE TABLE #Test
(
ID INT IDENTITY PRIMARY...
Performance of Joins over Updates
- I was wondering if anyone knows which is faster, to build data for my reporting table..
To write new data using...
Filling Buckets
- A customer had reported an issue with one of our stored procedures so I took a look and found that...
convert xls templates into rdl files
- Hi,
I'm given my report requirements (Labels, layout, columns, tables) as an excel template which I convert into SSRS reports. At...
column to calculate the balance stock dynamically
- I have a table as shown below and would like to have the balance quantity which should be dynamically calucalted...
Decyphering waitresource
- I have a spid that shows a wait resource in the form n:n:nnnnnnn . The first number is dbid and the...
display table in hierarcies
- i want to display a table in Hierarchie.
the thing is that the table dosen't have parent id or somthing like...
Maintenance plan versus 3rd party software
- Hi all,
We are about to replace our infrastructure, inclusiding backup and tape library. For backup and recovery, we will use...
Tempdb : ONE Data File per cpu
- Good Day,
w had an auditing team running Microsoft Assessment on our database servers . This product recommends that the principle of...
2008 and 2012 client connectivity on a same machine
- Hello,
I'm setting up new ETL servers and I might need to install both 2012 and 2008 clients. Because I can't...
Table Partition
- Hi All,
I have two filegroup named with primary and secondary filegroup. The secondary filegroup contains two files called Bet_2009.ndf and...
Incrementing a column without seting Identity property
- [code="sql"]
CREATE TABLE [dbo].[LKP_PARAM_TYPE](
[PARAM_TYPE_ID] [int] NOT NULL,
[PARAM_DESC] [varchar](50) NOT NULL,
CONSTRAINT [XPKLKP_PARAM_TYPE] PRIMARY KEY CLUSTERED
(
[PARAM_TYPE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE...
Permission issue or query issue
- Hi friends,
I have small doubt in below query. This query is use for zip the file and when i...
deleting data from partitioned table
- We have a table that is currently partitioned on a date column. The data has been copied to a warehouse...
weird update statement
- I have a table name Test_name.which has two columns full_name and nick_name.I have values only in full_name where as Nick_name...
Replication between different databases
- Hi all,
I was wondering if anyone has had any experience using replication in the description text below:
Detailed below is a...
UNION Help
- I have a database that contains a number of individual tables for each sales agents. I need to find a...
Upgrade to 2008R Collation
- Hi All,
I am waiting for project in whcih I need to upgrade sql server 2000 to 2008R2. The main...
Parameter error
- Hi All,
I am week in write the query. Below query i am executing for upload the data to s3...
ASYNC_NETWORK_IO wait type on stored procedure that has finished giving the results to the web application and that is blocking another stored procedure
- Greetings,
I am a developer and am not a DBA or a Networking Engineer. I am just a lowly Developer. Please...
Check that a specific Group By condition does not exist
- [code="sql"]
CREATE TABLE #tblBlocks
(
TemplateID int,
BlockID int,
FieldID int,
BaseStage bit
)
GO
INSERT INTO #tblBlocks (TemplateID, BlockID, FieldID, BaseStage)
SELECT 1,...
Default Language Setting of Database
- Hi All,
Our default language setting for a DB is set to US-english , but our client insists now that it was...
Passing comma separated values for IN list in DELETE statement from SQLCMD
- Hello,
Following are the contents of script Delete_employees.sql.
[quote]USE CompanyDB
BEGIN TRAN
DELETE FROM dbo.employee
WHERE empid IN ([b]<Comma separated values passed from SQLCMD>[/b])
COMMIT TRAN;[/quote]
[b][u]Question:[/u][/b]
Will...
Insert Into temp table and then copy into 'real' table
- Hi Chaps
I have a stored procedure which is scheduled to run hourly - this stored procedure deletes all rows from an...
Script Out Database Mail Settings?
- Anyone bother to have created a script to Reverse Engineer / Script out your EXISTING database mail settings?
I set up a...
Conversion failed when converting character string to smalldatetime data type.
- Good Day all
I have been working on a union query for a while, this afternoon i had to add a...
[Help Needed] Looking for a solution for this case
- Hi all,
I have a task which required me to sum value of all children level from bottom to top...
ALTER COLUMN fails when changing datatype of PRIMARY KEY
- I am currently working on a transaction table that has an IDENTITY column of type INT, which also has a...
Adding GROUP BY to PIVOT operator (how?)
- I am trying to show how many employees were hired in each department by startyear (2001, 2002, 2003) and then...
Looking for a set based solution to this data
- I hope a better description is in my 3rd post below.
T-SQL Help Needed
- CREATE TABLE Issue
(
id int not null identity(1,1) primary key,
name varchar(10)
)
CREATE TABLE Jrn
(
id int not null identity(1,1) Primary Key,
issue_id int,
created_dt datetime
)
ALTER...
T-SQL help
- I have two identical tables. Table 1 has 12,000 rows and Table 2 has 11,000 rows. I need to insert...
How to insert empty row
- I need to insert empty row in a temp table within a stored procedure. The data types are varchar, varchar,...
days into completed weeks only
- Hi
how do i easilty convert days into weeks (obviously Days/7 will give me weeks as decimal)
Problem i have...
output ve space while printing in sql server 2000
- alter procedure Goals_history
(
@stuid nvarchar(22),
@startyear nvarchar(22),
@endyear nvarchar(22),
)
as
begin
select name,class,noofsubject,rank,test from @tab1
union
select name,class,subject,rank,test from @tab2...
Looping through table
- Hi,
I have to write a query and i am not sure how to go about it. I have a table...
Fetching values under condition
- Hi to all I have a Query which is fix like
SELECT StudentId,EnrolmentId,SessionId,SchoolId, Name, ClassGroupId, ClassId, ClassName FROM ViewStudentTable WHERE IsBlock...
rCTE vs LIKE for Hierarchy
- Hi people,
I'm tunning a database and i've stumbled by some hierarchy queries, on the good old form of ID,...
Importing only rows with column data in specific columns.
- Hi all -
I have an interesting scenario that i would like some input on. I have a requirement to import...
UPDATE when the values are the same
- Does an UPDATE query overwrite existing values if the already existing value is the same as the one your updating...
Reverse Of Number without Using reverse()
- Hi,
How will i reverse the number in SQL Server with out using reverse()
Regarding row size
- Hello Masters,
As per "Maximum Capacity Specifications for SQL Server" (for details "http://msdn.microsoft.com/en-us/library/ms143432.aspx") Bytes per row8 is "8060".
That means each row...
Data file Shrinking
- Hello Masters,
How the shrinking works? What happened when shrinking log file or DB file ? on my test db (whose actual...
log_reuse_wait_desc column says LOG_BACKUP - what should i do ?
- I'm using Sql Server 2005.
When i tried to compile a stored procedure i got the below message
The transaction log for...
CONVERT varchar (50) to Decimal (4,4), 2012 Server Express
- Greetings,
I'm about as newbie as they come.
I am using SQL Server Management Studio Express 2012 on a Win7 machine.
BACKGROUND:...
How do I fix Damaged allocation pages
- I get this result from dbcc checktable
DBCC results for 'RELATED_PARTY'.
Msg 8946, Level 16, State 3, Line 1
Table error: Allocation page...
SQL Cursor Help
- I need to amend the below Cursor to output into a table off which I can Query/join the output of...
What would the SQL2008 equivilent be to outer union corr?
- I'm still trying to get the hang of SQL2008.... I've been using SAS and had no problem joining these tabes...
An error occurred while reading the log for databas
- Hi there,
My name is Leo, i am a DBA in my company. Nice to meet you all in this forum....
Replicated table does not show words with accent
- I have a database with transactional replication, more or less 15 days replicated table does not recognize stress, obs. the...
Using High Availability to move to a new server?
- We have an existing windows 2003 server with sql 2008 r2 enterprise. Its part of a Hyper-V configuration.
A new windows...
Wait Stats Investigation
- Hi All
I'm using the following script to assess my highest wait_types ona fairly new SQL Server (+- 2 weeks)
[code="sql"]
SELECT TOP 15
wait_type...
2008 indexed view r2 standard edition
- Not to be confused just to clairfy.
i have a 3rd pary db which our warhouse team goes after. Their extract...
SQL Jobs monitoring tool
- We have a large number of jobs running on SQL DB servers. Is there a tool to find out what...
Auto encryption of new databases
- I am using SQL 2008 R2 Enterprise with database encryption. Performance is fine.
I just wonder if there is a way...
Memory Leak SQL 2008 R2 64 bit?
- OS - Windows 2008 R2 64 bit (no service pack installed on operating system level)
SQL - SQL SERVER 2008 R2 64 bit...
collation issue when upgrade to 2008 R2
- Hi All,
I am waiting for project in whcih I need to upgrade sql server 2000 to 2008R2. The main...
Single user mode during upgrade to SQL 2008?
-
IN place method for the database upgrade SQL 2000 to 2008,
Can I go for below one of the steps?
first database...
Cumulative Update #7 fails
- I've downloaded CU7 for SQL 2008R2 SP1, KB 2703282, and attempted to install it on test instances.
Only one was successful,...
SQL Server 2008 R2 SP1 Install failed
- Hi
for some reason my install of SP1 crashed and I cant re-run the installation again.
it gives me error...
Job Failed.
- While i was starting the job i got following error.
JOB RUN: 'Full OnlineLogging' was run on 9/13/2010 at 3:03:52 AM
DURATION: 0 hours,...
SQL Agent - SQLSTATE 21000 error
- I have found weird error in my SQL Agent which is produced about every 30 seconds. The message reads as...
70-461
- Hi,
Id like to take this exam and looking for some good prep.. My T-SQL skills are basic at present...
Fantasy football 2012
- Only 2.5 short months to football, can you believe it? I'm not ready, hardly feels like it's summer time yet.
You...
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...
Counting Rows on a LookupSet Function in Reporting Services
- I have two data sets.
- Data1 contains a column (Tech) that has ID's for technicians.
- Data2 contains a column (Tech)...
Expand Drilldowns automatically when print report
- Hi people, do you know a way, when a user prints a report, to expand automatically all drilldowns?
All this in...
IIf statement!?
- Hi people.
I need to customize a textbox on my report:
if the field value = 'True' then write 'Allowed'
How do I...
SSRS Chart issue..Bars dont show up but data does
- I have created a column chart in which the data is showing up properly on the x and y axis...
export report to excel and excel should create formula fields for the sum fields of the report
- When I export a report to excel and my report has sum fields, I would like excel to create the...
Need to implement the Business rule row by row
- Hi,
How can we agonize,Row by row like cursor in SSIS, what controls will be using,
Here am reading data from...
Integration Services contain Analysis Services Processing Task. Fails but works in Analysis Services
- The dimensions have processed Successfully prior to the updating of the SEN Cubes
The attribute key cannot be found when processing:...
refresh Excel report based on Offline-SSAS-Cube (a *.cub-File) not possible
- Hi,
we can't refresh the Excel-reports based on a *.cub file even if there is a newer .cub-file.
Background:
We use SQL Server...
|