Viewing 15 posts - 61 through 75 (of 116 total)
Perhaps you need to migrate the login information from the old server, or else recreate their logins on the new.
September 15, 2006 at 10:32 am
I recommend the O'Reilly book "Transact-SQL Programming" (the one with the hummingbirds) to any newbie. After you have read it, it remains an important and oft used reference.
September 8, 2006 at 10:05 am
I have found performance gains by selecting a subset of interest into a temp table and updating off of that. This way, you separate the comparison from the update.
select...
July 27, 2006 at 10:46 am
You might try executing the BCP utility within a stored procedure. That way you avoid all the bugs in DTS.
May 16, 2006 at 10:32 am
That does the trick! Thank You.
May 9, 2006 at 3:00 pm
Another method is to create an instance of SQL Server 2000 on your client machine and send mail from your own email software. Create the stored procedures and tables to...
April 7, 2006 at 10:04 am
Gee, I guess that's sort of an obvious approach! Thanks!
March 7, 2006 at 11:47 am
Here's my solution.
CREATE PROCEDURE usp_rpt_documents_paging
(
@USERS_ID INT = NULL
,@PIPELINES_ID INT = NULL
,@PAGE INT = NULL OUTPUT
,@ROWS_PER_PAGE INT = NULL
,@DOC_TYPE VARCHAR(255) = NULL
,@SORT_CHOICE TINYINT = 0
,@SORT_DESC BIT = 0
,@TEST TINYINT = 0
)
/***********************************************************************************************************
Create...
March 2, 2006 at 10:36 am
The answer is "no", you cannot use an if statement in a select!
February 24, 2006 at 10:39 am
Joe Celko says that all major products have standardized COUNT(*) and COUNT(1) to work with equal efficiency. Does anyone know that not to be the case in SQL Server?
February 24, 2006 at 10:36 am
I use the function listed below without any added tables. So I created the given solution above and compared execution plans: they came out the same.
ALTER FUNCTION dbo.udf_strip_non_alphabetic ( @IN_STRING VARCHAR(8000) )
RETURNS...
February 16, 2006 at 10:57 am
I recommend never applying complex logic during the data transfer. To import files, load your raw data into a buffer table then process it within a stored procedure. After cleaning and...
February 9, 2006 at 10:48 am
I've got it all wrapped up in a function.
CREATE FUNCTION UDF_WEEK_OF( @Date VARCHAR(23) )
RETURNS VARCHAR(23)
AS
BEGIN
DECLARE @Week_Ending AS VARCHAR(23)
SELECT @Week_Ending =
CONVERT(
VARCHAR
,DATEADD( WEEK, DATEPART( WEEK, @Date ) - 1, '1/1/' + CAST(...
February 2, 2006 at 10:40 am
If they are using open SQL in their applications rather than stored procedure calls, then they really are bad programmers.
January 26, 2006 at 10:52 am
I've wrapped many sprock executions within transactions and never had a problem until the transaction contained the "sp_OA-" extended stored procedures.
January 26, 2006 at 10:33 am
Viewing 15 posts - 61 through 75 (of 116 total)