Forum Replies Created

Viewing 15 posts - 2,731 through 2,745 (of 14,953 total)

  • RE: CASE Statement in Where clause?

    CASE doesn't work that way in SQL.

    CASE in SQL returns a value based on conditions. You're using it more like a VB version of CASE, where it executes code.

    Convert...

  • RE: using the with keyword

    No, this should not put any records in the table variable, the way it's written, if the CTE returns zero rows.

    If you want it to return data from other tables,...

  • RE: Temp table not deleted when exec SQL string

    When it tries to parse/compile the command, it runs into the fact that the table is already created by an earlier statement. In a simple script, you can overcome...

  • RE: SSIS Data Flow task not completing, but not failing

    Actually, if the source server is staying yellow, then that's not finishing. It's never getting to the transmit step. That means the problem is the data source.

    I'm not...

  • RE: How to sort select result with special order and case clause? Thanks.

    Having "Others" as the column value is a matter of a Case or IsNull/Coalesce statement in the Select clause.

    In the Order By, you can put a Case statement like:

    Order By...

  • RE: SSIS puzzle or microsoft bug?

    Did you update your data source in your SSIS package? If not, it's still expecting a column there, and you're probably getting lost data because of that.

    Look at a...

  • RE: Backup job fails but maintenance plan succeeds

    Is the backup job set to run on a specific set of databases, or on "All databases", "All user databases", or "All system databases"? I've seen situations like this...

  • RE: SSIS Data Flow task not completing, but not failing

    Have you checked the target and source servers to see if the activity is being held up by something normal like lock/block issues?

    On the SQL server side, check sp_who2, or...

  • RE: Thinking Time

    sturner (11/29/2011)


    Thinking time is important, but only by half. The other half is actually documenting the results of your thinking processes along with any conclusions you came up with.

    Definitely. ...

  • RE: export all tables from SQL 2000 server and import into a different SQL 2000 server

    Those drivers are for copying the database from one server to another directly. If you need to save it to USB in between, they won't work.

    Your best bet is...

  • RE: How to get rid off it?

    Charmer (11/29/2011)


    yeh...the thing which i am looking for is, how do they restrict a database for any alteration... ?

    because i could select and update any records...but i couldn't alter any...

  • RE: Thinking Time

    djackson 22568 (11/29/2011)


    I'd encourage you to take some time to just think over the holiday season, when there usually is less work going on

    HA HA HA HA HA HA, ROFL!!!!!!!!!!!!!!!!!!

    Where...

  • RE: How to get rid off it?

    Depending on your role, and possibly on specific permissions for your login or any groups your login is part of, you either need to be granted permission to create and...

  • RE: Thinking Time

    Jack Corbett (11/29/2011)


    I agree that thinking time is important. Too often I don't take enough time to think things through completely before I start working. This almost always...

  • RE: Stress – It’s Not Fair

    Jeff Moden (11/28/2011)


    TravisDBA (11/28/2011)


    Great article Andy! I am also reminded of great saying in our business that I use all the time to throw the stress back into their (BA's...

Viewing 15 posts - 2,731 through 2,745 (of 14,953 total)