Forum Replies Created

Viewing 15 posts - 17,011 through 17,025 (of 26,484 total)

  • RE: Today's Random Word!

    aggravate

  • RE: Are the posted questions getting worse?

    < .... Running screaming to my tent in the desert ......>

    Why is it that when you ask someone to SHOW you want they are trying to do they never...

  • RE: Add value to return result set.

    ronaldkrex (2/5/2010)


    Select * from States. Then I want to add the value ALL to the resultset.

    Not really sure if you want this:

    select 'ALL',StateName from States

    or this

    select StateName from States

    union all

    select...

  • RE: Add value to return result set.

    No, that isn't what I asked for. Show what you are trying to accomplish. What code have you written so far, and you actually want.

  • RE: Help with Query

    Try this:

    SELECT * FROM [dbo].[tblReportData]

    WHERE (CardORKey='Card')

    AND (LastName = @LastName OR @LastName IS NULL)

    AND (Date >= @StartDate OR @StartDate IS NULL)

    AND (Date < dateadd(dd,1,@EndDate) OR @EndDate IS NULL)...

  • RE: Add value to return result set.

    Care to show us what you asking?

  • RE: Transpose

    Something like this, I would guess.

    create table #testtab (

    CId int,

    SN char(4)

    );

    insert into #testtab

    select 1, 'ABC1' union all

    select...

  • RE: Cursors

    mbender (2/5/2010)


    Guess I'm a bit unclear about what your asking, do you want to know what I would expect the results of SELECT * FROM InventoryThatNeedsReorders before or after the...

  • RE: delay expired problem in query

    lobbymuncher (2/5/2010)


    Anybody wanna beer? It's friday! My shout. Get yer shoes on. Lynn I'll get you a coke.

    Actually, I'll take a fresh brewed sweet tea, just not as sweet as...

  • RE: Cursors

    mbender (2/5/2010)


    In the example if the updates and inserts were done then i pulled the query

    Select PartNumber, Location, Quantity from InventoryThatNeedsReorders Where ((Quantity-ReorderPoint)>=1)

    I would not expect it to show:

    Widget 123,...

  • RE: Today's Random Word!

    debilitate

  • RE: creating a udf

    Will this help get you started:

    create table #testtab (

    intval int

    );

    insert into #testtab

    select 1 union all

    select 2 union all

    select 3 union all

    select 4;

    select

    STUFF((select...

  • RE: creating a udf

    klineandking (2/5/2010)


    nope but 1 2 3 4

    into 1, 2, 3, 4

    so:

    select replace('1 2 3 4',' ',',')

    Is that what you are looking for?

  • RE: creating a udf

    Are you talking about a delimited string split? Like this:

    1,2,3,4 to

    1

    2

    3

    4

  • RE: How to add a ODBC (Lotus Notes) linked server in SQL 2005

    At the previous employer where we had Notes, the Notes programmer wrote code that pushed data into a database on SQL Server, so I never had to setup a transfer...

Viewing 15 posts - 17,011 through 17,025 (of 26,484 total)