Viewing 15 posts - 12,856 through 12,870 (of 14,953 total)
Sign doesn't get him precisely what he's looking for, but it could probably be used. And it does reduce even further the typing required. 🙂
July 14, 2008 at 11:27 am
"Direction" isn't a type. It's a column with type Char(1), and a constraint to make sure it's only either "+", or "-".
It looks like I missed a close-parentheses at...
July 14, 2008 at 11:22 am
That looks like the query that will do what you need. What am I missing in your request? What help do you need?
July 14, 2008 at 10:04 am
All of those go under one trade ID in the details table.
Let's say it's trade ID = 1.
select TeamID, PlayerID, Direction -- Raw data
from dbo.TradeDetails
where TradeID = 1
order by DetailDate
or
select...
July 14, 2008 at 9:57 am
Do you want to update the table, or do you want to remove the spaces in a query?
If you want to update the table, here's one way:
set nocount on
update #test
set...
July 14, 2008 at 9:46 am
I'm assuming that Customer IDs aren't shared between databases. Is that correct? If so, then best-match on name is possibly all you can do. You might match...
July 14, 2008 at 9:36 am
To find which team a player went to, you can query all trade details with that player ID, or you can join between details with + an - in the...
July 14, 2008 at 9:34 am
How long does the first transaction run before it errors out?
July 14, 2008 at 9:26 am
Check out these articles and their discussions. All kinds of data on how to keep track of what's been changed, when, and by whom:
July 14, 2008 at 9:15 am
In your data flow object, you can select an XML data source, and pick a file for the connection for it. Then you can make the file variable and...
July 14, 2008 at 9:12 am
If it's columns in a table, then you can use Unpivot and either the sum() - sum(abs()) calculation, or the 0 > Any function. Either will work.
Edit: And, had...
July 14, 2008 at 8:48 am
That would still work with a ledger type structure. It's just an easier data structure to deal with, and it will do what you need on that.
July 14, 2008 at 8:40 am
I also don't have definition and data for dbo.Audits_Comments.
July 14, 2008 at 8:32 am
I took a look at the code, and I need to know if this is a valid statement of the relationships between the various tables:
select *
from dbo.Audits
inner join dbo.Audits_InspectionItems
on Audits.AuditID...
July 14, 2008 at 8:30 am
Since the original example is using a string-split function to break it into rows, I'm pretty sure that's the desired input. But I think he already has what he...
July 14, 2008 at 7:37 am
Viewing 15 posts - 12,856 through 12,870 (of 14,953 total)