Forum Replies Created

Viewing 15 posts - 31 through 45 (of 86 total)

  • RE: How it works ?

    vignesh.ms (3/5/2014)


    twin.devil (3/5/2014)


    what kind of doubts you have ?

    how it works as looping ?? how it go through all of the commas ?

    Sorry Guys just a misunderstanding ..

    now...

  • RE: How it works ?

    twin.devil (3/5/2014)


    what kind of doubts you have ?

    how it works as looping ?? how it go through all of the commas ?

  • RE: How it works ?

    twin.devil (3/5/2014)


    It a very simple replace working. to split a comma separated data into a table. 🙂

    Let break it down for understanding

    Replace Function Definition Replaces all occurrences of a...

  • RE: Who modified the JOB?

    GilaMonster (2/24/2014)


    Unless you had some custom auditing implemented before that change was made, no way to tell.

    Could you assist me to create custom audit ?

  • RE: foreign key references multiple tables

    hunchback (2/12/2014)


    The UNION approach is completely different from the other suggestions based on your initial requirement.

    The previous suggestions are constraining that a row in the referencing table should exist in...

  • RE: foreign key references multiple tables

    I have done the above by using the following, but it costs much.

    create table sample(id int primary key)

    create table sample2(id int primary key)

    create view sampleall

    As

    select id from sample

    union

    select...

  • RE: foreign key references multiple tables

    GilaMonster (2/12/2014)


    Yup, perfectly possible. It's not one foreign key though, it's two foreign keys, one referencing each of the tables

    CREATE TABLE sample1(id INT PRIMARY KEY)

    CREATE TABLE sample2(id INT PRIMARY KEY)

    CREATE...

  • RE: Need query for comma delimited output

    Lowell (1/29/2014)


    great job posting sample data! post slike this make me want to help!

    here's an example of a set based operation using a well know technique with FOR XML;

    the STUFF...

  • RE: Need replacement for Triggers

    This is other party table.. we do have only select permission ( even my DBA also).

    Is there any other way to perform this?

  • RE: Find the availability on the user

    pietlinden (1/18/2014)


    Sounds like a "gaps and islands" question. You're looking for the maximum size of an island.

    Exactly! but I cant find any efficient way... help me out...

  • RE: Find the availability on the user

    John Mitchell-245523 (1/17/2014)


    You still haven't shown us what you've tried. But from your required results, it looks as if you need a PIVOT query. If you search for...

  • RE: Find the availability on the user

    John Mitchell-245523 (1/17/2014)


    Sounds like homework to me. What have you tried?

    John

    I did this in a very complex way..

    steps :

    1. created columns for every month

    2. update corresponding month column...

  • RE: Need T-SQL optimization Help

    Jeff Moden (1/4/2014)


    To be honest, whomever designed the table with an integer representation of year and month did a great disservice to anyone and everyone using the table and it's...

  • RE: Problems to learn...

    Jeff Moden (12/21/2013)


    bitbucket-25253 (12/21/2013)


    In the left most column of a this page, as you read my response click on the word Stairways and you will be rewarded with a...

  • RE: Need to find continues number ranges

    Thanks Guys... thanks for your assistance ....

    Really helpful... and awesome.

Viewing 15 posts - 31 through 45 (of 86 total)