Viewing 15 posts - 91 through 105 (of 443 total)
Are you calling a stored procedure in your job? if yes, you can setup profiler for SP very easily by applying filter on TextData column.
May 17, 2010 at 5:54 am
Why not to try like this;
Declare @vsql varchar(max)
IF 1 <> 0
BEGIN
Set @vsql = 'Select * INTO #myTemp1 From dbo.countries'
END
ELSE
BEGIN
Set @vsql = 'Select * INTO...
May 17, 2010 at 5:50 am
i just saw something with that same question here that woudl probably answer the question more completely.
You hacked my PC bro....
May 17, 2010 at 5:38 am
Or this might help you... I have used Temporary tables to give the idea....
The logic is same as of Lowell.
Declare @vTableA Table (ID int, [Type] varchar(10), Number int...
May 17, 2010 at 5:31 am
I think you should give the From Date and To date parameter in your report.
May 17, 2010 at 5:20 am
May 17, 2010 at 12:43 am
sys.all_sql_modules is the better choice. As in syscomments, the statements are broken into pieces because of the 4000 characters limitation. The have to be checked and ordered against colid in...
May 17, 2010 at 12:32 am
Even without selecting Table Designer from Tool bars, right click the workspace of Table design screen and select 'Generate Change Script ...'. 🙂
May 17, 2010 at 12:20 am
Select Replicate('0',2-Len(datepart (week, '2005-01-09'))) + Cast(datepart (week, '2005-01-09') as varchar(10)) as DOW
May 12, 2010 at 3:16 am
You can use Replication in SQL Server. Also you can use third part tools like SQL Data Compare or SQL Delta.
May 12, 2010 at 1:47 am
Do you want to eliminate the IDs in the result set that are in EMPLOYEE_RESIGNATION or EMPLOYEE_TERMINATION? is that what you want?
May 12, 2010 at 1:43 am
This code gave out only 253 duplicates on 16 Mln records.
I don't know if this is exactly what you're after, but you could give it a go.
SELECT TOP 1600000 RIGHT(master.dbo.fn_varbintohexstr(hashbytes('MD5',CAST(NEWID()...
May 11, 2010 at 5:44 am
Viewing 15 posts - 91 through 105 (of 443 total)