Forum Replies Created

Viewing 15 posts - 661 through 675 (of 1,409 total)

  • RE: Imrort export wizard

    Are all values in the Excel sheet compatible with the corresponding datatypes of the columns in wich they are to be loaded?

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Moving a database log file question

    Feeg (9/6/2013)


    Hi guys thanks for the prompt response but I didn't explain clearly what happened ...

    My bad ...

    The storage engineer stopped the SQL service ...

    created the new LUN ...

    he physically...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: script needed

    You'll be learning much more if you try to create it yourself. If you run into problems we are glad to help.

    SSMS has quite good scripting technology inside. So open...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Can I remove these RAISERROR 44444?

    The RAISERROR command in your trigger raises an error with a user defined number. This error is not a standard SQL error, but RAISERROR can still be done in SQL2012.

    The...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Suggest Datatype

    You need to look for a sort of data-analyzing tool. I know ERWIN (http://erwin.com/products/data-modeler/standard-edition) has the ability but this is a rather expensive application. Maybe you can download a trial...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Proplem Put Filter ("And" or "Or") in Query

    You need to change the HAVING clause to get your desired results. With the code below you can check if both 'Walker' and 'Cane' exists at least once.

    HAVING sum(case when...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Project Plan

    I suggest you start with the SQL Server 2008 R2 Best Practices Analyzer (BPA). You can also use the SP_BLITZ from Brent Ozar.

    The results will give you a starting point...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Query Result in Email?

    If you apply the change I suggested, you won't be sending an e-mail when DIFF = 0. In the query you check if the DIFF is smaller then -3 or...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Query Result in Email?

    You need to change the IF NOT EXISTS to IF EXISTS.

    In the above query you check if results does not exists. If this is true (no results) you want to...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Stored procedure to run results of view

    Please take a step back and take a good look at your requirements.

    Why do you want to insert the data using seperate insert statements? The performance will be a lot...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Does differential backup creates LSN ?

    All backups have LSN, there is just a bit difference in the relation between these LSN's. A differential backup is depending on the previous FULL backup. You can find the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: database in simple mode with growing log file into the GBytes

    If you have the space available, keep the LOG at 30GB. Don't shrink the file.

    This space is needed by the load, so daily shrinking is a waist of resources and...

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

    kapil_kk (9/4/2013)


    what if the value if out of range of INT?

    Then you have the BIGINT datatype 😛

    But if this method is correct or not, depends on the data in the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help me for Find and replace

    thava (9/4/2013)


    ...but is it not hard coded, is there a way we can do it dynamically,

    What part is not hard coded? Are you talking about the definition/lay-out of the XML?...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Msg 245, Level 16, State 1, Line 244 Conversion failed when converting the varchar value '2013-02-25' to data type int.

    The error is due to the implicit conversion of the datatypes within the CASE BETWEEN statement.

    The INT datatype (from field [finmonth]) must be compared to the string value. Therefor the...

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

Viewing 15 posts - 661 through 675 (of 1,409 total)