Viewing 15 posts - 1,306 through 1,320 (of 1,999 total)
and clear out 3.7M rows for the update_date that was 45 days ago (dataset is growing by 60K rows per month)
you might want to have a look at a few...
May 2, 2012 at 8:05 am
depends if you need a BIGINT or not - i'd suggest just using yours for anything when max-min > 32,767 - otherwise use the nice small (low resource) version
May 2, 2012 at 7:13 am
wouldn't this be easier to do with a recursive CTE?
declare @start bigint=99;
declare @end bigint=147;
with x (num) as
(
select @start as num
UNION ALL
SELECT num+1 from x
where num <@end
)
select * from x...
May 2, 2012 at 3:41 am
for example
why does the following not work for you ?
insert into table2 (Number,
reference,
Quantity,
UnitPrice,
Supplier)
select
Number
reference
Quantity
UnitPrice
Supplier
from table 1
where .....
this is the standard syntax for copying data from one table to another
April 27, 2012 at 9:46 am
i often find it beneficial to start with a number of sentences describing your objects before you start designing tables and relationships - then you can check off that your...
April 27, 2012 at 9:42 am
ive had this a few times and never got a sucessfull explanation for it ...
it normally happens to me if i'm running an xp in 2000 (such as xp_cmdshell) if...
April 27, 2012 at 6:05 am
i would suggest you start using the ANSI-92 SQL syntax it makes debugging duplicates much easier
i rewrote for you....
also - is it possible you are seeing duplicates in RS because...
April 27, 2012 at 6:00 am
i just ran the following
select AVG(convert(float,id)) from sysobjects
seems to work fine for me
are you sure didn't type in
select AVERAGE(salary) from #table - that would explain the error
April 27, 2012 at 4:52 am
another perspective on this - your primary keys and foreign keys are the same - this doesn't sit well with me
my version of the students table would be (i'm assuming...
April 27, 2012 at 4:47 am
nathanr 81822 (4/26/2012)
64 bit.
in that case it all edpends on how big and how volatile your data is.
the bulk of the memory will be used for buffer cache, but...
April 26, 2012 at 9:22 am
you can always use the sp_oa proc calls to asyncronously execute stored procs
that way you don't have to use service broker
here is some sample code i provided to some of...
April 26, 2012 at 9:07 am
AIRWALKER-375999 (4/26/2012)
April 26, 2012 at 6:27 am
i think what you are trying to do is either an inner join or some kind of where clause ?
e.g.
select name from users where id='1234567890'
rather than
select case when userid='1234567890'...
April 26, 2012 at 4:41 am
Viewing 15 posts - 1,306 through 1,320 (of 1,999 total)