Viewing 15 posts - 31 through 45 (of 64 total)
sqlmaverick (1/23/2015)
Logic:ensure the Docket number is 5 digits and populate with leading zeros if not.
I have to check input...
January 23, 2015 at 1:01 pm
rcharbonneau1 (1/20/2015)
January 20, 2015 at 2:52 pm
ft55 (1/19/2015)
At an O/S level Windows Server 2008 R2 is configured with Region and Language as English (United Kingdom)
At a server Collation...
January 19, 2015 at 3:03 pm
maxlezious (1/15/2015)
I have decided to use Wufoo online forms so collect evaluation data from my clients.
Each form will have different type of data.
For example
Form 1 might have:
Client id, name,...
January 16, 2015 at 8:27 am
Skip (1/14/2015)
January 14, 2015 at 2:51 pm
You do it the other way around... You have SSRS execute the stored procedure.
For the dataset, you can have it call a stored procedure on your server.
I usually have...
January 9, 2015 at 1:57 pm
If you have the SSRS report pointing to your stored procedure, then that's only one place you need to make changes.
January 8, 2015 at 2:57 pm
I'm not sure if Excel would be aware of the guts of SSRS.
If I had to do something like this, I'd have Excel pointing at the stored procedure that is...
January 7, 2015 at 10:25 am
It looks like you're talking about building some dynamic SQL.
The general outline is to dynamically build a string that can be executed to build your result table. Here is ...
January 6, 2015 at 1:10 pm
It also depends on where you're storing your backups.
If you backup to tape, you can run into issues with misplacing a tape from 5 years ago, or having a tape...
January 6, 2015 at 12:57 pm
If you're declaring the variables and want to set them on the same line it's something like this
DECLARE @MyInt INT = 0
If the variable is already declared earlier in...
January 2, 2015 at 3:00 pm
pietlinden (12/31/2014)
I have something like the standard sales data warehouse structure, but...
December 31, 2014 at 1:02 pm
At a general conceptual level, here's how a system like that would work. Or at least, this is how I might tackle something like this.
Create a queue table for processing.
Create...
December 31, 2014 at 7:42 am
If you want to do it from the back end, I can think of one possibility.
Have your stored procedure add the IDs to a queuing table and process the IDs...
December 30, 2014 at 2:57 pm
Another option is
SELECT *
FROM (
SELECT id
,rowid
,value
,readingdate
,ROW_NUMBER() OVER (
PARTITION BY id
,datepart(hh, readingdate)
,CASE
WHEN datepart(n, readingdate) <= 30
THEN 0
ELSE 1
END ORDER BY id ASC
,readingdate DESC
) PartID
FROM #tempreadings
) a
WHERE partid = 1
July 31, 2014 at 7:16 am
Viewing 15 posts - 31 through 45 (of 64 total)