Viewing 15 posts - 1,126 through 1,140 (of 1,155 total)
I totally agree; however, this is a vendor txt file that is being dropped on our FTP and I have no control over how it is formatted or built.:crazy:
Does anyone...
November 2, 2007 at 5:15 pm
Well at least there is a work around 😀
I look forward to the day I can copy well formatted code from this site.
Thanks.
November 2, 2007 at 7:26 am
I was able to do a small scale insert using xquery. You should be able to mold the methodology to fit your needs. Note: the xml tags were messing...
November 1, 2007 at 4:15 pm
Yes you can remove any of the reporting service instances at your leisure.
The reason your nt login cannot delete reports is because you have not given your login access to...
October 31, 2007 at 12:53 pm
sr,
If I were you I would not just delete things but rather go to add/remove programs and uninstall unnecessary instances of reporting services.
I am not quite sure what you mean...
October 30, 2007 at 1:03 pm
Wow its that easy :blink: Live and learn.
Thanks for your help Lowell, and Jason!
October 24, 2007 at 11:25 am
Jeff your method is equisite as usual 😉
Luissantos, if you just want to get it working with the cursor you can make the following modifications.
code below
--------------
DECLARE RunningTotalCursor
CURSOR LOCAL FAST_FORWARD FOR
SELECT...
October 24, 2007 at 7:24 am
How did you setup security for the web service identity and reporting services database? It sounds like you are using windows credentials.
When you deploy a report it must add...
October 23, 2007 at 10:31 pm
If you need automation, you can choose either openrowset or SSIS. If you choose to do SSIS you can create a package and schedule it. If you choose...
October 18, 2007 at 6:54 am
luissantos,
Against my normal practices I have written a cursor that will perform the same calculation :crazy:. The cursor should perform better, if there are lots of rows involved. ...
October 17, 2007 at 8:09 pm
Run the query, with the data you need,in SSMS and send results to file. Name the file: "filename.txt" and make sure to click "All File Types" or it will put...
October 17, 2007 at 2:30 pm
luissantos,
You should be able to do something like:
min(a.Debit) as [Debit Amount],
min(a.Credit) as [Credit Amount],
sum(b.Credit-b.Debit) AS [RunningTotal]
And In the From clause add the table aliases
FROM ...
October 17, 2007 at 2:07 pm
The SQL 2005 instance already has a database named test2. Delete the database and then restore or rename the restored database something other than test2.
The link below will give...
October 17, 2007 at 9:37 am
luissantos,
you can use a statement like below.
declare @MyTable table
(
RowID int IDENTITY,
dt varchar(10),
doc varchar(20),
DEBamt smallmoney,
CREamt smallmoney
)
--date | document | debit | credit | balance
insert into @MyTable values ('16-10-2007', 'inv.111',0,100.00)
insert...
October 17, 2007 at 8:18 am
The only way I can think of is to use dynamic sql, but there may be a better way. Below is a sample.
declare @var table
(
var_name varchar(20),
var_datatype varchar(20)
)
insert into @var...
October 16, 2007 at 11:32 am
Viewing 15 posts - 1,126 through 1,140 (of 1,155 total)