Viewing 15 posts - 7,711 through 7,725 (of 8,753 total)
previn1980 (7/26/2014)
I want use for practice and learning purpose the SQL Server Integration Services ETL tool and Business Intelligence Developement Studio to builds/develop packages/etl processes.
What I want ask...
July 26, 2014 at 11:38 am
Lynn Pettis (7/26/2014)
July 26, 2014 at 10:57 am
smtzac (7/26/2014)
July 26, 2014 at 6:01 am
Here is a very efficient Window Function method, one scan of each table.
😎
USE tempdb;
GO
DECLARE @Employee TABLE (EmployeeID INT, EmployeeName VARCHAR (100), EmployeeDOB DATE)
INSERT @Employee VALUES (101, 'James Bond', '07/07/1945'), (102,...
July 26, 2014 at 5:52 am
Duplicate post, answer to this one please.
😎
July 26, 2014 at 5:10 am
pietlinden (7/25/2014)
If you post proper CREATE TABLE scripts and INSERT scripts to populate your table(s), you will probably get an answer...
10 minutes preparing the data sample, 1 minute writing the...
July 26, 2014 at 4:42 am
Here is a Window function running total example, performs quite nicely;-)
😎
USE tempdb;
GO
create table #current(acctNum int,
dates date,
transtype char(10),
amt INT
)
insert into #current(acctNum, dates, transtype, amt)
values (11,'7/1/2014','debit',1),
(11,'7/2/2014','debit',3),
(12,'7/3/2014','credit',5)
create table #balance (acctNum int,
AsOfDate date,
balance INT
)
insert...
July 26, 2014 at 4:03 am
Koen Verbeeck (7/26/2014)
Eirikur Eiriksson (7/26/2014)
Koen Verbeeck (7/26/2014)
Sean Lange (7/25/2014)
Eirikur Eiriksson (7/25/2014)
Sean Lange (7/25/2014)
Eirikur Eiriksson (7/25/2014)
Jeff Moden (7/25/2014)
Sean Lange (7/25/2014)
July 26, 2014 at 3:14 am
lambrache.theodor (7/26/2014)
select database >task> export....select source DB>select target ...>select table ..
Had this problem few times in the passed when I needed a dataset from SQL Server in a local Access...
July 26, 2014 at 3:10 am
Koen Verbeeck (7/26/2014)
Sean Lange (7/25/2014)
Eirikur Eiriksson (7/25/2014)
Sean Lange (7/25/2014)
Eirikur Eiriksson (7/25/2014)
Jeff Moden (7/25/2014)
Sean Lange (7/25/2014)
July 26, 2014 at 3:05 am
Here is a little snippet to play around with, mind you one cannot blindly read the statistics output;-)
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SET_SIZE INT = 1000000;
DECLARE @BUCKET INT =...
July 26, 2014 at 2:52 am
Here is a quick demonstration of a dynamic SQL solution, in case there is no option of changing/adding any tables in the database.
😎
USE tempdb;
GO
/* TEST DATA */
CREATE TABLE dbo.Planner(
[Name] [nvarchar](255)...
July 26, 2014 at 2:06 am
rodeliorodriguez 26453 (7/26/2014)
July 26, 2014 at 1:24 am
A quick thougt, any difference in the select if you add the DISTINCT directive?
😎
July 26, 2014 at 1:17 am
Jeff Moden (7/25/2014)
ken.stoner (7/25/2014)
The cross tab works exactly the way I want it too!Thank you for all your help!
Until you get a 5th row. 😉 Then, you'd need to...
July 25, 2014 at 11:41 pm
Viewing 15 posts - 7,711 through 7,725 (of 8,753 total)