Viewing 15 posts - 406 through 420 (of 683 total)
Thanks Peter. I think we both understand what can be done here and the implications. I just wanted to check there weren't any gaps in my (or your) knowledge
June 15, 2006 at 7:37 am
Peter - Could you please show me an example of what can't be done? I'd like to understand.
Here's one example of dealing with multiple addresses, but I'm guessing this isn't...
June 15, 2006 at 5:44 am
nileshsane - re a few of your questions:
Yes - see above example.
June 15, 2006 at 4:50 am
Staging table? Peter - do you know we can just do this?
--data
declare @doc varchar(8000)
set @doc = '
<root>
<Customer>
<Cust_id>101</Cust_id>
<Cust_fname>"George"</Cust_fname>
<Cust_lname>"Spencer"</Cust_lname>
<Cust_address>"Some Address"</Cust_address>
...
June 15, 2006 at 4:40 am
I should've mentioned that, in general, it's better to do formatting at the front-end...
Of course, there are always exceptions.
June 14, 2006 at 12:13 pm
Well, here's one way to do this in TSQL, but I'm sure it's irrelevant for Oracle
--data
declare @t table (x...
June 14, 2006 at 12:10 pm
Nope.
If you describe what you want to do, there might be other options...
June 14, 2006 at 8:54 am
Table auditing using triggers? Take a look at these...
http://www.nigelrivett.net/SQLTriggers/Triggers_2_Creating_Audit_Trails.html
http://www.nigelrivett.net/SQLTriggers/AuditTrailTrigger.html
June 13, 2006 at 11:05 am
Thanks Peter - nice looking article.
I've not read the whole article yet (that's for when I have more time), but I wonder how your approach compares with the 'classic' crosstab/pivot...
June 12, 2006 at 6:17 am
Here's a set-based version of Ian's suggestion. It's not pretty, but I don't think anything you do will be pretty.
As with Ian's suggestion, I haven't removed 'IN SODIUM...
June 7, 2006 at 5:38 am
Hi hani
That's called relational division...
http://www.developersdex.com/gurus/articles/113.asp
--data
declare @user_companies table (user_id int, companies_name varchar(10))
insert @user_companies
select 1, 'a'
union all select 1,...
June 7, 2006 at 4:54 am
And here's another way to do what you shouldn't...
--data
declare @t table (ID int, SVCS varchar(20))
insert @t
select 1,...
June 5, 2006 at 9:00 am
Peter - interesting approach
Maybe I'm misunderstanding, but it looks like that might run into problems when there are lots of rows (because there's...
June 1, 2006 at 4:23 am
Ah, the great primary key debate. If you're interested, have a read of some articles/discussions (I believe there are one or two
May 31, 2006 at 10:32 am
Viewing 15 posts - 406 through 420 (of 683 total)