Viewing 15 posts - 136 through 150 (of 173 total)
Right click on a DB table - All tasks - Export data, then follow the wizard to export the data to excel. Save this as a DTS package and view...
.
June 27, 2002 at 9:12 am
You can explicitly create the temp table before opening the cursor (create table #abcs person_last_name ....). Then insert into it like:-
insert into #abcs
SELECT Person.person_last_name, Person.person_first_name, Person.prspct_id, Prspct.hsehold_addr1_name
INTO #abcs
FROM Person JOIN...
.
June 27, 2002 at 8:58 am
Remove the GO command after OPEN name_cursor
as this denotes the end of batch of tsql statements.
Regards,
Andy Jones
.
June 27, 2002 at 7:29 am
This also worked fine for me and restored correctly. My transaction log backups for database 'a' were given filenames containing a date and time stamp e.g. a_tlog_200206271125.TRN this gives you...
.
June 27, 2002 at 4:38 am
isqlw -S "Server name" -d "Database" -U "User" -P "Password" -i "Script 1" -o "Output script 1"
isqlw -S "Server name" -d "Database" -U "User" -P "Password" -i "Script 2" -o...
.
June 27, 2002 at 3:25 am
This is also the way I have done things. We have a form with 7 check boxes for days of the week, the user can
check any combination and this can...
.
June 27, 2002 at 1:34 am
Look at
IF UPDATE (Column)
syntax in the CREATE TRIGGER section in BOL.
Regards,
Andy Jones
.
June 26, 2002 at 9:05 am
You are using numeric(18,0) for the conversion so does the field hold only integers (no decimals)? If so then you could try converting to an int datatype instead. In a...
.
June 21, 2002 at 9:34 am
Sorry for the delay...It's SQL2K Standard with SP1.
I want a user to be able to execute certain procedures which execute master..xp_CmdShell but not master..xp_CmdShell itself, so I ran
the following.
--Add the...
.
June 21, 2002 at 5:09 am
You can add a dynamic properties task to your package, click add, then source your connection from an ini file or global variable (plus other options).
Regards,
Andy Jones
Edited by - andyj93...
.
June 20, 2002 at 9:45 am
select *
from
Ticket ti
inner join Thread th on ti.TicketID = th.TicketID
where
th.Thread_Date = (select max(Thread_Date) from Thread where TicketID = ti.TicketID)
Regards,
Andy Jones
.
June 20, 2002 at 9:41 am
Run a trace on your db using SQL Profiler then create a scipt of your table using EM and view the commands executed in profiler to see where the data...
.
June 20, 2002 at 6:51 am
select newsid,newscat,count(newscat) from table where logdate between '18/06/02' and '19/06/02' group by newsid,newscat
This is between 18/06/02 00:00 and 19/06/02 00:00
Regards,
Andy Jones
.
June 20, 2002 at 4:09 am
Thanks for the response. I thought this was how it should work but in the case you outlined below I am still getting permission denied on sp ip_B??? It works...
.
June 17, 2002 at 9:51 am
Is the total count for information purposes (i.e. this could be calculated before the data is copied) or for veification that
the correct amount of data was copied (i.e. this would...
.
June 12, 2002 at 3:49 am
Viewing 15 posts - 136 through 150 (of 173 total)