Viewing 15 posts - 946 through 960 (of 1,243 total)
Jeff Moden (5/27/2014)
Ryan Keast (5/27/2014)
I had the following script that used to work in SQL2000 but now that I have migrated it, it no longer does.
,TEN.[tncy-sys-ref]
+...
----------------------------------------------------
August 7, 2014 at 5:48 pm
Jeff, I wanted to get your take on something Gail posted once :
http://www.sqlservercentral.com/Forums/FindPost485499.aspx
The way I read it, a clustered index (pk or not) won't necessarily cause a huge slowdown to...
----------------------------------------------------
August 7, 2014 at 5:36 pm
TFS has a schema compare feature, not sure if you use this source control program. I fished this out with a quick Internet search on applying the schema change function....
----------------------------------------------------
August 7, 2014 at 5:07 pm
TomThomson (8/2/2014)
MMartin1 (8/1/2014)
----------------------------------------------------
August 5, 2014 at 2:25 pm
+1 for SSIS, and given what you said
If something already exists it should leave it, unless it's edited in the excel sheet
and so on and so on
SSIS has a Merge...
----------------------------------------------------
August 1, 2014 at 5:49 pm
Alvin Ramard (5/28/2014)
ChrisM@Work (5/28/2014)
Alvin Ramard (5/28/2014)
Luis Cazares (5/27/2014)
The code makes clear that there's a concatenation based on multiple values on a single column.
CASE WHEN A.[COL_1] LIKE '%cricket%' THEN 'ck'...
----------------------------------------------------
August 1, 2014 at 5:40 pm
I know this is not a current post but one thing to check is that in your desing environment you are pointing to the same data source as in the...
----------------------------------------------------
July 25, 2014 at 6:45 pm
I am curious if the report accesses the same tables set for all users, if not then look at index maintenance on the tables used by the slow user.
----------------------------------------------------
July 25, 2014 at 6:40 pm
One thing you can do is ...
create procedure myProc
(@status char(1))
AS
BEGIN
set nocount on;
IF (@status ='B')
BEGIN
/* run this code with no filtering by the field 'active'*/
END
ELSE
BEGIN
SELECT /* your...
----------------------------------------------------
July 25, 2014 at 6:32 pm
I guess I need a definition of a 'user' and a definition for a 'customer' for you are asking us to understand the business logic to see if your query...
----------------------------------------------------
July 25, 2014 at 6:13 pm
In the Aggregator transform you select columns to group by and those to aggregate on, so the other 23 would indicate a group by. Note that you can use this...
----------------------------------------------------
July 25, 2014 at 6:01 pm
I am not sure how well I follow as there are details being lost in translation that I am not getting. It seems though you could benefit from a Calendar...
----------------------------------------------------
July 24, 2014 at 6:38 pm
Lookup SQL Server Agent jobs in books online. It is fairly intuitive to do what you are requiring.
For database mail you need to create a profile or use a...
----------------------------------------------------
July 24, 2014 at 6:20 pm
If I run this
declare @salesperson table(pid int,name nvarchar(10),sales int)
insert into @salesperson
values (1,'gary',0),(2,'sam',0)
declare @salesHeader table(id int,pid int, sdate date,amt int)
insert into @salesHeader
values
(2,1,'2014-04-21',130),(1,1,'2014-05-29',100), (4,2,'2014-04-14 ',40), (3,2,'2014-05-29 ',90)
select * from @salesHeader...
----------------------------------------------------
July 24, 2014 at 6:04 pm
It doesn't seem to update the results the right way, at least from my understanding..
I get results as
pidnamesales
1gary 100 ...
----------------------------------------------------
July 24, 2014 at 5:54 pm
Viewing 15 posts - 946 through 960 (of 1,243 total)