Viewing 15 posts - 16 through 30 (of 33 total)
Do you have to store the HTML tags in the first place would be my question???
I had a similar problem, but I used regular expressions in the frontend to strip...
December 8, 2004 at 12:14 am
No ... not your end .... Same here, too!!!
October 28, 2004 at 12:04 am
IF (expression)
BEGIN
BEGIN TRANSACTION
... some code ...
COMMIT TRANSACTION
END
ELSE
BEGIN
BEGIN TRANSACTION
... some code ...
COMMIT TRANSACTION
END
this help???
September 14, 2004 at 12:13 am
retreiving dateparts:
SELECT DATEPART (month, getdate()) -- you can use day or year accordingly where needed
The above post will give you a datestring. To get this into s datetime variable use:
SELECT CONVERT(datetime,...
September 14, 2004 at 12:03 am
If you use linkservers (enabling you to use the long prefix syntax server.db.owner.table) then make sure they both have the same sorting options, otherwise you may get an error when...
September 5, 2004 at 11:55 pm
Hi Frank
If you are using Enterprise Manager, then you can generate the Creation Scripts for the Stored Procedures. This script can then be carried out on the new server and...
August 17, 2004 at 1:10 am
Hi Elias
Have you ever let the procedure come to an end??? I had a similar problem lining SQL7 & SQL2000 - A Query that was executed locally with a replica...
August 15, 2004 at 11:37 pm
Hi there...
We are using .NET (VB .NET) frontend applications to analyse Data from SQLServer 2000. We use stored procedures where we can.
First of all, when using stored procedures through the Command...
August 10, 2004 at 11:41 pm
You can write a function upfront in VB .NET. There you can get the date and split it into day, month, year (See Documentation VB .NET for Date manipulation) and rebuild...
August 8, 2004 at 11:52 pm
Why the dynamic SQL???
Why not just use the Statement as is? Why build it dynamically in this case?
SELECT * FROM ggg_emp
WHERE CONVERT(varchar(10),date_join,101)
BETWEEN CONVERT(varchar(10),@start_date-1,101)
AND CONVERT(varchar(10),@end_Date+1,101)
just a thought...
August 8, 2004 at 11:39 pm
If you Select the above statement into a temp table, you can then use the following Statement on the temptable (changing the names respectively of course!) - I named my...
August 6, 2004 at 12:18 am
Here we go again...
I thought this site is about people helping each other out with practical advice????
Has this changed???
Trick question's are okay - but this one wasn't even a...
July 15, 2004 at 5:16 am
How about
SELECT CONVERT(datetime,'10/10/2003',103)
where 103 refers to the format of the date you recieve, can be substituted with a different number if you need a different format ... See BOL...
July 14, 2004 at 1:59 am
Using the same table as in the above post ... How about the following?
INSERT INTO #TABLE_REPORTS
SELECT user_id, 'report_a', 'first month report'
FROM #TABLE_REPORTS
WHERE user_id NOT IN
(SELECT user_id
FROM...
July 13, 2004 at 1:47 am
Quote:"If you are a creationist then the chicken. If you are a Darwinian then the egg.
I'll play devils advocate and say that the trick questions are more relevant because it...
July 9, 2004 at 5:51 am
Viewing 15 posts - 16 through 30 (of 33 total)