Viewing 12 posts - 1 through 12 (of 12 total)
I'm not sure i get you correctly but why store a xml of 20000+ chars in the database? Just curious...
Ontopic.. Maybe you could pass the id to the xml...
April 11, 2008 at 6:50 am
And is this the best way to calculate age? I'm not so sure... How about converting the date to seconds and calculate from there? I think performance wise this should...
March 7, 2008 at 2:20 am
In a left outer join all values not avalable will become null and you are trying an inner join on the client table with a null value. That is why...
February 21, 2008 at 5:41 am
left outer join on the months table should work... This looks familiar 😛
February 21, 2008 at 4:56 am
In my first example it will come up with the months as columsn
truncate table #invoices
insert into #invoices (invoiceid, invoicedate, invoicetotal, salesperson, clientid)
select 1, cast('2008-1-15' as datetime), 200, 1, 1
union all
select...
February 21, 2008 at 3:52 am
[EDIT] Lol i see you do not need this 🙂 Sorry about that [/Edit]
Hope this helps you on your way
create table #Month ( [month] varchar(32))
insert into #month ([month])
select '1' [Month]
union...
February 21, 2008 at 3:20 am
I'm not sure how big the database is going to be but storing guids does take up much space relative to an int. This is something i think you should...
December 17, 2007 at 8:08 am
Are the sequence numbers always incremented with 1 per cuslink? If so there is an easier way to do this 🙂
I ran my query and found out that one sequence...
November 22, 2007 at 1:10 am
Don't know if this is usefull for you but the following script allows you to find the oldest version of the record and when you know that you could delete...
October 15, 2007 at 7:20 am
You could also create a SQL_STATEMENTS TABLE with an id text and link_id... Pass the id to the stored procedure and you can reproduce the SQL there with for example...
October 5, 2007 at 5:27 am
Perhaps you should consider rewriting your query, because i dont think this is the fastet way to do it. I noticed you used a case.. You can also use and...
September 20, 2007 at 12:41 am
Viewing 12 posts - 1 through 12 (of 12 total)