Forum Replies Created

Viewing 15 posts - 1,111 through 1,125 (of 1,409 total)

  • RE: Benefits in using a unique login for each user.

    in addition to the post of opc.three:

    when using the users credentials (preferably through Windows Authentication) you could restrict rights of some users/groups. You could prevent users from accessing or updating...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL 2012 Restore Issue

    I don't refer to the logical names, but to the physical names. The filenames of the new database can not be the same as existing filenames.

    Because you use a backup...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL 2012 Restore Issue

    Have you altered the names of the data- and logfiles of the new ABC database? They can't be the same as the physical names of the existing Y databases.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Import Data replaces NULL with 0

    Unfortunatly I can't reproduce this issue on my system.

    For testing purposes: what happens when you import the data using the "INSERT destination SELECT * FROM source" statement? Do you have...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help with query

    danielb27 (6/5/2013)


    keyword not found

    Thats probably because "TotalSalesperProduct" is an alias and is not recognized by the parser. Replace it with the original statement will do the trick.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help with query

    HanShi (6/5/2013)


    Good effort, almost there....

    You'll only need to select a TOP 1 and add an ORDER BY.

    Oops... I didn't read carefully. You had allready added the ORDER BY.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help with query

    Good effort, almost there....

    You'll only need to select a TOP 1 and add an ORDER BY.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help with query

    Because it is for your learning purposes, I will not post a complte solution :-P. But I will give you some pointers:

    You still need to join Products and Sales. Take...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Import Data replaces NULL with 0

    Check the settings in the "edit mappings" section of the wizard. Are you creating a new table or appending to an existing table?

    Check for default values when you are appending...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help with query

    It would be something like this:

    ....

    from products1 p left outer sales67 s

    ON p.prod_id = s.prod_id

    WHERE s.date_of_sale >= '01-Jan-06'

    OR s.date_of_sale IS NULL

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Questions on Index Rebuilding (not reorganize)

    chewychewy (6/4/2013)


    Thanks. In the url it stated that when rebuilding offline, select statement still can be performed on the table.

    As the url stated, this only applies to NON-clustered indexes....

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: :unsure: Backup Particular DB Users and there Permissions.

    Take a look at this article and scripts from Warren Campbell:

    http://www.sqlservercentral.com/articles/Automation/76791/

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: What are the options for splitting/reducing large mdf files?

    There's no easy way to split an existing datafile. There are a few options, but keep in mind that most of them are very I/O and CPU consuming.

    - add additional...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: selecting Distinct value in a column based on values another column.

    kishorefeb28 (6/4/2013)

    If I pass 'vat' alone output should be VAT from col1

    But how do you know you want the value "VAT" from col1 (4th row) and not the value "Bed+Vat"...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Production Database in Suspect Mode...

    The log for database 'XXXXXXX' is not available.

    is a clear message of the problem, but it could have different root cause.

    - the folder on disk (or disk itself) where...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **

Viewing 15 posts - 1,111 through 1,125 (of 1,409 total)