Viewing 15 posts - 3,076 through 3,090 (of 6,036 total)
Also don't see any reason for folderList to be mentioned in this query.
Unless you need to slow it down.
_____________
Code for TallyGenerator
May 1, 2008 at 3:57 pm
Magy,
you're tryint to count number of hits ON WHAT?
On pages?
Then show it to you query. Put PageID into GROUP BY.
Also logic of your query is flipped over.
SELECT PL.pageId, COUNT(EL.eventTargetId) AS...
_____________
Code for TallyGenerator
May 1, 2008 at 3:51 pm
Yes, there is.
Parse XML, put data into relational database and do search from there.
_____________
Code for TallyGenerator
May 1, 2008 at 3:36 pm
In "report specific" tables typically it's not up to you or me to define names.
😉
_____________
Code for TallyGenerator
April 30, 2008 at 6:46 pm
Actually, Adrian's script is not quite perfect.
🙂
If any table or column name is happened to have spece or other "unnormal" character it will fail.
When you build any kind of generic...
_____________
Code for TallyGenerator
April 30, 2008 at 6:35 pm
paravia , blank string value cannot be implicitly converted to numeric value.
SELECT CONVERT(int, '')
will return an error
What those blanks do actually mean?
NULL? Zero? Something else?
In any case update your...
_____________
Code for TallyGenerator
April 30, 2008 at 4:16 pm
SELECT @ErrNo = @@ERROR, @RowCnt = @@ROWCOUNT
_____________
Code for TallyGenerator
April 29, 2008 at 4:23 pm
To avoid "Division by 0" error it's better to use "else NULL" instead of "else 0".
_____________
Code for TallyGenerator
April 29, 2008 at 3:12 pm
Store IP address as int or binary(4).
Convert it to varchar on SELECT using UDF and use value stored in column for ORDER BY clause.
_____________
Code for TallyGenerator
April 29, 2008 at 7:03 am
I believe error message says it all.
Procedure xp_filesize does not in you database indeed.
But there is one in master database.
In order to call it you need to qualify SP name...
_____________
Code for TallyGenerator
April 28, 2008 at 8:47 pm
Did you try OPENQUERY, OPENROWSET?
_____________
Code for TallyGenerator
April 28, 2008 at 7:04 pm
Mark, you're facing the problem only because you don't like to read manuals and don't listen to people trying to help you.
You original format is standard ISO format, and of...
_____________
Code for TallyGenerator
April 28, 2008 at 3:06 pm
Check topic "Cross-Tab Reports" in BOL.
It describes how to build queries exactly like yours.
Good examples included.
_____________
Code for TallyGenerator
April 28, 2008 at 6:13 am
It looks like data issue.
Try to run
SELECT
'[' + LTRIM(RTRIM(EMP_INFO_FIXED.CoNo)) + '] ' + LNK_COMPANY.CoDesc,
...
_____________
Code for TallyGenerator
April 27, 2008 at 5:27 pm
Viewing 15 posts - 3,076 through 3,090 (of 6,036 total)