Forum Replies Created

Viewing 15 posts - 121 through 135 (of 272 total)

  • RE: Want to insert Blank inside the main table instead of Null

    1) You must sort your output or use an index on your MainTable.

    2) Use ISNULL() or COALESCE to handle the null value.

    SELECT ISNULL(Events,'') FROM #TEMP --...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Clearing the Transaction Log

    Great question. This is what the QOD is all about. A great explanation of the answer as well.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Would You Do Your Hobby for a Living

    Music is my hobby. I am a part time musician. I play between 65 and 75 shows a year. But it's not enough money to pay the...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: SQL Server 2005 32 bit vs 64 bit

    You should be able to run x32 version of SQL on 64 bit OS. You cannot run x64 version of SQL on 32bit OS.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Locking Down Views

    grant alter on [InsertViewnameHere] to [InsertUserAccountHere]

    Should allow the user to alter the views. Apply this to the views the user has created.

    Remove the db_owner priviledge.

    I would grant...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Convert this date to calendar format...?

    select CONVERT(varchar(11),DATEADD(YY,-1,getdate()),101) -- would give you last year.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Convert this date to calendar format...?

    select CONVERT(varchar(11),getdate(),101) -- produces 05/25/2010

    select CONVERT(varchar(11),getdate(),108) -- produces 20100525

    Converting oxygen into carbon dioxide, since 1955.
  • RE: High Transactions per second

    You could introduce bottlenecks to slow down the process.

    You could move the database to slower hardware.

    You could change how you define a transaction in your application.

    You could remove all indexes...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: I almost posted a question today to a forum

    I used to work for an organization that had a rule that if you got stuck on a problem for more than 10 minutes, you were required to grab someone...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Dynamic SQL

    From OBJECTPROPERTY BOL:

    The Database Engine assumes that object_id is in the current database context. A query that references an object_id in another database will return NULL or incorrect results...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: if statement

    I suspect you're failing your if test. Check the value of your variables:

    set @checkbox = (select att1 from pdt_first_time_homebuyers_Club_View where client_id = @client_id and pd_id = @pd_id)

    select @checkbox...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: whats the advantage of SSIS tool over other ETL Tool

    We use Data Integrator because it does something we need that SSIS does not do. We get packed decimal from our data supplier and Integrator can read the copylib...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: The value of variable is disappearing in stored procedure

    Just FYI, CONCAT_NULL_YIELDS_NULL will always be on in future versions of SQL Server.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Backups

    My problem is that I overthink the answer.

    To me the answer was yes, the suggested scenario would work. It seemed obvious. It seemed it couldn't be that simple....

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Bad data import

    Nice question.

    Converting oxygen into carbon dioxide, since 1955.

Viewing 15 posts - 121 through 135 (of 272 total)