|
Here's a few of the new posts today on the forums. To see more, visit the forums.
Maintenance plan DB bAckup plan failing
- I have scheduled the DB backup in our server but frequently its failing with below error
Standard Edition (64-bit)
RTM
9.00.1399.06
Agent is running...
Database Diagrams tool in SQLSERVER
-
Is there any Database Diagrams tool in SQLSERVER ?
Hello :
We are planning to design new Datawarehousing product. I am taking...
oracle golden gate slow reponse / lag observed during index rebuild job in sql 2008 r2
- Hi
I want help if any one having oracle golden replication exeprience in SQL 2008 R2 edition. I have a source...
Merge publication keeps bulk copying
- The merge publication keeps bulk copying tables into the subscriber database. It will copy the data over to the subscriber...
Getting Error "All queries combined using a UNION..." Why??
- Hello -
I have SQL View (which I would like to go on record I did not write it) that has...
Stop joined aggregates from multiplying
- I have three tables. A customer table, an invoice table, and a payment table. I want to pull, in a...
exec master.dbo.xp_cmdshell
- [b][/b]:ermm: Its been working all this while but for some reason it has stopped working for only 1 of our...
Split input string into multicolumn - multirows
- Hello all - I am having hard time to split an input string into multicolumn - multirows.
Task - Create a stored procedure that...
Missing Indexes on Temp tables
- The DMV dm_db_missing_index_details has suggestions on missing indexes on permanent tables but I need some suggestions on ways to identify...
Partitioning
- Hi
I have problem with partitioning.I am testing partitioning ,but i am a bit confused about it.
I don't know the concept...
How to Shcedule set of SP,executing sequencly
- Hi,
I want Scedule the Set of Stored Procedures
And if any one SP gets errors then next one should gets...
70-433 exam
- Hi All,
how to prepare 70-433 exam
can any one provide material
plz plz...
Grouping by time - can't figure this out!
- I have a bunch of data with timestamps - there may be any number of rows in a given time period,...
Profiler shows LoginName as 'sa', but 'sa' is disabled on the instance.
- As the subject says, I have a profiler running and see some things executing as 'sa' in the LoginName field,...
Getting "severe error" when referencing a table that doesn't exist
- This is the error (all databases):
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command....
T-SQL to get all available instances on the server
- hi,
can any body help me out on T-SQL to get all available instance names on the server.
bulk Insert Error
- Hi I am trying to execute .tbl file to bulk insert in the server ServerA. The .tbl file was saved...
Access table from different instance
- hello experts,
i want to write a select query which will access table from different instance, but cant create linked server...
Question about RPC for linked servers.
- OK, so I am trying to figure out what the purpose of the RPC option for sp_serveroption is for.
I understand...
Value of column dependent on the values of others. How can I do it . Please help !
- Hello , this is the first time i'm posting here, but this time i really need your help.
I need to...
Issues Getting Max(Status) by ID and Max(StatusDate)
- I'm having one of those moments where I'm sure I'm just over thinking the problem, but none the less I...
Distributing the greatest value by rank in SQL
- This seems as though it would be terribly simple...but I am stuck.
I need to distribute as "average sales" value among...
Rebalancing data from a single file to multi-file setup
- Hi, I'm inheriting a series of databases that have grown beyond 100GB yet only have a single datafile. I've been...
MDW best practices
- Hi All,
Please share the best practices to be followed to cinfigure MDW. I am goint to implement MDW to capture...
Get continuous date with count
- hi all,
i am having a requirement like this
input
EmpID reportdate reportname noofdays
47 11/29/2012 Thursday 1
47 11/30/2012 Friday 1
47 12/4/2012 Tuesday 1
47 12/5/2012 Wednesday 1
47 12/7/2012 Friday 1
47 12/10/2012 Monday 1
48 11/29/2012 Thursday 1
48 11/30/2012 Friday 1
48 12/4/2012 Tuesday 1
48 12/5/2012 Wednesday 1
48 12/7/2012 Friday 1
48 12/10/2012 Monday 1
48 14/10/20
single quote in sql statement
- I would like to set a variable that is a sql statement, but the syntax about the quotes is so...
how to read xml variable using openxml
- Hi,
I have a xml like this.
<DocumentElement>
<tLockhistory>
<lockrequesteddate>2012-12-14T00:00:00+05:30</lockrequesteddate>
<lockexpirydate>2012-12-29T00:00:00+05:30</lockexpirydate>
<createddate>2012-12-14T00:00:00+05:30</createddate>
</tLockhistory>
<tLockhistory>
<lockrequesteddate>2012-12-14
concatenate of two values
- Hi
i have table like
[code="sql"]
CREATE TABLE [dbo].[Mas_Shift]
(
[ShiftId] [int] IDENTITY(1,1) NOT NULL,
[FacilityId] [int] NULL,
[ShiftType] [nvarchar](5) NULL,
[Shift] [nvarchar](3) NULL
)
INSERT [dbo].[Mas_Shift] ([ShiftId], [FacilityId], [ShiftType],...
Help Required to handle multiple employees with overlapping datetimes (concurrent activities)
- Morning,
I have a data set that contains employee shift data, when they logged in and logged out of a certain...
Need help with a query
- I have the following query which returns a column name, the database name the column is from, the week (out...
Finding combinations of values
- My table structure
CREATE TABLE trefClientShares{
intLMid int NULL,
intMLid int NULL,
intISid int NULL,
intFRid int NULL
}
I need to figure out...
ORDER BY Should be same as my input in IN()
- DECLARE @T TABLE(ID INT,NAME VARCHAR(10))
INSERT INTO @T VALUES(1,'PPP')
INSERT INTO @T VALUES(2,'AAA')
INSERT INTO @T VALUES(2,'ZZZ')
INSERT INTO @T VALUES(3,'XYZ')
INSERT INTO @T...
NPV and IRR in SQL
- Years ago I wrote a piece on the Net Present Value (NPV) function in SQL. If you don't know or...
Script logins
- Hi
When you script a login using SSMS the script generated always has "* For security reasons the login is created disabled...
Need help on an if statement
- Hello all.
Im still learning in t-sql trying to get my certification thats why I am not to familiar wich functions...
Problem Setting up SQL Logshipping Monitor Serve
- Hi
I'm trying to set up log shipping between 3 SQL Server 2008R2 servers, where there is a Primary server and...
Quick question about using CRYSTALDISKMARK to check LUNs
- Ok,
I've used CRYSTALDISKMARK before, bot never on a drive or LUN with mount points.
I am about to validate performance on...
Archieving Data
- Hi All,
need advice from the Experts ..
I have been asked to do archieving of the data..
because
The data in the databases...
transactional Replication- Two log files
- For some reason we have two log files on one of our production database. We have transactional replication setup on...
Strange issue when attaching databases
- We have a sandbox SQL Server that we use mostly for playing around with reporting data; basically stuff like running...
restore db from multiple diff vs last diff
- which option (below) will the restoring the 2nd (last) diff be faster?
option 1: restore full (10TB), 1st diff (3TB), 2nd...
Deadlock due to intra-query parallelism
- Hi
We have been having deadlocks a lot and to track them I enabled Trace Flags 1204 and 1222.
The output...
unable to connect on all instances on remote machine
- Hi, I have a virtual network with machine DC (AD DC), Machine A and Machine B all on the same...
Count is returning a count of all rows
- I have a dataset column in a table region and I want to count on a condition with an expression...
Is averaging textboxt value possible
- Test results - Textbox header column in Table region
Pass - Textbox value
Fail - Textbox value
Fail - Textbox value
Pass - Textbox value
etc.
etc.
I have a textbox in...
Loading change data from AS400 (or other source systems)
- Greetings all!
So I will keep this concise as I can; I have a source as400 system I am extracting data...
|