Forum Replies Created

Viewing 15 posts - 9,031 through 9,045 (of 10,144 total)

  • RE: Merging two data fields from same data table

    Here's[/url] an excellent article which describes how to merge text/ntext datatypes.

    Cheers

    ChrisM

  • RE: A t-SQL statement store results in an excel sheet

    nabajyoti.b (1/2/2009)


    i am well aware of what SSIS can do.

    But i wanted to direct two variables to an excel sheet.

    In that case, the article will show you how, with examples.

  • RE: Doubt in sql-functions

    venki.ffcl (1/2/2009)


    dear friends,

    Can i use if condition in function ?

    Please give me a example

    thank you

    Can you explain how you expect to benefit from putting a simple query into a function?...

  • RE: A t-SQL statement store results in an excel sheet

    nabajyoti.b (1/2/2009)


    what is a t-sql statement to store the sql results in an excel sheet.

    suppose i have two valieables @s-2 and @b-2

    normally i use select @a to display the value...

  • RE: Joining Query Results To Exploded Query Results (w/o Cursor?)

    larsosman56 (1/1/2009)


    Hoping for some assistance. I have been working this for weeks, looking into recursive CTEs, cursors, etc.

    My first query returns a result set, but I want to pass...

  • RE: Help with datetime sql

    Adi Cohn (1/2/2009)


    When you use function in the where clause on the column, the server can’t use any index that was created on that column. Although the queries...

  • RE: SQL Help Required!!

    sarran.achari (1/1/2009)


    Thanks for your help Gurus.

    You're welcome. Is your problem solved?

  • RE: SQL Help Required!!

    I reckon this should do it.

    [font="Courier New"]DROP TABLE #Temp

    CREATE TABLE #Temp ([Month] CHAR(8), Country CHAR(2), [Tran] INT)

    INSERT INTO #Temp ([Month], Country, [Tran])

    SELECT 'Jul 2003', 'US', 1271 UNION ALL

    SELECT 'Jun 2003',...

  • RE: SQL Help Required!!

    Can you post a sample of what you expect your output to look like?

  • RE: My Website's ready!

    Brandie Tarvin (12/31/2008)


    ACK!

    I can't spell? THE HORROR!!!

    Thanks, Andrew. I'll get that fixed. @=)

    Good lord Brandie, how do you find the time to do all of this stuff?

    It's a...

  • RE: CTE Constant

    josemyj (12/30/2008)


    These values are chosen arbitrary by the decision support department depending of the way the butterflies move through the window when it rains...

    So they are randomly chosen from a...

  • RE: CTE Constant

    How does SQL Server get these values? One at a time? As a file/cursor?

  • RE: CTE Constant

    josemyj (12/30/2008)


    I didnt said they were consecutive, it was just an example. I have a 4000 rows table whose primary keys are used for filtering that way.

    No 4000 columns... Only...

  • RE: CTE Constant

    josemyj (12/30/2008)


    And sorry if my english is confusing, not native language.

    No need to apologise, we'll get there.

    Your first post said you wanted a temporary table or CTE to provide consecutive...

  • RE: CTE Constant

    So...you need a simple list of integers, from 1 to about 2000? Is there anything else?

Viewing 15 posts - 9,031 through 9,045 (of 10,144 total)