Viewing 15 posts - 8,041 through 8,055 (of 9,641 total)
Jason,
If you post the entire stored procedure I'm sure we can give you some help. As you said it is probably something simple. My signature line used to...
August 7, 2008 at 7:48 pm
No problem. Glad I could help.
August 7, 2008 at 7:35 pm
antonio.collins (8/7/2008)
August 7, 2008 at 2:59 pm
The Joins should work fine as long as you have proper indexes on them and in the design I have suggested they are all part of a clustered index. ...
August 7, 2008 at 2:50 pm
It's actually quite simple. Go to report parameters and add a parameter called Toggled that will be a boolean and Hidden. Set the default to TRUE (the thing...
August 7, 2008 at 2:47 pm
I'm not positive that I understand what you are asking, but I would do a design with 3 tables Ads, WebSites, and Ad_WebSites like this:
[font="Courier New"]CREATE TABLE Ads
(
...
August 7, 2008 at 2:28 pm
This is by design. When you save as PDF, it shows what's on the screen so when you directly go to PDF, etc. you need to have everything expanded...
August 7, 2008 at 2:16 pm
As I said in my last post. Run a Trace against the server to make sure the application is actually doing the insert. If the insert was failing...
August 7, 2008 at 1:45 pm
SQL Server does not do any ordering by default. If you have a clustered index on the table then usually the data will be returned in the order of...
August 7, 2008 at 1:38 pm
If TodaysCount Cint((YesterdaysCount) * 1.05) Then
Success
Else
Failure
EndIf
August 7, 2008 at 1:34 pm
If you want this EXACT set of sql statements to generate a report for you will need to encapsulate it in a stored procedure.
Parameters in SSRS are defined in the...
August 7, 2008 at 1:30 pm
Actually Lynn has it right. You can't directly convert the lastlogon to bigint because it is larger than bigint, so you need to convert lastlogon to a larger decimal...
August 7, 2008 at 12:59 pm
If you need to pass parameters into the temporary procedure you just add those parameters to @Params and add the parameter the @sql being called and to the parameters added...
August 7, 2008 at 12:43 pm
I think the issue is that we are all thinking of a week being Sunday - Saturday and SQL Server in returning Week is considering a week being the first...
August 7, 2008 at 12:33 pm
Here's what I'd do next (assumes you have primary key on the source table):
[font="Courier New"]CREATE TABLE logins
(
pk datatype,
lastlogon bigint
)
INSERT INTO logins
SELECT TOP 50%
...
August 7, 2008 at 11:27 am
Viewing 15 posts - 8,041 through 8,055 (of 9,641 total)