Forum Replies Created

Viewing 15 posts - 2,476 through 2,490 (of 2,917 total)

  • RE: General advice needed - database design - Is this a bad way to design a pricing table?

    Another thing you could do is have a calculation table.  Presuming that there is some correlation between size and quantity in some cases.
    That way if you have some correlation...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: SSIS Error When Executing Package in SSMS

    tiaanb - Sunday, July 2, 2017 8:59 PM

    Sue_H - Sunday, July 2, 2017 5:29 PM

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Extract sp_execute value to a variable to compare

    SQL-DBA-01 - Thursday, June 29, 2017 9:14 PM

    Thanks Everyone for your response. Andrew, Not sure why it skipped my mind. I could...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Extract sp_execute value to a variable to compare

    Not sure this suits your needs or not, but what about selecting it into a table like this:
    declare @linkedserverName varchar(100) = 'servername'
    declare @DB_rename varchar(100) = 'DBName'

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Should I delete Orphaned Users

    I got tasked with a similar thing recently and something else to watch for is user that is created without login or user that is created with a login of...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Whole list from csv

    Just so I understand correctly, you have a comma separated list in a flat file and you want to select out of it?
    If this is correct, you would want...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Help me with the ALTER TABLE statement

    Yep, that makes a bit of sense.

    As for the section:

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Pulling from two tables when data does not exist in both

    I got this one:
    SELECT CASE WHEN [CYsales].[cust_id] IS NULL THEN [LYsales].[cust_id] ELSE [CYsales].[cust_id] END AS [cust_ID]
     , [CYsales].[sales]
     , [LYsales].[sales]
    FROM [CYsales]
    FULL OUTER JOIN [LYsales] ON...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Help me with the ALTER TABLE statement

    I am just curuios why would you want to break that up into 2 statements instead of 1?
    I know you can, I'm just not sure what the benefit would...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Using File System Task to partially delete directory contents

    Could do it outside SSIS as well (if that is an option).
    If it is required to do it from SSIS, I think either looping, or if you have xp_cmdshell...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Changing default Language for a database - Interesting

    2 thoughts:
    1 - are you on the latest SP/CU?
    2 - I think this error might have a bit more to it:
    Errors were encountered in the procedure 'dbo.apspuRackUpNextUsed'...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: SQL server 2014 is very slow

    Not meaning to bring back a dead post, but kind of curious what happened with this?
    OP - did you get more memory in the system?

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Convert integer to date

    I could be dumb, but when I look at your calculation and your input flat file, I think you are over-working the date are you not?
    the date in the...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • RE: Problem with getting SSIS package to successfully execute. Looking for stop-gap solution allowing user to update a table column w/ flat file data. Advice needed.

    SQLNewbie777 - Wednesday, June 28, 2017 2:28 PM

    Before I look into this further through the leads you've provided, all I'm trying to...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Viewing 15 posts - 2,476 through 2,490 (of 2,917 total)