Forum Replies Created

Viewing 15 posts - 10,636 through 10,650 (of 26,489 total)

  • RE: Optional parameters in WHERE clause

    pdanes (7/19/2012)


    Lynn Pettis (7/19/2012)


    You could also use dynamic sql to build the query that needs to be executed based on the parameters passed to the stored procedure.

    Yes, I've done that...

  • RE: Optional parameters in WHERE clause

    You could also use dynamic sql to build the query that needs to be executed based on the parameters passed to the stored procedure.

  • RE: Update a table with a column image

    Did you use the image data type or the varbinary(max) data type? I'm asking because text, ntext, and image data types have been depreciated since the release of SQL...

  • RE: concatenate string and datetime?

    Charmer (7/19/2012)


    Hi Friends,

    I am trying to concatenate a string and datetime....i did it....but after concatenating , i am getting date and time like Jul 19 2012...

  • RE: sql query

    Swetha527 (7/19/2012)


    I think you are unable to provide the dynamic script for the scenario i have given.

    Thank you.

    You can think what you like, but I'm not going to give you...

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (7/19/2012)


    100 books? I'm glad I can read 2 on a whole year (technical books not included).

    Don't get me wrong, I love to read (read the whole Dexter series...

  • RE: sql server

    raghuldrag (7/17/2012)


    if u dnt mind... wr i have to chck link pls tel clearly

    I am sorry, but I have absolutely no idea what you just said here. It would...

  • RE: sql query

    Swetha527 (7/19/2012)


    I did read it. But i am unable to write dynamic script for the same. Please help me.

    If you can't write dynamic sql, I'm not going to write it...

  • RE: sql query

    Swetha527 (7/19/2012)


    No.

    I need columns and data like

    [LoanNumber] B1.FirstName B1.LastName C1.FirstName C1.LastName E1.FirstName E1.LastName

    -----------------------------------------------------------------------------------------

    ABC12345 Swathi ...

  • RE: Snapshots

    Good question. I over thought and picked the wrong answer. Yes, you can restore the database from any of the snapshots, you just have to delete all but...

  • RE: sql query

    Is this what you were looking for?

    select

    t2.[LoanNumber],

    stuff((select ', ' + t1.RPTTypeCode + '.' + t1.FirstName + ',' + t1.RPTTypeCode + '.' +...

  • RE: sql query

    From another thread:

    Swetha527 (7/18/2012)


    CREATE TABLE [dbo].[Trans1](

    [RPTTypeCode] [char](2) NULL,

    [Firstname] [varchar](50) NULL,

    [LastName] [varchar](50) NULL,

    [BarrowerID] [int] NULL,

    [LoanTransID] [int] NULL

    ) ON [PRIMARY]

    insert into [Trans1] values('B1','Swathi','B',10,1),('C1','Anu','CH',11,1),('E1','Chintu','KK',13,1)

    CREATE TABLE [dbo].[Trans2](

    [LoanAppID] [int] NULL,

    [LoanTransID] [int] NULL,

    [LoanNumber] [varchar](10) NULL

    ) ON...

  • RE: need sql query urgently

    Post replies here.

    Please do not post multiple times.

  • RE: sql query

    Post replies here.

    Please do not post multiple times.

  • RE: Create 15 min inc time matrix?

    Took me a while to accomplish this. It turned out that the hardest part was getting the select criteria correct to properly align the schedule times to the buckets.

    Please...

Viewing 15 posts - 10,636 through 10,650 (of 26,489 total)