Forum Replies Created

Viewing 15 posts - 1,081 through 1,095 (of 1,409 total)

  • RE: service pack on cluster

    sqlfriends (6/18/2013)For N2, what is exactly do on the internal update, will it only do SP for client since it is an added node?

    It does a full installation of the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: service pack on cluster

    It looks like the steps you mentioned are correct. From my point of view only one thing is missing:

    Before applying the servicepacks I would shut down the Sharepoint sites and...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: having trouble granting role to user

    A LOGIN is used to gain access on the instance-level, but (default) not on the database-level. You need to create a USER within the database and connect this to the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: combining multiple rows into one

    This can also be solved with the PIVOT function:

    if OBJECT_ID('tempdb..#temp') is not null

    drop table #temp

    create table #temp (userid int, picture varchar(50))

    insert into #temp values(1, 'picture1.gif')

    insert into #temp values(1, 'picture2.gif')

    insert into...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: IP Address Doesnt turn from offline to online

    rajborntodare (6/17/2013)

    one among them does respond to the ping. but when i tried to bring it online it fails.

    If you can ping the IP-address without the corresponding cluster resource being...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: IP Address Doesnt turn from offline to online

    rajborntodare (6/11/2013)


    I agree with u but exactly happened is this

    Out of 4 IP address from 4 different application,

    one gets pinged but i can not bring that online.

    other 3 doesn't...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: IP Address Doesnt turn from offline to online

    please provide an update of all actions you have done since the last post:

    - have you checked if perhaps the IP-address is allready in use?

    - have you rebooted (if business...

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

    kkarthik117 (6/17/2013)


    i dint specify location while inserting.

    The INSERT statement is not related to the filegroup. The creation statement of the table determines in which filegroup the object is placed. The...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: How to get this trigger on insert/update working

    edvard 19773 (6/17/2013)

    First problem here is, that i do not know which field is updated - it could be any field in the table, the trigger should fire anyway.

    You should...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: If one of two values exists they take priority over other values, otherwise select random

    You are confused about the CASE statement. In this case it does NOT calculate a new value (i.e. 3 - 2 = 1) but it assigns a new value...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: If one of two values exists they take priority over other values, otherwise select random

    Try this (assuming there are default no negative OrderTypes):

    select top(1)

    oh.OrderType

    from OrderHandsets oh

    where oh.OrderId = co.OrderId

    order by

    case oh.Ordertype

    when 3 then -2

    ...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: variable with multiple values from SP

    You can also create a function which accepts a single parameter and returns the start of the week for that parameter. You can call this function using CROSS APPLY with...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: variable with multiple values from SP

    If you want to have a resultset (multiple valies) into a single variable, you need to declare is as a table variable.

    It could also be possible to create a (global...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: how to caluculate half day

    duplicate post, reply to http://www.sqlservercentral.com/Forums/Topic1462994-391-1.aspx

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: How To Get a row(date) for each month

    I'm not sure it this is what you want.

    Select DISTINCT

    DATENAME(MONTH, dtePostedToWebsiteDate) as Month

    ,Year(dtePostedToWebsiteDate) as Year

    From dtlVacancyPostAudit

    Where bitPostToWebSite = 1

    GROUP BY dtePostedToWebsiteDate

    ORDER BY 2, 1

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

Viewing 15 posts - 1,081 through 1,095 (of 1,409 total)