Viewing 15 posts - 18,271 through 18,285 (of 26,489 total)
Looking at BULK INSERT in BOL (Books Online, the SQL Server Help System), it appears that to accomplish what you are trying to do you will need to use dynamic...
November 20, 2009 at 9:12 am
Agree, I must. Need DDL for the table, sample data, and expected results based on sample data.
Follow the instructions in the article that Bru provided (also happens to be...
November 20, 2009 at 9:10 am
Give this a shot:
with LatestInfo as (
select
[Name],
max([DateTime]) as [DateTime]
from
dbo.MyTable
group by
[Name]
)
select
mt.*
from
...
November 20, 2009 at 7:36 am
with EmailRecords as (
select
row_number() over (partition by Emailaddress order by Id desc) as RowNumber -- Assuming Highest Id is most recent
Id,
...
November 20, 2009 at 7:30 am
If you are using a named instance, you probably aren't connecting to port 1433. You may want to check the firewalls on the client sides as well.
November 20, 2009 at 7:18 am
Depending on your experience, the Wrox book Professional SQL Server Integration Services 2005 was the book I purchased and used when I started working with SSIS.
Best thing you can do...
November 20, 2009 at 7:09 am
Please read the first article I reference below regarding asking for help.
Ut would greatly help us in helping you if you would post the DDL for your table, sample data...
November 20, 2009 at 7:05 am
Edit: Sorry, wrong thread....
November 20, 2009 at 7:04 am
Can you provide a partial DDL for the table, primary key(s) and e-mail columns, and some sample data for the table. Also, how do you want to identify which...
November 20, 2009 at 6:59 am
nigel. (11/20/2009)
Needs to be shown the error of his ways 🙂
I would, but don't...
November 20, 2009 at 6:44 am
Not a bad solution but using a recursive CTE and a multi-statement TVF this function is not very scalable.
Here is another solution to this problem:
CREATE function [dbo].[DelimitedSplit] (
...
November 20, 2009 at 6:43 am
Here is my shot at what you need.
select
om.Name,
ISNULL(pitem1.RehabTypeID, pitem1.StaffID) as Player1,
ISNULL(pitem2.RehabTypeID, pitem2.StaffID) as Player2
from
dbo.OptionsMapping...
November 19, 2009 at 11:35 pm
Viewing 15 posts - 18,271 through 18,285 (of 26,489 total)