Showing posts with label variations. Show all posts
Showing posts with label variations. Show all posts

Monday, February 13, 2012

'joehack'

I'm curious to know if anyone has come up against the following. I have found multiple variations of this while running SQL Server Profiler. I've looked everywhere and can't find how or what is doing this.

******************************

DECLARE @.OUTPAR1 nvarchar(4000)
execute ProblemNoResponse @.OUTPAR1 output
select @.OUTPAR1 'joehack'

******************************

DECLARE @.INPAR1 nvarchar(4000)
DECLARE @.INPAR2 nvarchar(4000)
DECLARE @.INPAR3 datetime
DECLARE @.OUTPAR4 double precision
DECLARE @.OUTPAR5 int
execute GetPropertyBeginMeterReading N'40149' , N'00' , '20070501 00:00:00.0' , @.OUTPAR4 output, @.OUTPAR5 output
select @.OUTPAR4 'joehack'
select @.OUTPAR5 'joehack'

*****************************

I find the second example interesting due to datatype with no errors.

Thanks in advance

-SM

I assume you are talking about the 'joehack' in the command. This was done by your programmer to give the field a name instead of "no column name". He was probably trying to be funny or mad to have to work around the no column name problems.

Talk to JOE.