Forum Replies Created

Viewing 15 posts - 691 through 705 (of 761 total)

  • RE: Help with Case Query

    From whatever I could understand I came up with this script. Try this and tell me if it meets your requirement.

    --Create Table

    Create Table Ex

    (Itemcode varchar(10),

    Field1 varchar(10),

    Field2 varchar(10),

    Field3...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: Help with Case Query

    If you mean that A100 and C100 are same on the basis of field values, then instead of using cursor then can be selected in a SET based manner as...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: Help with Case Query

    "Example

    Itemcode Field 1 Field 2 Field 3 Field 4

    A100 A B C D

    B100 B C D E

    C100 A B C D

    The unique items are thus A100 & C100. We...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: Replication

    Here is my point of view on when to use which Replication Topology:

    Snapshot Replication

    Use snapshot replication when you want an occasional data push done. Because all data is moved...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: Blockings

    What do you mean by BLOCKING?

    According to Microsoft the following is BLOCKING:

    Blocking

    Is that what you mean??...

    Anyways you can get the Database back to that state if you have a Database...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: need simple example for multiple table insetion using stored procedure

    If the id in first table is an Identity, then you have to use Scope_Identity to know the last inserted Identity and then insert value into the other table with...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: An Integration Services class cannot be found - How to resolve

    I am not sure about this(haven't faced such a problem before), but maybe the SSIS installed is the 32 bit version and may not work for 64 bit.

    Have you checked...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: mult joins

    Q. Can you use a table to join multiple columns?

    Yes, Using Aliases.

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: Problem with CTE

    ;WITH fechas (fecha) AS (

    SELECT GETDATE() AS fecha UNION ALL

    SELECT DATEADD(day,10, fecha) from fechas )

    select fecha from fechas

    option (maxrecursion 32767)

    The above code causes an infinite recursion. "SELECT DATEADD(day,10, fecha)...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: use print statement in stored procedure

    Yea. Select works multiple times in an SP.

    The difference between using PRINT and SELECT is simply the difference of a SQL DBA's(or developers) thinking and any other developer's thinking.

    SQL was...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: An Integration Services class cannot be found - How to resolve

    Did you install Integration Services independantly??...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: I want to run a batch file from query window or from Trigger.

    You're Welcome. I'm glad I could help.

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: I want to run a batch file from query window or from Trigger.

    If you can see the job using Windows Explorer then do the following to create a job and run it as a part of the trigger. I just tried this...

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: fetching date from 1 sp to another

    +1 on dat Jeff.

    My Sincere thanks to everyone.

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

  • RE: Primary with Null value

    Unique Index - Allows one(and only one) Null value.

    Primary Key - Does not allow Nulls.

    Vinu Vijayan

    For better and faster solutions please check..."How to post data/code on a forum to get the best help" - Jeff Moden[/url] 😉

Viewing 15 posts - 691 through 705 (of 761 total)