Viewing 15 posts - 4,741 through 4,755 (of 6,395 total)
this link should give you the information you need
http://msdn.microsoft.com/en-us/library/ms143506%28v=sql.105%29.aspx
June 6, 2012 at 6:01 am
The size columns in the two views are in pages, so I assume you are multiplying them by 8, to get the size in KB then dividing by 1024 to...
June 6, 2012 at 5:55 am
does the below fit your needs? added the 0/1 column on the end to see the if its bit = 0 or bit = 1
declare @tab table (PERSON nvarchar(10),...
June 6, 2012 at 5:38 am
You have to be careful with playing with id columns, especially if you have foreign key constraints. Identity gaps are common in all databases, especially in transactional scopes where...
June 6, 2012 at 5:30 am
Steve Jones - SSC Editor (6/1/2012)
I use CTRL+R to whack the results in demos and quickly get back to the coding window.
Highly useful is CTRL+R, especially when you have a...
June 6, 2012 at 4:47 am
Cliff Jones (6/5/2012)
anthony.green (6/1/2012)
Koen Verbeeck (6/1/2012)
anthony.green (6/1/2012)
Koen Verbeeck (6/1/2012)
anthony.green (6/1/2012)
Andy Hyslop (6/1/2012)
what 50% tax on anything over 35,060
I will never moan about taxes again!! :crazy:
me neither, thought 20% was bad
I...
June 6, 2012 at 4:33 am
You need a full outer join.
declare @tab1 table (year int, week int, total_savings decimal(36,18))
declare @tab2 table (year int, week int, total_savings decimal(36,18))
insert into @tab1 (year, week, total_savings) values
(2012, 10,...
June 6, 2012 at 4:15 am
I would say this is down to different dateformats being set at the connection level.
One thing to check would be the language of the accounts in question as I am...
June 6, 2012 at 4:06 am
DOMAIN\USERNAME$ is the machine, so does the machine have access to SQL? Also what are the machines services running as which connect to SQL? Local System? If so...
June 6, 2012 at 3:06 am
you want sysaltfiles which is the 2000 equiv of sys.master_files
SELECT *
FROM master.dbo.sysaltfiles
June 6, 2012 at 2:45 am
Would be a case for a left outer join where mytable2.eid is null
select
t1.eid
from
mytable1 t1
left outer join
mytable2 t2
on
t1.eid = t2.eid
where
t2.eid is null
returns mytable1.eid 5 and 6
June 6, 2012 at 2:43 am
can you have multiple people called Jone in your tables? if so is the code the same in tableA and tableB for the right name?
SELECT
A.Code,
A.Name,
A.Sector,
B.Sector
FROM
tableA A
INNER JOIN
tableB B
ON
A.Code =...
June 6, 2012 at 2:20 am
Take a look in my signature for the Cross Tabs links by Jeff, the second part is in relation to dynamic cross tabs.
June 6, 2012 at 1:13 am
what have you searched for so far, there are plenty good topics on the web on what you want
June 6, 2012 at 1:04 am
Viewing 15 posts - 4,741 through 4,755 (of 6,395 total)