Forum Replies Created

Viewing 15 posts - 31 through 45 (of 136 total)

  • RE: Certification Rumors and Tips

    They demonstrate that someone has passed the exam, and that they actually bothered to do it. That's worth something to some people.

    I think it's valuable when I'm looking through...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Certification Rumors and Tips

    True... books can be good. But I see lots of people stress out totally about doing exams. They should just try them and see how they go. Most people who...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Certification Rumors and Tips

    My big exam tip is to just try it. The exams are designed to test what you know as part of your job, not what you can learn in books....

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: How do I include a column with the table name it came from specified in another column

    Just specify it as a string, like this:

    Insert into EmailList

    Select Name,date,emailaddress,'BVC_User' as TableName

    from BVC_user

    UNION ALL

    Select Name,date,emailaddress,'GFD_User' as TableName

    from GFD_user

    UNION ALL

    Select Name,date,emailaddress,'TRE_User' as TableName

    from TRE_user

    Hope this helps...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Query to bring back a record with the highest date from a column

    I like the OVER clause for this type of problem.

    select * from

    (SELECT *, RANK(PARTITION BY PUP_UPN_DFEE ORDER BY PUP_UPN_DFEE, PAT_TO_DATE DESC) as rn

    FROM TableName

    ) t

    where rn = 1

    Or you...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Dynamic query works with float but not with varchar????

    Do what David has recommend, use sp_executesql and pass in the value as a parameter.

    The fundamental problem here is that you're passing in data which you then execute, so you're...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: triggering a view filtered by getdate()

    Or store the last time you checked somewhere. Perhaps make it a table-returning function instead, so that you can throw in a little more functionality. After all, a view isn't...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: How to Group Rows and Count Rows in the Group

    Your 'post_date' field will include a time component too. So really you want to group by dateadd(day,0,datediff(day,0,post_date)) (which is a simple way of truncating the time - counts the number...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Question of the Day for 24 Oct 2006

    It's not something I would ever suggest someone really relied upon - but in a scenario, SQL will always go through the select clause one by one.

    Of course, the way...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Question of the Day for 24 Oct 2006

    It's not a Microsoft thing, and you don't need to analyze and manipulate bits or anything like that - it's just one of the lesser-known features of the XOR function....

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Question of the Day for 24 Oct 2006

    This is that old 'in place swap' routine provided by XOR.

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Ownership Chaining

    Thanks everyone. It's funny - when there was another article about ownership chaining just last week, I assumed they wouldn't run mine.

    I'm pleased...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Helping Out

    But... this is something that doesn't involve spending my budget of one person. I think the most effective 'help' isn't a full-time person.

    To use a person who was full-time, I...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

  • RE: Helping Out

    I think a life-coach would be really useful. Someone who can help me keep accountable for taking the next step towards the goals I want to achieve. In fact, I'm...

    Rob Farley
    LobsterPot Solutions & Adelaide SQL Server User Group
    Company: http://www.lobsterpot.com.au
    Blog: http://blogs.lobsterpot.com.au

Viewing 15 posts - 31 through 45 (of 136 total)