Viewing 15 posts - 2,326 through 2,340 (of 3,480 total)
August 20, 2015 at 10:05 pm
One option is to modify the Connection properties that are being used to execute the stored procedure.
I'm assuming you're using Excel 2013... if not, I don't know - haven't used...
August 20, 2015 at 7:56 pm
Install a version of SQL Server. SSMS should be included. You can download the databases from here[/url]
Then you just move the databases to the DATA folder and then attach...
August 19, 2015 at 1:55 pm
something like this?
SELECT jobnbr, tasknbr
FROM dataTable
EXCEPT
(SELECT d1.jobnbr, d1.tasknbr
FROM dataTable d1
WHERE d1.item_Type = 'TASK'
INTERSECT
SELECT d2.jobnbr, d2.tasknbr
FROM dataTable d2
WHERE d2.item_Type = 'HOLD');
(I may be missing the weekNbr, though...)
I have to...
August 19, 2015 at 1:21 pm
One option might be to create two separate matrices with the same grouping and stack them.
got any dummy data for us to play with? (either create table and insert scripts...
August 19, 2015 at 12:40 pm
How about...
SELECT EmpName, SwipeDate, Time_In, Time_Out, DATEDIFF(minute,Time_In,Time_Out) AS WorkTimeMins
FROM
(SELECT TOP 100 PERCENT EmpName, SwipeDate, MIN(SwipeTime) AS Time_In, MAX(SwipeTime) AS Time_Out
FROM #EmpHours
GROUP BY EmpName, SwipeDate
ORDER BY EmpName, SwipeDate) x;
August 19, 2015 at 2:16 am
Couple of things ... someone just asked this question on here... (answered maybe 15 minutes ago), and your INSERTS don't work.
if you use ROW_NUMBER() and partition by the UserID column...
August 19, 2015 at 12:28 am
Seems like you might be making this harder than it really is.
Is it not true that the odd-numbered "logins" for each employee are clocking in and the even ones are...
August 19, 2015 at 12:10 am
I guess you could create a report snapshot and expire it after some reasonable amount of time (depending on how often you need the data in the report refreshed). ...
August 18, 2015 at 7:08 pm
I would probably start by reading this article[/url] by Pinal Dave on Simulating LAG in SQL Server 2008.
If possible I would persist the shredded XML to a table and then...
August 17, 2015 at 3:06 pm
Yeah, we silly Anglos can't read that well...
August 17, 2015 at 12:57 pm
Yeah, if you use a smaller font, you can squeeze more letters into the same space. <eye roll >
August 17, 2015 at 11:00 am
Why would you want to?
Sounds like a "Death by UDF" in the making... Kevin Boles did a presentation on it, and it's here
August 14, 2015 at 3:08 am
I think this is right... and it's missing the relationship between Card and Transaction...
CREATE TABLE CCTransaction (
TransactionID INT,
Credit_Card CHAR(19),
TransactionDate DATE,
Result INT
);
INSERT INTO CCTransaction
SELECT 1 AS ID,'3578 4539 4328 4381'...
August 14, 2015 at 12:09 am
Maybe this will help.
http://blog.sqlauthority.com/2011/05/12/sql-server-import-csv-file-into-database-table-using-ssis/
August 13, 2015 at 5:28 pm
Viewing 15 posts - 2,326 through 2,340 (of 3,480 total)