Forum Replies Created

Viewing 15 posts - 2,536 through 2,550 (of 14,953 total)

  • RE: Your Boss Is Your Customer

    Keeping an honest boss happy is too easy to do to need explanation.

    Keeping a dishonest boss happy is impossible so not worth worrying about.

    So I don't really bother with attention...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Get names which starts with small letters;

    I've used ASCII comparisons for that kind of thing many times.

    select *

    from dbo.MyTable

    where ASCII(MyColumn) between 97 and 122;

    The ASCII function returns the ASCII value of the left character in a...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL Server Schema Change Management.

    You can also use something like RedGate's Datbase Compare to compare schema differences and script the changes. There are competing products that do the same thing.

    Those are very valuable...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: To VIEW or Not To VIEW ... That is the Question.

    Another valid use of Views is refactoring. Let's say you discover through use that a particular table should have been normalized further than originally conceived, due to changing business...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: What is the meaning of WHERE *= COLUMN NAME

    Exam or interview?

    Doesn't look like a standard T-SQL statement to me. You can't use a column-wildcard in a Where clause in SQL Server. Ask your prof or interviewer what...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Yet another date (Newbie, be gentle)

    You're welcome.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Getting the last date time from a column

    I need the table definitions so I can write a query that will work for you.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: saving XML in sqlserver issue

    engrshafiq4 (12/20/2011)


    Sorry for your confusion.

    i am asking SSC Eights!

    He correct my code in his above post.and that worked for me.

    Let me explain the issue

    consider i have a table

    CREATE TABLE [dbo].[Cities](

    [CITY]...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Yet another date (Newbie, be gentle)

    Do you just need the count of workdays, or do you need a list of them, or something else?

    If it's a count of them, then the query would look something...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Script or formula to calculate Fiscal Week.

    I could give you a formula (or better yet, a calendar table solution) for that in SQL Server, but not in Excel. Have you tried posting the question on...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Prioritize a JOIN - get just one option

    The version I posted will do what you need, but it might have performance issues, mainly depending on data size.

    What you're probably better off doing is a two-step insert into...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Convert String to Binary and vice versa.

    WangcChiKaBastar (12/20/2011)


    Then in what scenarios would we need to decrypt data by HASHING it if the client application cant read it ?

    Non-reversible, reproducable hashing (like the SQL Server use of...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Convert String to Binary and vice versa.

    WangcChiKaBastar (12/20/2011)


    I am looking to send BINARY data instead of XML in the Service Broker to reduce message payload.

    I was thinking to HASH the string but then couldnt figure out...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    SQLRNNR (12/20/2011)


    Anybody else notice that the Headline article today has the "Editorial" pic? Is it an editorial or an article?:-D:-D

    Yes.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Dev (12/20/2011)


    Note to self: Read your post 3 times if Gus (qualified LOL & ROFL :smooooth:) is in the loop.

    Maybe I need to add to my sig:

    "You have...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 2,536 through 2,550 (of 14,953 total)