Viewing 15 posts - 4,396 through 4,410 (of 8,416 total)
TheSQLGuru (4/1/2010)
I disagree with your statement that not many...
April 2, 2010 at 5:53 am
vaibhav.tiwari (4/2/2010)
Thank you very much Paul for the reply.But this is again question for what about null values
ISDATE returns zero for a NULL date.
April 2, 2010 at 5:44 am
Bhuvnesh (4/2/2010)
That's why i never miss your any post
Thank you, Bhuvnesh 🙂
April 2, 2010 at 5:40 am
The following code illustrates three possible solutions:
DECLARE @Table
TABLE (
group_id INTEGER NOT NULL,
...
April 2, 2010 at 5:39 am
Jeffrey Williams-493691 (3/31/2010)
Using views is one approach - another approach is to use synonyms.
I would tend to prefer the synonym approach - assuming the database in question is SQL Server...
April 2, 2010 at 5:28 am
CirquedeSQLeil (4/1/2010)
Often times the database will be fine on a SQL 2005 box while running under 2000 compatibility. Testing is necessary though.
Yes. Compatibility levels are not perfect. ...
April 2, 2010 at 5:24 am
chrismat (4/1/2010)[hrApparently the entire query window becomes the SP and doesn't stop at the END; statement at the end of the CREATE PROCEDURE... I didn't realize it would do...
April 2, 2010 at 5:21 am
Setting up a robust and efficient auditing scheme can be a lot of work, and hard to get right.
If you are planning to upgrade to SQL Server 2008 any time...
April 2, 2010 at 5:18 am
mike 11318 (3/31/2010)
I need to copy (or duplicate) a set of records for CompanyA and create a set of records for CompanyB
One simple approach is to script out all the...
April 2, 2010 at 5:12 am
I wonder how long it will be before someone complains that this QotD is misleading and incorrect since the question specifies "(yyyy/mm/dd)" format and the answers are all in YYYY-MM-DD...
April 2, 2010 at 4:56 am
Hugo Kornelis (4/2/2010)
April 2, 2010 at 4:53 am
Ok, I have fixed the code in the original post to avoid anyone else using it by mistake.
The new version uses a nested REPLACE:
GO
CREATE FUNCTION dbo.IF_CleanWithReplace
...
April 2, 2010 at 4:34 am
The following code is not fully robust (it may depend on evaluation order in places) but should give you some ideas.
DECLARE @Garbage
TABLE (
...
April 2, 2010 at 4:11 am
DrJogalog (4/2/2010)
...and NO LOCK hints shouldn't be common place.
If only...:-)
It would probably suggest that it happens more often and probably goes unrecongnized too depending on the scenario.
I absolutely agree.
April 2, 2010 at 4:03 am
Viewing 15 posts - 4,396 through 4,410 (of 8,416 total)