Forum Replies Created

Viewing 15 posts - 61 through 75 (of 161 total)

  • RE: ASP and SQL Coding Help

    You do realize that by using "ThisPublication" directly from the Request and then concatenating it to the SQL, you're setting yourself up for SQL Injection?

    Steve G.

  • RE: Check all fields for '' and update to null

    You could try something like this...

    select 'update '+t.table_name+' set '+column_name+

    ' = null where 0 = len(ltrim(rtrim('+column_name+')))'

    from information_schema.columns c

    inner join information_schema.tables t

    on c.table_name...

  • RE: turning off transaction logging

    Don't forget to update statistics when you're done!

    Steve G. 😀

  • RE: Perforamnce problem after sql 2005 migration

    from (select tb1.col1, tb2.col1, tb2.col2, tb2.col3 from db.dbo.table1 tb1

    Is there a significant difference between the total columns in table1 and the columns listed in the new derived table?

  • RE: WWYD

    The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...

    Obviously, you don't work in management! 😀

    Seriously, while I've...

  • RE: Counting Rows without Identity

    So, then the answer is: "You can do it but it's not worth it." I'll take that as the final word on this and go back to using temp tables....

  • RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    I've always run into problems trying to use Integrated Sign ons with Linked Servers. There's some extra setup that needs to be done in Active Directory (which I don't have...

  • RE: Persistent Connection Storm Mystery

    Yes, I agree that it appears that the problem appears after a certain threshold is reached - the question is which system in the chain is having the problem?

    Some things...

  • RE: Persistent Connection Storm Mystery

    Has there been any changes in the client software? (Installations, configuration changes, etc.) Also, are your clients segmented so that certain clients only contact certain servers? This sounds awfully like...

  • RE: I got a job but .....

    Congrats! I'm in a very similar situation and I do have one piece of advice: Document everything you do because you won't remember what you did when you come back...

  • RE: Problems with CRecordSets

    Make sure the table has a primary key. MS's CRecordSet code will not open an updateable cursor without this.

    While I know that the sequence you mention is the "planned"...

  • RE: Log File

    First of all, realize that a log file is not "supposed" to be a certain size. As was mentioned earlier, the size is related to the activity in the database....

  • RE: Trucation occurs when encrypting data less than 117 chars?

    Of course, this may not be the right answer, but let's assume first that SQL Server is working ...

    In Query Analyzer, choose Tools->Options and select the Results tab. Make sure...

  • RE: how do you secure SQL against everyone?

    Gotta love AD - who decided that a single point of failure was an improved security model?? Guess one password, access dozens of sytems. 😀

  • RE: What is mean by Programming styles?

    you'll never see me use a While Loop to create a list of contiguous dates... I'll always use a Tally table for that (and a lot more).

    Sounds like a useful...

Viewing 15 posts - 61 through 75 (of 161 total)