Viewing 15 posts - 3,001 through 3,015 (of 3,482 total)
Nothing doing:
-- set up table
use tempdb;
GO
CREATE TABLE t1 (
PO_Num INT PRIMARY KEY,
DaysToTravel INT,
DaysInWhse INT);
GO
-- add some sample data for folks to play with
INSERT INTO t1(PO_Num, DaysToTravel, DaysInWhse) VALUES
(1,10,20),
(2,5,30),
(3,7,40);
-- now...
May 20, 2014 at 9:25 pm
non-deterministic - "A property of a computation which may have more than one result."
So functions like NEWID() and GETDATE() are non-deterministic because they do not return the same result every...
May 19, 2014 at 8:36 pm
What was it? (Sorry, that's just how I learn!)
May 18, 2014 at 2:26 pm
SSRS will use the same sort order as the query/stored procedure you base the report on, so if you have the data sorted in your stored procedure, you're all set.
If...
May 16, 2014 at 11:32 pm
COALESCE maybe? You might need to use a windowing function to get the previous row (LAG?) Something like
COALESCE(MyColumn, LAG(...))
May 15, 2014 at 9:22 pm
Even if they do, so what? Just push a new front end out. Or is each user modifying his own front end? In that case, you might...
May 15, 2014 at 9:18 pm
Maybe I'm missing something, because my results are different from yours... here's my SQL and results:
insert into Readings(MeterID, ReadingDate, Reading)
SELECT 4 ,'10/17/2013 12:00',5.1709 UNION ALL
SELECT 4,'10/17/2013 12:15',5.5319 UNION ALL
SELECT 4,'11/17/2013...
May 14, 2014 at 11:26 pm
One thing I would do when loading the data is to timestamp the new records when inserting them.
DECLARE @TimeNow DATE = GETDATE(); -- sets the value of the variable to...
May 14, 2014 at 10:02 pm
Why do you need to do that? Why not just index the ClientName/ID in the table, and then use a stored procedure to filter the data?
For example:
CREATE PROC usp_CompanyRecords
...
May 14, 2014 at 11:53 am
Here's one example of configuring SSRS to use gmail.
http://db-pub.com/forum-80534388/data-base-mail-configuration-using-gmail-giving-error.html
May 14, 2014 at 11:32 am
Can you not change the spelling in your list? Otherwise, you would have to use a function to remove the spaces in your store names, and then match on...
May 13, 2014 at 7:30 pm
Makes sense...
select 'WholeFoods' as Keyword
will never match 'Whole Foods'. If you fix that, your problem is solved.
May 13, 2014 at 6:40 pm
You could use a UNION query and then just use NULL for the missing columns in the dataset with fewer columns. The sorting might be an issue. Hard...
May 13, 2014 at 3:10 pm
Viewing 15 posts - 3,001 through 3,015 (of 3,482 total)