Forum Replies Created

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

  • 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... 😉

  • RE: The SQL * Wildcard

    high hit volume GUI = very high volume OLTP 😀

  • RE: Last Modified Date

    The script that Minaz points out is for the data... not the table schema.

    There is no way to audit changes/modifications to a table's schema in SQL Server 2000 through the...

  • RE: SSMS Tricks

    !! DIR C:\Temp

    Not real sure I'm happy about THAT working because the following also works...

    !! DEL C:\Temp\some file name

    Great article of tips, Steve... thanks.

  • RE: The SQL * Wildcard

    Now that would be a good reason... can't see it making much of a difference in non-looping batch code, but I can see where it could make a heck of...

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