Viewing 15 posts - 8,221 through 8,235 (of 8,753 total)
Take a look at the XML forum, the answer is there.
BTW, it is more work to create a sample data than actually write the answer.
😎
May 16, 2014 at 12:50 pm
GilaMonster (5/16/2014)
rodjkidd (5/16/2014)
The SQL Bits tradition is to bag pack Wednesday evening, then drink, and eat, and drink some more!That sounds like a suitably British way of working
Promptly confirmed!
.....then.....:sick:
May 16, 2014 at 12:46 pm
First thing to run
SELECT
*
into dbo.myAudittable
FROM sys.dm_exec_connections c
cross apply sys.dm_exec_sql_text(c.most_recent_sql_handle)
If you are lucky, you'll have the culprit there.
😎
May 16, 2014 at 12:19 pm
Prefixing the output column alias with the @ (ascii 64) sign does the trick
😎
May 16, 2014 at 10:54 am
amela.ajanovic90 (5/16/2014)
May 16, 2014 at 10:49 am
mianirfan786 81909 (5/16/2014)
I have a VB based desktop application with back end MS SQL server 2000 database with server machine ibmx5650 with specs intel xeon 2.7GHz (24 CPU's) &...
May 16, 2014 at 7:34 am
Is there any error handling in SP_LogProc?
😎
May 16, 2014 at 4:49 am
You could wrap the executions in a try/catch and/or check the @@ERROR to catch the error when and where it happens.
😎
May 16, 2014 at 4:01 am
The problem in your attempt is that sql server interprets queries like
[font="Courier New"]select * from x left outer join y where y = z[/font]
to
[font="Courier New"]select * from x inner...
May 15, 2014 at 11:19 pm
This is a simple solution that uses the row_number function with a case statement to hide/null part of the output.
😎
USE tempdb
go
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES
...
May 15, 2014 at 10:07 pm
Question for Gail, on a 2005 platform, which solution of these two would you prefer and why? The question of course is a simplification of course, more like penny for...
May 15, 2014 at 1:06 pm
Lynn Pettis (5/14/2014)
May 15, 2014 at 12:48 pm
Finding this slightly amusing, attached a 2012 database to a 2014 instance, checked the Cardinality Estimator version and it reported 70. Changed the compatibility level to 2014, and 😀 surprise,...
May 15, 2014 at 12:15 pm
PearlJammer1 (5/15/2014)
The other day a collegeue asked for a copy of dataload package that we use in SSIS. I right clicked the package and selected 'EXPORT' and...
May 15, 2014 at 10:55 am
Viewing 15 posts - 8,221 through 8,235 (of 8,753 total)