Forum Replies Created

Viewing 15 posts - 721 through 735 (of 1,409 total)

  • RE: SQL Server License Structure

    Try the Microsoft Assessment and Planning toolkit:

    http://technet.microsoft.com/en-us/library/bb977556.aspx

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL Server Services in the 2008 SQL Configuration Manager FAILED

    SQL Agent must be started when you use scheduled jobs and/or alerts. In most systems SQL Agent is started.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL QUERY help - restricting select statement by removing 1 columns duplicates but retaining nulls

    Below are two solutions.

    The first solution returns all columns from both [ld_table] and [ls_table] with the minimum values from [ls_tabe]. The rows include the ones from [ld_table] without a matching...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL QUERY help - restricting select statement by removing 1 columns duplicates but retaining nulls

    It would be helpfull if you can provide some sample data.

    From your description it looks like the [ls_table] has duplicate values of [ld_id]. When joining both tables, these duplicate values...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Is there a way to sort the table after records are inserted?

    Sanz (8/28/2013)


    The same query will work with two rows. The actual scenario has 100’s of data.

    And like I said before: only ONE value of this multi-row query wil be stored...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Is there a way to sort the table after records are inserted?

    Because you assign the updated values from a table to a single variable, it will still be possible to get the wrong results. The update on the table could result...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Is there a way to sort the table after records are inserted?

    The problem is you can't assign multiple values to a single variable. So your "select @mystring=...." statement will only return the last updated value. You also has the order of...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Strange 'order by' - can anyone explain ?

    If I apply the "Danish_Norwegian_CS_AS" collation to the query it does indeed sort BB-CC-AA. So yes, the collation does matter.

    I don't know why, but perhaps that's because I'm not Danish...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: [CLUSTER] Multiple Instances Design

    Perry Whittle (8/28/2013)


    ...., you cannot use the same instance name even in a cluster scenario.

    I've read more documentation and I stand corrected. You are absolutely right! Sorry for the misleading...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: [CLUSTER] Multiple Instances Design

    Andreas Wolter-332291 (8/28/2013)


    No

    again:

    "the port has to be unique. But you should be able to just connect via Network Name, and have the SQL Server Browser Service have the port resolved...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Strange 'order by' - can anyone explain ?

    What is the collation you use for your instance?

    In what order do you want your results?

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: sp_getrecords to get all records from a table

    Your stored procedure should be working fine. The code below is working on my system.

    use AdventureWorks2008R2;

    go

    create PROC [dbo].[sp_getrecords]

    (

    @TableName varchar(4000)

    )

    AS

    begin

    exec('select * from '+@TableName+'')

    end;

    go

    exec [sp_getrecords] 'DatabaseLog';

    exec...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL Server Services in the 2008 SQL Configuration Manager FAILED

    Start "services.msc" on the host server and check if all needed SQL services are started.

    - SQL Server

    - SQL Server Agent Can not be started with SQL Express

    - SQL Server Browser

    Start...

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

    According to your business rules: what value does IPN.IPN_CHG_DT need to be in the temp table?

    The values are taken from the SELECT statement (and not generated on-the-spot), so the actual...

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

    Please, can you clarify what you are trying to accomplish? Where is the data to fill the temp-table coming from? How (on what columns) do you want to join the...

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

Viewing 15 posts - 721 through 735 (of 1,409 total)