Viewing 15 posts - 856 through 870 (of 1,825 total)
Is this due to an implicit transaction that is not being committed ?
May 18, 2010 at 3:45 am
Have you considered compact edition ?
May 18, 2010 at 12:56 am
Table variables have never been in -memory only objects, where this myth originates from im not exactly sure.
Heres a link for sql server 2000 http://support.microsoft.com/kb/305977
which states
Q4: Are table...
May 18, 2010 at 12:51 am
GilaMonster (5/17/2010)
I'm all for optimism, but it might be just a little bit misplaced here. http://www.sqlservercentral.com/Forums/FindPost922808.aspx
Maybe a binary file editor 🙂
May 17, 2010 at 5:50 am
Ive added the OrderCol columns simply to use in the order by clause.
I could of equally said
select 0 as rid,'ALL' as UserName, 0 as OrderCol
union all
select rid,UserName,1
from hc_users
where...
May 15, 2010 at 2:17 am
Here's what i would do
select 0 as rid,'ALL' as UserName, 0 as OrderCol
union all
select rid,UserName,1
from hc_users where locationid in (@locid)
ORDER BY 3,2
May 15, 2010 at 1:55 am
<semirant>
How about going medieval and draconian !
What really bugs me is when i ask for more info, ie a query plan DDL etc.
Why not have a 'trusted' user lock the...
May 14, 2010 at 4:48 am
2 , will leave you open to SQLInjection.
Please confirm your sqlserver version.
May 14, 2010 at 3:18 am
Nagesh S-432384 (5/14/2010)
Check the indexes and their fragmentation levels. if they are identical then there should not me more difference.Nag
Could be a hundred other things. Need DDL and execution...
May 14, 2010 at 3:06 am
This query
SELECT deptid FROM Humans WHERE deptid=@DPID
Is returning more than one row, so you need to define which one. Use TOP 1 and an Order by clause.
Although Its superfluous...
May 14, 2010 at 1:52 am
Possibly the simplest way is to use DISTINCT.
May 14, 2010 at 1:32 am
Please see this article
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
May 14, 2010 at 1:29 am
Viewing 15 posts - 856 through 870 (of 1,825 total)