SQL Expressions, commands and more
Hello:
I have several reports I need to create in Crystal Reports XI, and I'm not sure of the best methodology. I have an ASA (Adaptive Server Anywhere) 9.02 database that I am connecting to through ODBC. The main part of the query is fairly straightforward, but the WHERE clause, I believe, forces me to use a command object. My query, cut down for sanity's sake, is as follows:
SELECT bridge.brkey,
bridge.bridge_id,
bridge.struct_num,
inspevnt.suff_rate,
inspevnt.nbi_rating,
bridge.fips_state,
bridge.facility,
bridge.location,
roadway.on_under
FROM bridge,
roadway,
inspevnt
WHERE
( bridge.brkey = :as_brkey ) and
(( ( roadway.brkey = bridge.brkey ) and
( inspevnt.brkey = bridge.brkey ) and
( inspevnt.inspkey = (select max(i.inspkey) from inspevnt i where
i.brkey = bridge.brkey and i.inspdate = (select max(j.inspdate) from
inspevnt j where j.brkey = bridge.brkey))) and
( roadway.on_under = (select min(r.on_under) from roadway r where
roadway.brkey = r.brkey )) ))
That's the query as it is used on an old Sybase DW.NET report, which I have to make work in Crystal. I am able to use the command object and make it work (is this the best way?), but that makes it so I can't use SQL Expressions in the report, which I think I need to solve my other problem as described below.
The field "bridge.fips_state" is actually a code such as "06" or "12" that refers to data in an as yet unreferenced table names PARAMTRS. The PARAMTRS table replaces all of the possible individual lookup tables, and has columns that contain a field for the table name, the field name and the parameter value. For example, if I have the value "06" in my current record, I need to query from the PARAMTRS table to find out what "06" means for the "bridge" table and the "fips_state" column. The SQL code for that is as follows:
SELECT paramtrs.shortdesc FROM paramtrs
WHERE paramtrs.table_name='bridge' and paramtrs.field_name='fips_state' and paramvalue='06'
This returns the value in the shortdesc field, "06 California" which is what the users want on their report instead of the value "06" from the bridge table. If my WHERE statement in the first query forces the use of a command, and negates my abilty to use SQL Expressions, how can I extract values from my PARAMTRS table, which I need to do for several fields in the main query.
Does anyone have any advice on this?
Thanks.
Scott,
A SQL Command is probably the best way to go. While it's true that you can't use SQL Expressions in conjunction with Commands, you don't need to.
Just add whatever you would add whatever you would put in the Expression, to the SQL Command.
For example, just add the PARAMTRS table to the existing SQL script in the FROM clause, link it in your WHERE clause and then add whatever fields you need from that table under the SELECT statement.
Use the SQL Command...
Jason
Similar Messages
-
Transferring 3 SQL databases from both SQL Express 2005 and Standard to a new physical server
I am trying to figure out the best method for transferring SQL 2005 databases from 2 different physical servers to a new server running windows server 2008 64bit.
I own a fully registered copy of Microsoft SQL 2005 32bit Standard Edition. However all of my SQL databases together are only 4GB in size thereby making 2008 SQL Express an option.
Here is the breakdown of the servers:
1) (Old Server1) Windows 2003 Server 32bit - SQL Express 2005 32bit
2) (Old Server2) Windows 2003 Server 32bit - SQL Server 2005 32bit Standard
3) (New Server) Windows 2008 Server 64bit - (Not sure which version to install)
**The objective is to migrate 2 SQL databases from Old Server1 and 1 SQL database from Old Server 2 to the New Server. What version should I install on the new server??? Do I go with 2008 express or install the 2005 Standard Edition?
Pending your response to which version to install, what are the correct steps to migrate (which I have never done before) the databases from both of these servers to the new server?
I have researched this online and I think this particular situation is unique in that I am transferring from both SQL Express and Standard from 2 different physical servers to a 2008 server that is 64bit. I cannot find anything online that I feel confident
in trying. Please help me, as I have this migration deadline of this weekend. Any help is appreciated. Thanks.Hello,
You may choose between using backup/restore or using detach/attach methods to migrate the databases.
https://msdn.microsoft.com/en-us/library/ms187858(v=sql.90).aspx
You can transfer logins using the following article.
http://support.microsoft.com/en-us/kb/918992
To decide if you migrate to Express Edition or to another edition, please review the features supported by each edition. For instance, Express Edition does not support jobs (SQL Server Agent is not available).
https://msdn.microsoft.com/en-us/library/cc645993(v=sql.100).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Express - extreme and more expresses
Short version: Is there any disadvantage to be had from placing an extreme downstream of an express? Is there any reason why the extreme ought to be the centre of the network with other devices (expresses and possibly even another extreme) downstream of it?
Here is the longer version and my thinking:
I am about to move to a new flat which features two ethernet points in every room, connected by wire to a main box in the hall.
A big part of my current (and future) setup is about air-playing music to different rooms (often several rooms at the same time) using airport, and I am sure that doing this via ethernet will mean fewer dropouts, which is great.
I have been toying around with various different network shapes in my head.
The main thing that occurs to me is that it seems a waste to have my extreme plugged into the main network switch-box in the hall, which is near ceiling level, because I wouldn't really be able to use it for much there:
It is not where I need wifi coverage.
There is nowhere to put a printer near there.
There is probably not even enough space for an ethernet hard-disk in there.
In fact it's possible the extreme wouldn't even fit in the box.
I think it would be much better to have an extreme placed in the guest-bedroom where my computer desk will be, and where it can drive things like hard disks and printers.
However, I don't really want to buy a second extreme to give me one in the hall and another in the bedroom (I imagine I will buy a third express though).
So, I was thinking about two options:
1. Putting an express in the ethernet box, into an eight-way gigabit ethernet switch and from there to the various different devices in the house, including the extreme on my desk.
Internet
I
Express
I
8-way-Switch
I I I
Extreme Express Express
2. Using the ethernet in the flat to take the inbound internet direct from the cable modem into the guest bedroom through the first ethernet slot there, into the extreme, then back to the box in the hall using the second ethernet slot, and from there use the eight way gigabit ethernet switch to take the signal to the various other ethernet slots (and in three cases to airport expresses in other rooms).
Internet
I (ethernet to guest bedroom)
Extreme
I (ethernet back from guest bedroom)
8-way-Switch
I I I
Express Express Express
Does anyone have experience of either set up, or any views on what might work best? Should I expect much loss of bandwidth if I am sending the signal over more of the ethernet cabling (as in idea two, where it will be much like Bilbo Baggins, going There and Back Again).
Thanks very much for any feedback.Short version: Is there any disadvantage to be had from placing an extreme downstream of an express? Is there any reason why the extreme ought to be the centre of the network with other devices (expresses and possibly even another extreme) downstream of it?
Yes, the Extreme is a much faster and more capable router.. it has much faster wireless. If you put an extreme in downstream setup to express it will be limited to 100mbit ethernet and limited to 300mbit wireless.
That is the short version.
Long version you have obviously thought about the problem.. if you feed incoming cable to the Extreme, route from there then feed it back to the main swith which is gigabit.. that is fine.. Lots of ethernet cables is no problem as long as they are Cat5e at least and tested to work properly at full gigabit. Ethernet is good for 100M runs on Cat6 (somewhat less on Cat5e), and can handle 2 or 3 repeaters so total length of 300M or more.. again somewhat reduced by poorer Cat5.. but in a house wiring should be no problem. A switch is a repeater for ethernet. So each time you have a router or switch it is effectively a signal repeater.
So yes you can get away with what you want by judicious connections as per your version 2 layout. -
CS3 ??? commands and more????????
Why can't I reedit a newly inserted Command in CS3 ? It
doesn't show at
all - all the code however is right on the page - but not
showing in the
Server behaviors???
Nancy Gill answered me about having both insert and a update
form on the
same page - I just found an old ASP page where both are - no
problems? I
guess it is from version MX or Ultra DEV
Is CS3 unstabil or what??
very frustrating that so many things seems to be a problem
Helle :-( *ev*This is weird - isn't it - I mean Adobe should update CS3.
All I tried to do
was write a Insert Command - requested from 1 form field and
that's
it........ how more simple can it get, and yet one can't
reedit?
I had hoped there would be a workaround to insert / update on
the same
page - but ... *ev*
Helle :-( *somewhatdissapointedoverCS3*
thanks for replying Nancy
"Nancy" <[email protected]> skrev i meddelelsen
news:fnl6om$jhs$[email protected]..
>I have also noticed that some Commands are not editable.
Basically, if you
>use code that DW recognizes, it will still appear in the
window .. and if
>your hand coding is unique and doesn't use DW
recognizable code, then it
>disappears from the window .. but is still available in
code view.
>
> I just thought of something else .. recordset code
changed in DW 8.2 to
> avoid SQL Injection Attacks so CS3 would use different
code than older
> versions. However, you can use your own code in the
Command window .. as
> long as you realize you may have to use code view.
>
> Nancy
>
> "Helle" <[email protected]> wrote in message
> news:fnl5ec$i4a$[email protected]..
>> Why can't I reedit a newly inserted Command in CS3 ?
It doesn't show at
>> all - all the code however is right on the page -
but not showing in the
>> Server behaviors???
>>
>> Nancy Gill answered me about having both insert and
a update form on the
>> same page - I just found an old ASP page where both
are - no problems? I
>> guess it is from version MX or Ultra DEV
>>
>> Is CS3 unstabil or what??
>>
>> very frustrating that so many things seems to be a
problem
>>
>> Helle :-( *ev*
>>
>>
>
> -
I have tried, several times. to download SQL Express 2014 and I get the reply if download does not start in 30 seconds click here. I have clicked here and it takes me to retry which I have done over and over. How can I get this download.
Hi SQL Express 2014 download,
I can successfully download SQL Server 2014 Express from this link:
https://www.microsoft.com/en-us/download/details.aspx?id=42299 .
I would recommend you follow the steps in the blog below to download SQL Server 2014 Express.
The 12 step process to download Microsoft SQL Server Express 2014
http://www.istartedsomething.com/20140616/the-12-step-process-to-download-microsoft-sql-server-express-2014/
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
hai every body,
I have a doubt regarding sql plus commands and PL/SQL..I am using Oracle 10g..I have created 1 procedure for deletion/updation of transactions..and the number of effected rows I just displayed with using " *dbms_output.put_line* (SQL%ROWCOUNT)"..hence before executing the procedure the sqlPlus command "*SET SERVEROUTPUT ON*" should turn on..at most times it is forget to turn on and output becomes vague..
hence my question is "*Is there any package or any thing to execute sql plus commands(here it is SET SERVER OUTPUT ON) through PL/SQL statements???*"
with thanks,
jp@valapadjp@valapad wrote:
I have a doubt regarding sql plus commands and PL/SQL..
Easy PL/SQL supports PL/SQL commands and embedded SQL, which are found in the PL/SQL and SQL reference manuals.
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/toc.htm
http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/toc.htm
It does not support the commands of other applications or languages such as SQL*Plus, Unix or COBOL for example.
I am using Oracle 10g..I have created 1 procedure for deletion/updation of transactions..and the number of effected rows I just displayed with using " *dbms_output.put_line* (SQL%ROWCOUNT)"..hence before executing the procedure the sqlPlus command "*SET SERVEROUTPUT ON*" should turn on..at most times it is forget to turn on and output becomes vague..You can set serveroutput on in your log in script for SQL*Plus if you keep forgetting.
http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/ch_two.htm#sthref94
hence my question is "*Is there any package or any thing to execute sql plus commands(here it is SET SERVER OUTPUT ON) through PL/SQL statements???*"No. -
SQL Command/SQL Expression Fields
CR XI R2
Hi All,
Here's the situation.
There is an SQL table of lookup codes. The columns in the table are "FIELD", "VALUE", and "DESCR".
The data looks like
CRA_TYPE RV Receiving
CRA_TYPE AJ Adjustment
CUST_TYPE MD Medical
CUST_TYPE RT Retail
The main datatables contain a "VALUE" in a particluar "FIELD" and I need to be able to retrieve the appropriate "DESCR" to output on the report.
There is a stored procedure that takes 'FIELD" and "VALUE" and selects "DESCR" but I can't figure out how to set it up as a formula field and pass parameters to it for each line.
It is basically
SELECT DESCR FROM tbLookUp WERE [FIELD]=@FIELD AND [VALUE]=@VALUE
The "FIELD" parameter would be static (in this case "CRA_TYPE") and the "VALUE" parameter would be the value of the CRA_TYPE field in each datarow.
I can't just use the "VALUE" since more than one field might have the same "VALUE" but a different "DESC". Only the combination of "FIELD" and "VALUE" is unique.
I've been playing with SQL Commands and SQL Expression Fields with no success. There aren't a lot of samples to look at especially the SQL Expression Fields.
I could create a new stored procedure that would just send in the translation but I don't want to create a stored procedure for every report and almost all the reports will need a similiar transaction scenario.
Any help would be greatly appreciated.
Thanks in advance.
LarryYes, I am pretty familiar with Crystal, at least in the routine stuff and pretty good in VB and SQL.
In normal SQL I would retrieve it with a join to the LookupTable.
like: JOIN tbLookUp ON tbLookUp.FIELD = 'CRA_TYPE' AND ( tbLookUp.[value] = tbCRA.CRA_TYPE)
and then just add to the SELECT statement: tbLookUp.DESCR
However, I can't find anyway to use the Database Expert to add the FIELD='CRA_TYPE" to the linking process
I was hoping the "SQL Expression Fields" might hold the answer but the documentation and examples on their use is pretty slim.
I was hoping for a way to run something like: SELECT DESCR FROM tbLookUp WHERE FIELD = 'CRA_TYPE' AND [value] = {tbCR_AUDIT.CRA_TYPE} which would evaluatefor each record like a Formula Field which I could then just insert into the report.
Everything I've tried in the formula editor for an SQL Expression is no good, but run just fine in the SQL Server Management Studio.
I could just skip the "Database Expert" completly and write an SQL Expression as a "SQL Command" that would retrieve it but I'm trying to use the "Database Expert" for ease of maintenance by other people later on and keep as much as I can in CR.
Maybe I'm asking CR for too much.
Thanks -
Informix ODBC driver and SQL Expressions
I get an odbc error from Crystal Reports XI when I create a simple sql expression.
Database Connector Error: '42S22: Informix Informix ODBC Driver Informix Column (ofh) not found in any table in the query (or SLV is undefined). Database Vendor Code: -217
I have one table in the report (ofh) and three columns on the report.
My syntax for the sql expression is:
(SELECT xvd.xvd_print FROM xvd WHERE xvd.xcd_id=24 AND xvd.lng_id='0' AND xvd.xcv_id=OFH.OFT_ID)
Where the OFH.OFT_ID is the connection to the table in the report.
If I hard code this value the syntax is ok, but what is the use? I need to have this match the record.
In Crystal Reports 8.5 this syntax works just fine with this same driver.
And I tried double clicking on the column name from the formula editor and all it did was put spaces around the ofh and the oft_id with the period in the middle.
I got the same error.
Show SQL Query u2026 does not work to show me what it builds so I can see what it does not like.
What syntax do I need to use to get the simple sub-select to work the same as it did in version 8.5?
I have to convert all my 8.5 reports to XI and many use this type of feature to get the data for the report.The command file works wonderfully, but my hope was not to completely change each old report but simply convert them and reuse as much as possible.
It seems that the processor that converts the linked tables and the select logic does not function in the same way as version 8.5 does to create syntax for the query when it puts it into the odbc driver.
After more play I found that if I did not use alias names in the sub-select syntax (sql expression editor) I could get the data I needed.
However I have not converted the more complicated reports that use the sql case statement syntax.
I was hoping some one could look at the way Crystal Reports XI was handling the build of the select statement and see what changes where made that seem to no longer let me use the same sql statements I used in 8.5 -
Restrictions for using sql commands and operators in loader control file
Hi ,
It suppose that there is a lot of restrictions and limitations when using sql commands and operators in the loader control files, same as it seems I cannot use (or) when with case statement, also it seems there is certain length for the case,
So guys, what are the common limitations and restrictions to be avoided in the loader control file ?
Your efforts are highly appreciated
AshHi Ash,
if you need to do more complicated logic its better to define the file to be loaded as an external table. You can then use any sql function you like against the external table rather than messing around with what you can and can;t do in a sqlldr control file.
You can use the external_table option of sqldr to generate the definition.
Regards,
Harry
http://dbaharrison.blogspot.com/ -
Understanding replica volume and recovery point volume usage with SQL Express Full Backup
I am running some trials to test DPM 2012 R2's suitability for protection a set of SQL Server databases and I am trying to understand what happens when I create a recovery point with Express Full Backup.
The databases use simple recovery model and in the tests I have made so far I have loaded more data into the databases between recovery points since that will be a typical scenario - the databases will grow over time. The database files are set to autogrowth
by 10%
I have been looking at the change in USED space in the replica volume and in the recovery point volume after new recovery points and have a hard time understanding it.
After the first test where data was loaded into the database and an Express Full Backup recovery point was created, I saw an increase in used space in the replica volume of 85 Gb and 29 GB in the recovery point volume. That is somewhat more than I think
the database grew (I realize that should have monitored that, but did not), but anyway it is not completely far out.
In the next test I did the same thing except I loaded twice as much data into the database.
Here is where it gets odd: This causes zero increased usage in the replica volume and 33 GB increased use in the recovery point volume.
I do not understand why the replica volume use increases with some recovery points and not with others.
Note that I am only discussing increased usage in the volumes - not actual volume growth. The volumes are still their original size.
I have been using 3-4 days on the test and the retention period is set to 12 days, so nothing should be expired yet.Hi,
The replica volume usage represents the physical database file(s) size. The database file size on the replica should be equal to the database file size on the protected server. This is both .mdf and .ldf files. If when you load data
into the database and you overwrite current tables versus adding new ones, or if there is white space in the database files and the load simply uses that white space, then there will not be any increase in the file size, so there will not be any increase
in the replica used space.
The recovery point volume will only contain delta changes applied to the database files. As the changed blocks overwrite the files on the replica during express full backup, VSS (volsnap.sys) driver copies the old blocks about to be overwritten
to the recovery point volume before allowing the change to be applied to the file on the replica.
Hope this helps explain what you are seeing.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
I'm not even sure if this is an extension or plug-in and all I can tell you is what I have already stated. I can only make one command at a time and after each one I get a pop-up from Java script that says uninstal set. I must depress ok to move on, but only for one more command and it starts over again. This also happened when I tried to instal firefox 4 a couple months ago and I deleted the program and went back to an earlier version.
Mail troubleshooting - Yosemite
Troubleshooting sending and receiving email messages
Troubleshooting sending email messages
SMTP servers keep going offline -
More Guru Winners for February 2015 in the SQL Server category and many others!
It's been a busy week that also saw the
TECHNET WIKI SUMMIT 2015
Then we had the results for
February's TechNet Guru competition ALSO posted!
http://blogs.technet.com/b/wikininjas/archive/2015/03/19/technet-guru-february-2015.aspx
Below is a summary of the medal winners for December. The last column being a few of the comments from the judges.
Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki in the link above.
Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
BizTalk Technical Guru - February 2015
Steef-Jan Wiggers
BizTalk Server 2013 R2 Instrumenting a custom pipeline component with ETW
Mandi Ohlinger: "Always a fan of helping our custom pipeline users. Great addition to this group."
Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
Vignesh Sukumar
BizTalk BAM (Business Activity Monitoring)
Sandro Pereira: "Great job on this article! Well explained and nice pictures, however the article format need to be improved and some proofreading is need"
Mandi Ohlinger: "Welcome to the 'I heart BAM' fan club. Nice job on this topic. A MUST read for new-to-BAM users. "
Steef-Jan Wiggers
BizTalk Server 2013 R2 Instrumenting BAM Activity Tracking with ETW
Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
Mandi Ohlinger: "ETW for BAM Activities - LOVE it. Nice use of the Framework. "
Forefront Identity Manager Technical Guru - February 2015
Wim Beck
FIM2010: Filter objects on export
PG: "Simple, targeted but nice article, nice layout. "
Søren Granfeldt: "Nice. Would be perfect with a complete code sample."
Microsoft Azure Technical Guru - February 2015
saramgsilva
Azure Mobile Services: How to see the log files in server
JH: "Log files are one of the most important things in a production environment. This article shows hows you can do that for the Azure Mobile Services in a nice and easy way."
Alan Carlos: "Great article!"
Ed Price: "Very useful topic! These are a great set of articles!"
saramgsilva
Azure Mobile Services: How to see the WebConfig file published
Ed Price: "Great detail and fantastic use of images! I love all the in-line links!"
JH: "Sometimes it is hard to tell when working in a multi-environment what configuration was published to the Server. The article shows short and easy how to do that for the Azure Mobile Services."
Miscellaneous Technical Guru - February 2015
Arleta Wanat
Retrieve all site mailboxes in your Office 365 tenant
Durval Ramos: "This article has a well content, images and code that help to understand the solution. It has References and was Translated into more two languages. Good job!"
Richard Mueller: "Good links. A great tutorial."
Andy ONeill
Silverlight: No Need to BringIntoView
Durval Ramos: "A well formatted article is easier and more pleasant to read. This script is useful"
Richard Mueller: "Good demonstration of a new feature."
Chen V
PowerShell : Enable Auto Reply for Shared Mail Box
Durval Ramos: " A good solution originated of TechNet Forum. The script and images make it easy to understand and ensure you get the best interest to reader."
Richard Mueller: "Good documentation of this feature."
SharePoint 2010 / 2013 Technical Guru - February 2015
Geetanjali Arora
SharePoint Online : Performing Batch Operations using REST API
KB: "Very well explained article on a new and much awaited feature. Although Andrew Connell already explained this topic in several posts, this article still contains added value."
Ed Price: "I love the History section. The formatting is amazing. And the References and See Also sections at the bottom are great icing on the cake. This is an important topic that's done incredibly well!"
Matthew Yarlett
Using the SpellCheck Webservice with the TinyMCE Richtext Editor and
AngularJS in Office 365
KB: "I read this article with growing interest, it contains a lot of added value. Very well and in-depth explanation. "
Ed Price: "Great scenario! Good use of images, code, detail, and References! Could possibly use a greater breakdown and explanation of the code. This article just gets more and more interesting and valuable as you read it! Great job!"
Arleta Wanat
SharePoint Online: Turn on support for multiple content types
in a list or library using Powershell
KB: "Really nice, interesting and detailed article!"
Ed Price: "The Content Types section helps explain this a lot! I also love the downloads at the end. What a fantastic resource!"
Small Basic Technical Guru - February 2015
Nonki Takahashi
Small Basic: Key Input
Michiel Van Hoorn: "Great improvement."
RZ: "Very nice explanation and examples of key input handling"
Ed Price - MSFT
Small Basic: The History of the Logo Turtle
RZ: "Turtle (Logo) was the first programming language for many, including perhaps some of the Small Basic prorammers. Nice article explaining the history."
Michiel Van Hoorn: "A nice background article and hopefull inspiration for those who want to start in robotics"
Nonki Takahashi
Small Basic: TechNet Wiki Article List
Michiel Van Hoorn: "This is great! Perfect as a local cache of the articles. "
RZ: "A good example"
SQL BI and Power BI Technical Guru - February 2015
Sylvain PONTOREAU
PowerBI API in .Net
RB: "Great walkthrough. Looking forward for the WP8 version of the app ;)"
PT: "Sylvain, very nice job with this. This is a timely topic about an emerging product that has great potential. This is a very good example of a well-written post on an interesting subject with enough information to be valuable to a
solution developer. I will personally take time to explore the Power BI API and use your examples. "
SQL Server General and Database Engine Technical Guru - February 2015
Ronen Ariely
SQL Server Books Online
AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
Durval Ramos
How to Collect Events and Errors on SQL Server
Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
System Center Technical Guru - February 2015
MarkusEliasson
Troubleshoot ID 32008: DPM cannot
protect this SharePoint farm...
Ed Price: "An important topic that's very clear with great formatting and a good use of an image!"
t.c.rich
Managing Priorities of Client Polices and A/V Policies in SCCM
Ed Price: "I love the descriptions, breakdown of sections, and code formatting! Great article!"
Mr X
How to copy SMSTS.log when a Task Sequence fails in SCCM
Ed Price: "A very helpful table and a good contribution to the community! Mr X again thinks of important content gaps to fill!"
Transact-SQL Technical Guru - February 2015
Saeid Hasani
T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
Richard Mueller: "Good use of Wiki guidelines and great examples."
Ronen Ariely
Free E-Books about SQL and Transact-SQL languages
Richard Mueller: "An excellent collection and a great idea."
Durval Ramos: "A good initiative. Very useful !!!"
Ricardo Lacerda
Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
- Accumulated Earnings
Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
Richard Mueller: "A new idea that can be very useful. Grammar needs work"
Visual Basic Technical Guru - February 2015
Emiliano Musso
Genetic algorithm to solve 2D Mazes in Visual Basic
MR: "Great article! Love to see an application for AI in a simple game"
Durval Ramos: "This article is well documented with images and your code clarifying important details. It also has References, a very useful video and your project available for download in "MSDN Code" !"
Richard Mueller: "Incredible concept and code. Grammar needs work."
Paul Ishak
MultiHeadedTrackBar Control
Durval Ramos: "Very interesting article, with methods and properties well documented. Your project was available in "MSDN Code" which facilitates the understanding of solution."
Richard Mueller: "Amazing work. Extensive code but with lots of comments. Needs a TOC"
tommytwotrain
Using Trigonometry to draw graphic curves in VB.NET part 2.
MR: "Great continuation. Love the usage of the code for circle text"
Durval Ramos: "The article is interesting, but It's need to work better commenting about assemblies referenced on project and also structure your content into sections."
Richard Mueller: "Good tutorial and example code demonstrating basic concepts. Avoid first person."
Visual C# Technical Guru - February 2015
Magnus (MM8)
C#: Enumerating collections that change
Jaliya Udagedara: "Great article. Has a thorough and to the point explanation of problem and the solution with code samples. Loved it!"
Carmelo La Monica: "Very useful and exhaustive about errors at runtime in these circumstances. Congratulations"
Andy ONeill
c#: Practical Poly
Carmelo La Monica: "Fantastic artcle. Very detailed and exhaustive, congratulations ."
Jaliya Udagedara: "Definitely worth reading this. Explains somewhat advance topic along with a fundamental concept of programming. "
Wiki and Portals Technical Guru - February 2015
Durval Ramos
Wiki: Microsoft Short URLs Personalized by SXP
PG: "Nice idea, lots of potential to grow, really needs some more community attention."
Richard Mueller: "An excellent idea. Good use of Wiki guidelines."
Windows Phone and Windows Store Apps Technical Guru - February 2015
Carmelo La Monica
Windows Phone 8: control Nokia Maps (Part 3)
JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
article!"
Windows PowerShell Technical Guru - February 2015
Richard Mueller
Document Your Active Directory Organization
Alan Carlos: "Wow! Great article, congratulations!!! Very detailed!"
Chen V: "Excellent Article - I liked return to top as well."
Ed Price: "Wow! It's like a professional whitepaper! It's a valuable topic that's done with intricate detail! I love the images, diagrams, code blocks, and it ends very well with more resources and Wiki articles! The article just keeps
digging deeper and deeper! Awesome job on this!"
DexterPOSH
PowerShell + REST API : Invoke-RestMethod Gotcha
Chen V: "Good Article. TOC might have made this more rich! "
Ed Price: "This is a good topic with some great content. It could benefit from sections and a TOC, as well as a References and See Also sections at the end. The inline links are helpful. Could "
DexterPOSH
PowerShell Trick : Search & highlight text in MS Word
Ed Price: "This is a great solution, with some helpful Q&A in the comments!"
Windows Presentation Foundation (WPF) Technical Guru - February 2015
Andy ONeill
Lookless Controls
KJ: "WPF can definitely be confusing when devs first encounter it. Like the way you break it down."
Ed Price: "Wow! Fantastic explanations that are very clear and deep! The images and code bring it to life!"
Andy ONeill
Only One Parent
KJ: "Same iwith this one, good 101 intro"
Ed Price: "Another great tip! I love the detail here as well! Those snippets help a lot!"
Andy ONeill
Bind to Current Item of Collection
KJ: "Feel like this topic has a lot of coverage out there, but it can't hurt to hammer on databinding yet one more time :) "
Ed Price: "Fantastic topic with great execution! Although these could benefit from References and See Also wiki sections at the end, the Inline links help a lot!"
Windows Server Technical Guru - February 2015
Mr X
Ping for Beginners
Mark Parris: "A good introduction with additional content."
JM: "Great article idea and an excellent article that will be useful to many, thanks for your contribution."
Philippe Levesque: "Good article that show a usefull utility for basic troubleshooting"
Richard Mueller
Active Directory: Get-ADFineGrainedPasswordPolicy Default and Extended Properties
Mark Parris: "An Interesting insight on FGPP and their extended properties."
JM: "This is a good piece of detailed information about this PowerShell cmdlet, thanks for sharing."
Philippe Levesque: "Great article ! Illustrating some cmdlet's output when a user got assigned policy versus a user with the default domain policy could be a good idea."
Richard Mueller
Active Directory: Get-ADServiceAccount Default and Extended Properties
Mark Parris: "A useful nugget of information."
JM: "More very useful information about an AD cmdlet, thanks!"
Philippe Levesque: "Good article !"
As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.
You will find the complete post, comments and feedback on the
main announcement post.
Please join the discussion, add a comment, or suggest future categories.
If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above,
THERE'S STILL TIME! :D
Best regards,
Pete Laker
More about the TechNet Guru Awards:
TechNet Guru Competitions
#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
you could win weekly awards!
Have you got what it takes o become this month's
TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!Congrats to Ronen and Durval!
SQL Server General and Database Engine Technical Guru - February 2015
Ronen Ariely
SQL Server Books Online
AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
Durval Ramos
How to Collect Events and Errors on SQL Server
Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
How to find out the failed sql command and its data from DEFERROR
Hi,
has anybody a procedure or some other possibilities to read the content of column USER_DATA of the advanced replication view DEFERROR in order to find out the failed sql command and its column values?
Thanks in advance.Hi Vishwa,
The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
rv_value = 'EXAMPLE'.
Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
This is a huge topic and i have just mentioned you basic things.
Regards,
Bharathy. -
SQL Server 2008 R2 Express Edition and Full Text Indexing
Hello, we have recently upgraded our web front end server from SQL Server 2005 (Standard Edition) to SQL Server 2008 R2 Express Edition (in conjuction with upgrading our main production servers to SQL 2008 R2 Standard). We have 12 Databases on our production
SQL Server that are replicated to our web frontend server to the SQL Express instance. One of these databases has a FULL TEXT INDEX. The production database is running the Adobe iFilter version 9 64Bit. The FULL TEXT CATALOG has been created and populated
and performs searches as intended. However, upon replication, when using the search option on our web page based on that PDF iFilter, it no longer works. After examining the properties of the FULL TEXT CATALOG, we note that the Catalog size on the subscriber
end is 0MB in size (whereas it is 3MB on the Publication side). Also the Unique Key Count on the subscriber side is '1' whereas on the publisher side it is 30,000+. After examining the FT Indexing logs on the subscriber side shows an error: "Warning: No appropriate
filter was found during full-text index population" On the subscriber side which is running Windows Server 2003 and SQL Server 2008 R2 Express Edition, Adobe Reader 10.1.1 is installed (all 32Bit) with the Adobe iFilter AcroRdIF.dll. When running the SELECT
* from sys.fulltext_document_types T-Sql statement, the list returned shows the PDF filter to be installed and shows the correct path. Under the System Environment Variables, that path has also been installed (from previous recommendations in researching this
problem). After numerous reboots, service restarts and re-attempts to get the FT Daemon to crawl - no success. Can anyone please help with this problem? Is there something I am missing? In an attempt to work around this problem thinking there might be a version
conflict between the 64Bit version on the publisher and the 32Bit version on the subscriber, I disabled the replication of the FULL TEXT CATALOG and tried to create a new catalog on the subscriber with the same results. Thank you for your answers in advance
- Fustrated! Sorry, somehow this got posted originally under Server DesignHello Jeff hope your still out there. I wrote this question 2 years ago and upgraded to SQL Express with advanced services. Full Text replication worked until last week. We are operating in a virtual environment. My publisher box
is a Windows Server 2008 R2 (64bit) with SQL Server Standard Edition. My Web front subscriber is a Windows 2003 R2 (32bit) Server with SQL Server 2008 R2 Express SP1 with Advanced Services. Now the exact same thing is happening after 2+ years.
We are looking for possible updates that might have broken this but I am stretching that. Any clues please? 32bit vs. 64bit? -
SQL*Plus 'Copy' command and LONG datatypes
Hi. I'm using Oracle 9.2.0.5 and wanna copy LONG to LONG without using an Interface in VB or any other programming language.
Some of the fields (plain text) are greater than 32 Kb, and I tried the SQL*Plus 'Copy' command, without success.
(For compatibility reasons I can't convert LONG to CLOB, I need to copy LONG to LONG)
This is the example I'm working with:
Table Source_LONG (ID number, DATA long)
Table Destination_LONG (ID number, DATA long)
The SQL*Plus command: (connected from test_database@environment)
set long 100000
copy from test_database/test_database@environment insert destination_long (id,data)
I tried using both FROM and TO, but same results.
The fields are copied into destination_long, but they are
truncated at 32768 bytes, even with the LONG variable set to 100000. Any ideas ?
Thanks.I'm working with 2 similar tables with this structure:
SOURCE_LONG (ID number, DATA long)
DESTINATION_LONG (ID number, DATA long)
SOURCE_LONG contains two rows:
ID DATA
1 hello
3 ....text bigger than 32kb...
I tried your solution and it insert 2 rows, but only the ID is filled. The DATA is empty in both cases :-(
insert into destination_long(id,data) (select id,to_lob(data) from source_long);
Maybe you are looking for
-
How much would it be to replace an iPhone 5s home button?
My phone received some water damage and it looks like the home button needs to be replaced. Anybody know how much it would cost to replace?
-
HT1296 How can I sync the content on my iPad 1 to my new computer without losing anything?
My old computer (a PC) is crashed and is no longer usable. I hadn't synced my iPad to that computer in several months. Now, I have a Mac Air and when I plug my iPad 1 into it, I get a message that states the iPad is synced with another iTunes library
-
IPod Classic 160g Won't Hold Songs past 2 gigs or so.
Over the past few months my ipod classic had been having periodic playback problems. I listen to it at work and I'd say it gets a solid 6 hours a day on weekdays. It's about 3 years old. The issue was that it would pause songs every hour or so, then
-
Can I have more than one ap open In my scream at one time?
I want to be able to view my bank account and look at numbers at the same time with out closing the ap, can this be done?
-
I downloaded from ITunes 20 songs on an album of 39. The rest will not download.
Why am I unable to only download 20 of the 39 songs on the album I purchased?