Viewing 15 posts - 4,726 through 4,740 (of 6,395 total)
where do empemail and reportinfo come from? do you have a dataset with them in or are they parameters?
mailto:Parameters!EmpEmail.Value?subject=Parameters!ReportInfo.Value
mailto:Fields!EmpEmail.Value?subject=Fields!ReportInfo.Value
June 7, 2012 at 8:50 am
Grant Fritchey (6/7/2012)
And all this drives me back to my point, it's a flipping nightmare. Contact Microsoft... several times.
+1 to that, we worked with our reseller to become compliant back...
June 7, 2012 at 8:44 am
GSquared (6/7/2012)
anthony.green (6/7/2012)
GSquared (6/7/2012)
You might be better off on a per-processor license. 2012, if I understand the licensing correctly, has...
June 7, 2012 at 8:37 am
GSquared (6/7/2012)
You might be better off on a per-processor license. 2012, if I understand the licensing correctly, has a per-core...
June 7, 2012 at 8:29 am
Based on the data and the expected output the following should do the trick
declare @sampledata table (Type int, SubType1 int, SubType2 int, Qty int)
insert into @sampledata values
(1,1,1,5),
(1,1,2,5),
(1,2,1,7),
(1,2,2,6),
(1,3,1,4),
(1,3,2,5),
(2,1,1,3),
(2,1,2,5),
(2,2,1,6),
(2,2,2,5),
(2,3,1,9),
(2,3,2,5),
(3,1,1,7),
(3,1,2,5),
(3,2,1,9),
(3,2,2,4),
(3,3,1,5),
(3,3,2,6),
(4,1,1,6),
(4,1,2,5),
(4,2,1,3),
(4,2,2,5),
(4,3,1,6),
(4,3,2,7),
(5,1,1,9),
(5,1,2,5),
(5,2,1,7),
(5,2,2,5),
(5,3,1,2),
(5,3,2,3)
select type, SUM(qty)...
June 7, 2012 at 6:58 am
Using the sample datab Gianluca provided, the below gets the expected result output
DECLARE @sampleData TABLE (
id int,
StartDate datetime,
DEP char(1),
EndDate datetime
)
SET DATEFORMAT DMY
INSERT INTO @sampleData VALUES(1,'14/02/2011','A','14/02/2011')
INSERT INTO @sampleData VALUES(1,'14/02/2011','A','15/02/2011')
INSERT INTO...
June 7, 2012 at 6:52 am
First off I will say that you first should look at getting more disk space allocated to your servers.
Shrinking a database is a costly operation and causes a range of...
June 7, 2012 at 1:19 am
I will have to take a look when I get home then and see if there is somewhere local where I can get hold of some
June 6, 2012 at 8:23 am
First off I would run this, to see if the DB's have any free space in them
DECLARE @sql NVARCHAR(MAX)
SELECT @sql = REPLACE(
CAST(
(
SELECT 'USE ' + QUOTENAME(name) +';' + CHAR(13) +...
June 6, 2012 at 8:04 am
First of all I will say that shrinking data files is not best practise and should only ever be done in the event of low disk space and an increase...
June 6, 2012 at 7:53 am
shivashankara9 (6/6/2012)
anthony.green (6/6/2012)
what have you searched for so far, there are plenty good topics on the web on what you wantPlease check your PM.
You have just quoted what you are...
June 6, 2012 at 7:33 am
Refactored it, but a bit messy on the email, need to format it how you want it to by building strings into variables, then passing that into sp_send_dbmail, but works,...
June 6, 2012 at 7:10 am
clayman (6/6/2012)
June 6, 2012 at 6:31 am
I use this to insert into a table every day the current used, free and total space. You could refactor it to use sp_send_dbmail and build up a message...
June 6, 2012 at 6:26 am
Viewing 15 posts - 4,726 through 4,740 (of 6,395 total)