Forum Replies Created

Viewing 15 posts - 53,341 through 53,355 (of 59,068 total)

  • RE: Using Code posted in these forums

    Until they fix it, there's a work around...

    1. Put your cursor one line above the code box.

    2. Click and drag to one line below the code box.

    3. ...

  • RE: Formatted Date in Default Contstraint

    Heh... understood... I still kick myself for some of the things I've done to a database in past lives 😀

    Wouldn't really be an extra column and no tradeoff that I...

  • RE: Formatted Date in Default Contstraint

    I'd still be tempted to make the formatting in a calculated column for the app so I could easily create reports like "How many emails did we send today?". ...

  • RE: The December Energy Update

    My problem with a mega-watt satilite would be that some idiot would figure out a way to turn it into a beam weapon. ION drive? Way cool application...

  • RE: The SQL * Wildcard

    Always select just the columns that you need.

    That goes without saying for the most part. But, again, I want to remind everyone that the OP said that Microsoft said...

  • RE: Formatted Date in Default Contstraint

    You bet...

    Personally, what I'd rather see is a real DATETIME column and a CALCULATED column to provide the varchar version that the GUI needs. Somewhere down the line,...

  • RE: Update Rowcount

    JohnG (12/27/2007)


    I agree with Nebojsa.

    Use a return (OUTPUT) parameter as it is a much cleaner solution. You're calling a procedure and not a function. In coding, procedures are...

  • RE: Stored Proc passing Table Name Fails - Help

    Heh... dang it... I keep forgetting this is an SQL Server 2k5 forum! Thanks John.

  • RE: Rows to Columns

    I saw that PIVOT is much faster than doing subqueries or CASE statements to transform aggregated data to columns

    Jacob, if you have an example of that and a smattering of...

  • RE: How can I create a clone of a database on the fly?

    This needs to be run on-the-fly, by non-technical end users, maybe 5-10 times per day.

    The newly-created database needs to be dropped after the routine is finished.

    Why is this being done?...

  • RE: Rows to Columns

    Oh my... we've gone from using a new function that (apparently) can't do the job, to using a Cursor...

    Heh... Let's get back to the basics folks!

    Consider the following PIVOT...

  • RE: do DBAS need local system admin privileges? and why?

    Well said, Damon. Not are they only "Ambassadors", but "I always keep in the back of my mind that a DBA is the" first scape-goat when something goes wrong....

  • RE: The SQL * Wildcard

    No problem... I absolutely agree with you... unnecessary overhead should always be avoided even if performance is ok for now... someday, the scale will change and if the code isn'tready...

  • RE: How to calculate the response for sql query

    Heh... if you write the query right, you won't need a progress bar... it'll just be done.

  • RE: Stored Proc passing Table Name Fails - Help

    ... and be limited to 4k bytes... 😉

Viewing 15 posts - 53,341 through 53,355 (of 59,068 total)