SQL

Technical Article

RE: Finding Stored procedures being used

  • Reply

Don't forget the thing about change control. It's better to work on that as well, so it is ready when you're done with the mapping. If not, it may be too tempting to go around it while waiting for it to become real, and before you know it, you might have to do the work […]

You rated this post out of 5. Change rating

2005-01-19

Technical Article

RE: altering column from datetime to varchar eliminates seconds and milliseconds part

  • Reply

or you could use this:select convert(varchar(12),getdate()) + right(convert(varchar,getdate(),126),len(convert(varchar,getdate(),126))-charindex('T',convert(varchar,getdate(),126)))result = Jan 19 2005 08:48:19.397 depending on your preferencing for displaying the date to your users.   regards, Mark Baekdal http://www.dbghost.com+44 (0)208 241 1762 Database change management for SQL Server   

You rated this post out of 5. Change rating

2005-01-19

Technical Article

RE: Can''''t get an outer join

  • Reply

Thanks for responding. This almost works.  When I insert this change the query does return a row for subscriptions which have no record in tSubsRoutes but it does not return a row where there is a record in tSubsRoutes that does not satisfy the condition (effective date <= today’s date).  I may not have made it […]

2005-01-17

Technical Article

RE: Table types

  • Reply

It can be done to mark a table as a system object but that requires going out of your way to upset the sysobjects table manually or use sp_MS_marksystemobject procedure which is not documented.You should be able to delete and recreate these tables but there are issues trying to change it back to a user […]

You rated this post out of 5. Change rating

2005-01-12

Technical Article

RE: excluding fields in my SELECT from the GROUP BY clause

  • Reply

Hi there.Well, I can't begin to try understanding what is going on, or the purpose of it all, however it seems like there's a lot of calculations, searched cases and stuff in there... Very briefly, I don't think that you can change the group by  in any easy way... (At least not without further knowledge […]

You rated this post out of 5. Change rating

2005-01-10

Technical Article

RE: password attributes - Mixed mode

  • Reply

thanks a ton.  I figured that was the case, but wanted to make sure i wasnt making stuff up.This is for a sox audit, and i had to either prove the settings were such and such, or show that there were no provings.  I will be quoting you as a reference to what i guessed […]

You rated this post out of 5. Change rating

2005-01-07

Technical Article

RE: SQL Server Perfomance issue

  • Reply

A table variable only exists during the run of the process that created it as is immediately destoryed at the end and any pages in tempdb associated with it are freed. Basically each time the procedure completes execution the object is immediately destroyed.So unless the stored procedures that create them are looping back on themselves […]

You rated this post out of 5. Change rating

2005-01-06

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers