Viewing 15 posts - 2,536 through 2,550 (of 3,500 total)
One option...
SELECT *
FROM tbl
WHERE Change_Capture_Code !='00550'
AND Change_Capture_Code NOT BETWEEN '00560' AND '00580';
May 11, 2015 at 1:55 pm
maybe add another column to your table and set its value in the stored procedure that adds the record.
May 11, 2015 at 12:05 pm
And then just to yank Jeff's chain, I'd throw in a cursor to loop over the tables and run the truncate statement on each one...
Yeah, just teasing, but I...
May 11, 2015 at 10:59 am
Unless something completely escaped me, you can't do paging in T-SQL. You do that in the presentation layer (Reporting Services).
May 10, 2015 at 8:02 pm
Maybe this is what you mean/need?
May 9, 2015 at 2:20 am
How absolutely up to date do you need your data? If you use caching, SSRS would load the report data once, and then used the cached data. ...
May 9, 2015 at 1:30 am
one option is to import into a staging table, then append the unique values to another table...
May 8, 2015 at 11:36 am
Amen to that.
There are the usually obvious cases where they should be avoided, but the cases where they're ideal is never really covered. It's like cursors are a bad word,...
May 7, 2015 at 6:11 pm
Oh, c'mon... you've been around here long enough to know how to post data. Here's the table/inserts:
CREATE TABLE t1 (
n INT PRIMARY KEY,
note_ID INT,
Note_Serial_Num INT,
NoteStatus TINYINT);
INSERT INTO t1 VALUES...
May 7, 2015 at 6:03 pm
I don't think certification proves anything at all. I know people who have written books on SQL Server, are MVPs, and don't have a single certification. My certs are...
May 7, 2015 at 12:57 am
Nope. When you use a template, SSRS basically copies the contents of the template to the new file. Old files are not affected.
May 7, 2015 at 12:14 am
I'm not sure I understand your question.
stored procedures are normally used as the source for a dataset, which you use in the report.
Once you create your report, you grant users...
May 6, 2015 at 12:12 pm
Repeat how? Like you don't have LinkChild/LinkMaster set in Access?
May 5, 2015 at 7:42 pm
Not a clue what you're trying to do. Can you mock it up in Excel and upload a JPG?
This looks like you're building the query in .NET or something....
SELECT ChargeAttribute.Value...
May 5, 2015 at 6:31 pm
Not enough information to answer very well, but do you have a date or a time dimension/table in your database?
May 5, 2015 at 1:07 pm
Viewing 15 posts - 2,536 through 2,550 (of 3,500 total)