Forum Replies Created

Viewing 15 posts - 16,021 through 16,035 (of 18,926 total)

  • RE: weird problem

    If there's no object in master, then maybe it is create twice in the same transaction... are you sure you got everything statement in that batch?

  • RE: Default value in a table

    Then this is your friend :

    Select top 25 percent Telephone from dbo.YourTable order by NewId()

    Can't be simpler than that.

    Anything wrong with that?

  • RE: copy a table over to a linked server by ''''SELECT ...INTO''''

    No he wants Select into. Insert would do fine but he doesn't want to have to create the table first.

  • RE: weird problem

    My mother, sisters and father would remember that one as they assisted my birth.

  • RE: Default value in a table

    Also here's and exemple of select the top pourcent from a group... not too sure it would cope well with a random sampling though :

    SELECT O.XType

    --, count(*) AS...

  • RE: Default value in a table

    Select top 25 percent Telephone from dbo.YourTable order by NewId() will do the job just fine.

  • RE: weird problem

    Is it echo in here?

  • RE: weird problem

    could be... can you fire up the profiler, restart the process and reexecute in QA to have the actual error and more info on what's going on?

  • RE: DateTime Data Type

    Yes, the date functions are stripping the time part using mathematical operations, which is faster than any cast you can come up with.

  • RE: copy a table over to a linked server by ''''SELECT ...INTO''''

    Select * from (LinkedServer).(Database).(Owner).(Table/view)

  • RE: Question of the Day for 29 Jun 2005

    Still would like to see an MS certif exam where the answer is "it depends"...

  • RE: SQL injection worry

    sukhoi971, is it normal that we can still login with this injection technic, or you're simply using a bogus account??

    If the later, then I would strongly suggest that you avoid...

  • RE: Default value in a table

    Sample data is definitly required here... And why would you want to sort on the last 2 digits?? are those the extension of the phone number?

    If yes, then I...

  • RE: How to make a markup table

    Definitly split them in 2 fields.

    One for pourcentage : decimal (4,3), so a 5% increase would be entered as 1.05, 10% decrease would be 0.9.

    Then one for amount : ...

  • RE: weird problem

    First of all. Why do you have a table object in master?? You should have as little objects as possible in there. And mostly only admin stored...

Viewing 15 posts - 16,021 through 16,035 (of 18,926 total)