Forum Replies Created

Viewing 15 posts - 496 through 510 (of 761 total)

  • RE: Outlook and sql

    Yes there are third party tools using which you can synchronize Outlook with MSSQLServer. Following are a few I have heard of(but haven't used):

    MX-Sync

    GeniusConnect

    Sync2DB[/url]

    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: Is the following possible

    From what I understand.....I think you are looking for a Left Outer Join.

    I recently saw this very good explanation on JOINS. I think you should check the following link...you might...

    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: syntax error : Msg 102, Level 15, State 1, Procedure CreerComplement, Line 43

    This is the edited procedure:

    CREATE PROCEDURE dbo.CreerComplement

    -- Add the parameters for the stored procedure here

    @CMP_ID uniqueidentifier = '00000000-0000-0000-0000-000000000000' OUTPUT,

    @Dos_ID uniqueidentifier,

    @Cmp_NoBr nvarchar (50),

    @Cmp_Desc nvarchar (50),

    @Cmp_verse money,

    @Node nvarchar (50)

    AS

    BEGIN

    -- SET NOCOUNT ON...

    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: Adding columns together to equal value in another column

    Something like this:

    Select Col1, Col2, Col3, (Col1 + Col2 + Col3)/Col3 As Col5 From TableName

    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: Self Join

    This might work:

    Select * From Ex

    Where DEPTNO In (Select DEPTNO From Ex Where ENAME = 'SCOTT')

    Edit:

    If you Don't want Scott in the result set then you can edit the above...

    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: Duplicate delete using Common Table Expressions

    Works perfectly without any error

    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: Just a Quick Question

    Nope. That's not necessary. You can create Tables in any way depending on your requirement.

    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: error-connection has reached max pool size

    This might help you in this context:

    SQL Server Connection Pooling

    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 pivot instead of alter table

    elham_azizi_62 (5/6/2012)


    hello.

    I put script for insert in to tables that used in view.please first create tables and insert into its and then run view.please give me script of pivot for...

    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 UDFs

    You have got yourself confused with User Defined Functions and User Defined CLR Functions.

    What you are trying to do can be done using a simple USER DEFINED FUNCTION

    What you are...

    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 pivot instead of alter table

    The View that you created doesn't show any data....you need post the sample data in the tables which would show in the View. Since you want to pivot the View...without...

    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: Replacement for Cursors

    I give up...I've banged my head on this for really long....I have come to the conclusion that a loop cannot be avoided in this scenario.

    However un-SetBased( 😛 ) or Procedural...

    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: Replacement for Cursors

    You're not thinking SET-based, you're thinking procedurally. SQL is designed for set operations, if you're using it for procedural code then you're probably doing something wrong.

    I agree with you...

    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: Replacement for Cursors

    Cadavre (4/25/2012)


    Method 2:

    SET NOCOUNT ON;

    --DDL

    CREATE TABLE Ex (NAME VARCHAR(30));

    --Sample Data

    INSERT INTO Ex

    SELECT 'Jack'

    UNION ALL SELECT 'Vinu'

    UNION ALL SELECT 'Jim'

    UNION ALL SELECT 'Stan'

    UNION ALL SELECT 'Ash';

    --No Cursors

    SELECT

    MAX(CASE WHEN rn =...

    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: Multiple Select statements for insert into table

    This might help:

    --Creating Table

    Create Table Ex

    (Date Date,

    StoreName varchar(10),

    ItemID varchar(10),

    Lcount int )

    --Inserting Sample Data

    Insert Into Ex

    Select '11/22/2011', 'AAAAA', 'Z123', 5

    Union ALL

    Select '11/22/2011', 'BBBBBB', 'Y688', 6

    Union ALL

    Select '11/22/2011', 'CCCCC',...

    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 - 496 through 510 (of 761 total)