Forum Replies Created

Viewing 15 posts - 16 through 30 (of 36 total)

  • RE: Need Help With DBCC SHRINKFILE using the EMPTYFILE option

    Yes!  That worked.  Thanks for the assistance.

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Separating application tables from client-specific tables

    Let me be a little more specific about the issues we're facing:

     

    The application will be...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: CEOs Are Faking It

    "I think there are definitely some great leaders and those that build companies. But lots of business is luck, it's timing, it's taking advantage or being able to take...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: CEOs Are Faking It

    "So stop paying the CEO's so much money. They're not the reason for the company succeeding."

    I agree in part and disagree in part.  Yes, there are a number of business...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Text Data Cut Off After Export to Excel

    That appears to be the issue.  I found this article on Microsoft Support:

    http://support.microsoft.com/default.aspx?scid=kb;en-us;247527

    Unfortunately, this solution only applies to delimited text files, not Excel spreadsheets.  Maybe I could export to...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: dbcc checktable with repair_allow_data_loss failed - please help!

    What Transaction Isolation Level are you using?

    I found this on Microsoft Support:

    http://support.microsoft.com/default.aspx/kb/815008

    Also what service pack is installed on your instance?

    I found this article about a situation similar to yours, which...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Rounding Error Converting Char data to Money data

    It all makes sense now.  Thanks noeld.

    The developer reported that only one column, Zone3Price, was converting incorrectly.  This didn't make sense to me, because the conversion was supposed to be...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Rounding Error Converting Char data to Money data

    The code is part of a DTS package.  As you can see, I'm taking the value from the text file and dividing it by 100:

    '**********************************************************************

    '  Visual Basic Transformation Script

    '************************************************************************

    '  Copy...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Using VBScript Replace Function in ActiveXScript Task

    Okay, that was easy enough.  Thanks!

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Odd Behavior for Bulk Insert Task

    Yes, I successfully inserted the exact same data with a standard INSERT statement.  I decided to abandon the Bulk Insert approach for this load.  I need to do other transformations to...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Trace Not Collecting Data

    Moderator:

    Please move this post to the SQL Server General forum.  I clicked the wrong link when I created this post.

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Reading from sp_dboption

    Thanks Frank, I got another variation from someone in my office:

    Select @SQLCmd3 = 'where name = ''' + @DatabaseName + ''''

    Glad you like my signature, Thomas Sowell is one of...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Reading from sp_dboption

    Okay, I'm trying Frank's approach again.  Now I'm having trouble writing a dynamic sql statement.

    Here is the code:

     Declare @DatabaseName varchar(50)

     Declare @ServerName varchar(50)

     Declare @SQLCmd char(29)

     Declare @SQLCmd2 varchar(125)

     Declare @SQLCmd3 varchar(61)

     Declare @SQLCommand varchar(215)

     Select...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Reading from sp_dboption

    Frank:

    I was originally thinking of doing a direct query from sysdatabases as you do here, but it was difficult getting the values for all possible combinations of options.  I may...

    “If you're not outraged at the media, you haven't been paying attention.”

  • RE: Reading from sp_dboption

    Here's the complete table design:

    CREATE TABLE dbo.Databases (

     ServerName varchar(50) not null,

     DatabaseName varchar(50) null,

     DatabaseCreationDate datetime null,

     SQLVersion varchar(4) null,

     DatabaseSize int null,

     ANSINulls bit null,

     ANSINullDefault bit null,

     ANSIWarnings bit null,

     ArithabortEnabled bit null,

     AutoClose bit null,

     AutoCreateStatistics bit...

    “If you're not outraged at the media, you haven't been paying attention.”

Viewing 15 posts - 16 through 30 (of 36 total)