Forum Replies Created

Viewing 15 posts - 7,351 through 7,365 (of 7,471 total)

  • RE: Application log on a cluster

    maybe this link helps ..

    http://dbforums.com/t746009.html

  • RE: Application log on a cluster

    did you check that the account that runs the cluster has access to your sqlserver. (login should do)

  • RE: Slow down with parameter

    "declare @sql nvarchar(2000)

    SET @sql=N'Select *

    From vHaulageJobsUnfinished U

    WHERE EXISTS (

    SELECT *

    FROM HaulageItems I

    JOIN Jobs J ON I.JobPrefix=J.Prefix AND I.JobID=J.ID

    WHERE J.JobRef LIKE ''' + @ShippingJobRef + ''' AND U.Prefix=I.HJPrefix AND U.ID=I.HJID

    )'...

  • RE: IS NOT NULL vs != NULL

    "... but replace all the 'IS NOT NULL' statements with '!=NULL' and ..."

    You'll have simular differences when you use the JET-syntax for outer joins on sqlserver.

    '*=' does not work...

  • RE: Query to get first number

    You'll always (never say never ) have to interpret business "demands" to "needs".

    You can do the same thing in # ways. Some are already constructed for...

  • RE: How Can I achieve this

    Maybe you can go for the colation-solution with your select. (check BOL)

    e.g.print CHARINDEX('k' COLLATE Latin1_General_CS_AI ,@teststr COLLATE Latin1_General_CS_AI )

  • RE: job report success even though failed..

    When you run the package, is that at your client or are you at the server-console ?

    Don't modify dts-packages from your client, but always perform this stuff at the server,...

  • RE: job report success even though failed..

    is the job-step set to "quit with failure" when the step fails ?

  • RE: SQL Server Security: Pros and Cons of Application Roles

    With Standard VB6 it needs a normal login-procedure and the a switch to the

    application-role executing the sp_setapprole.

    Is there a .Net-framework-based integration for SQLServer application roles?

    If not : are application roles...

  • RE: Insert into Fails

    If you just want to insert and you don't need the recordset fore anything else in your logic, don't use the recordset to do this, but use a native insert...

  • RE: IIf in sqlserver

    maybe isnull(yourcolumn,replacementvalue) can help out or

    coalesce(yourcolumn,replacementvalue)

  • RE: Query to get first number

    OK Identity does not reuse. Should it ? Depends on the requirements. If your id column reaches the maximum value (int/bigint !!), you're in big troubles anyway and probably you'll...

  • RE: A virtual drink for everyone !!!

    I think I'll start counting from the other left side

    Cheers

  • RE: Query to get first number

    use IDENTITY. That's what it's made for.

    Or keep your own parameter-file which you access using a genereate-new-id stored procedure.

  • RE: A virtual drink for everyone !!!

    this EOM-thing , does that mean you have to stand on a chair/table and that everyone else has to sing to you ? ended by 3 times hurray

Viewing 15 posts - 7,351 through 7,365 (of 7,471 total)