Viewing 15 posts - 19,621 through 19,635 (of 26,484 total)
mjarsaniya (7/23/2009)
I have seen the LCK_M_IX from profiler and get that it is intent lock but cant get how to resolve that
can I know...
July 23, 2009 at 6:53 am
A datetime value is a datetime value. It doesn't care what the regional settings are. You need to concern yourself on that when converting between character and datetime...
July 23, 2009 at 6:50 am
Richard McSharry (7/23/2009)
Sorry, but I believe the actual code is irrelevent to the...
July 23, 2009 at 6:47 am
For a quick read on why this doesn't happen on SSC, read here.
There are several other threads around that also discuss this issue as well. Most aren't in favor...
July 22, 2009 at 3:31 pm
Probably unavoidable in a deparment that small. I'd sit down with the DBA and Developer and make sure that they are working closely together to ensure that both know...
July 22, 2009 at 2:08 pm
No idea. It isn't something I have needed to do and I'm not going to try it here at work even if I do have access to a test...
July 22, 2009 at 1:07 pm
But if you remove the [] from around the column named [Column Name], the code is unusable. What's the point?
July 22, 2009 at 12:54 pm
Duplicate post. Please post any responses here.
July 22, 2009 at 12:45 pm
Elliott W (7/22/2009)
Look at PIVOT in Books Online. I think that might be what you are looking for..CEWII
Actually, I think you want UNPIVOT.
July 22, 2009 at 12:30 pm
Why are you explicitly calling that particular column? Also, you really should explicitly define the columns you want returned even if you want all of them returned.
July 22, 2009 at 12:26 pm
Tried something similiar in a Sandbox database. Under compatibility mode 80, query would work. Under compatibility mode 90, I got the error you did.
Something is different, you just...
July 22, 2009 at 12:20 pm
What versions of SQL Server? What compatibility mode on the databases?
July 22, 2009 at 12:15 pm
I see the problem:
select INSPTYPE,* -- right here. You are specifying INSPTYPE explicitly and it is also included in the *, so it is here twice.
from APINSP
where insptype...
July 22, 2009 at 12:13 pm
What are the table definitions between the two environments? Also, are there any differences between how the two systems are set up? Different collations, something?
July 22, 2009 at 12:06 pm
Viewing 15 posts - 19,621 through 19,635 (of 26,484 total)