Viewing 15 posts - 2,506 through 2,520 (of 8,761 total)
The script doesn't have errors as such but it would possibly error on either the table name or missing schema prefix, suggest you add the table schema and use the...
January 2, 2017 at 5:01 am
I have the suspicion that this may be down to cached connection/meta data in Excel, suggest you look into clearing those.
😎
January 2, 2017 at 3:35 am
You will have to do more detailed analysis of the problem, without further information there is no way one can even start to guess where the bottleneck might be.
😎
January 2, 2017 at 3:28 am
Hi and welcome to the forum. Here are two possible solutions, the first uses conventional aggregation and the second one uses the window function aggregation, the former seems to perform...
January 1, 2017 at 3:35 am
mmsheehan (12/29/2016)
A fatal error occurred while...
December 29, 2016 at 9:48 am
SQLserver_learner (12/29/2016)
Both the queries are working. but it is giving 2 rows instead 1 row for NULL values for column [MDDS01_PORTFO_D]. one row is having latest timestamp...
December 29, 2016 at 4:20 am
Simple row_number solution (didn't see John's fine solution before posting)
😎
USE TEEST;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.MMDDS01_PORTFO_LIST') IS NOT NULL DROP TABLE dbo.MMDDS01_PORTFO_LIST;
CREATE TABLE [dbo].[MMDDS01_PORTFO_LIST]
(
[MDDS01_UUI_D] ...
December 29, 2016 at 4:04 am
Snargables (12/28/2016)
December 28, 2016 at 8:59 am
Are all databases in simple recovery or are any in full recovery? If any in full recovery, are all of those with regular log backups?
😎
Strongly suggest that you use...
December 28, 2016 at 8:13 am
Quick thought, it is a good practice to use HOLDLOCK with the MERGE statement to avoid race conditions, whether that's in an explicit transaction or not is not really relevant.
😎
December 28, 2016 at 6:59 am
SQLserver_learner (12/28/2016)
Thanks for the response. So, where can I post my requirement? Bcoz I need it. Thanks in advance..
Simply copy and paste from the document and then use the IFCodes...
December 28, 2016 at 2:26 am
SQLserver_learner (12/28/2016)
I attached word doc with all my requirement. I need assistance to figure out the right query based on my requirement. Thanks in advance..
Hi and welcome to the forum....
December 28, 2016 at 2:08 am
Quick question, are the rows identical or are you comparing individual columns/column combinations?
😎
December 27, 2016 at 9:03 am
szejiekoh (12/26/2016)
Hi all,I am setting up monthly maintenance plan for my sql server.
So far i have only setup clean job history and clean backup files.
Strongly suggest that you use...
December 26, 2016 at 5:55 am
SQLUSERMAN (12/25/2016)
Would using UserID column (GUID) or BankAccount column (9 digit integer) as the primary key column be less efficient than using an ID column of type integer...
December 25, 2016 at 6:04 am
Viewing 15 posts - 2,506 through 2,520 (of 8,761 total)