TSQL: Concatenate Column from Multiple Rows into String

יום שלישי, ינואר 24, 2012

Ok , So I had a problem related to concatenation of a single Column into one ( same ) column when using GROUP BY . The Problem came from a Reporting Services perspective and there might be other solutions ( like coding in VB.NET in the report ) I have found a very nice samples : Option 1: use Northwind declare @CategoryList varchar(1000) set @CategoryList ='' select @CategoryList = @CategoryList + ' , ' +...

T-SQL Israeli CardID Checker / ת.ז. ישראלית

יום שלישי, אוגוסט 24, 2010

T-SQL Israeli CardID Checker / ת.ז. ישראלית Once in a while I come across code that I didn’t fins in the internet … mainly because it’s for local use ;) This is one of these times :) This code is the T-SQL version of the algorithm  that checks the given Israeli CardID , and adds a leading Zero , if need one ( like in my personal case ) , and calculates the “Check Number” ( SIFRAT BIKORET ) , if it’s missing. I needed this for an SSIS Package that loaded monthly information...
69 תגובות

Exporting/Saving RDL files from http://server/reports

יום שלישי, אוגוסט 11, 2009

Exporting/Saving RDL files from http://server/reports Here are the steps: 1. Go to Report on Report Manager 2. Click "Show Details" 3. Click "Properties" of the report you need to Export 4. Under "Report Definition", click on "Edit". You will be able to either "Open" or "Save" the RDL file. … And in Pictures ;) That simple :)

SSIS on Excel 2007 Data Import & Moss2007 :"Excel Source Output" . The column status returned was: "Text was truncated or one or more characters had no match in the target code page."

יום חמישי, ינואר 8, 2009

SSIS on Excel 2007 Data Import & Moss2007 One of the crucial stages in moving managers from the “Simple all I want I get from Excel” to a more centralized platform like Sharepoint is moving their data ! Well lately not only have I been a : “HTML” “SharePoint Designer 2007” “Adobe Photoshop CS2” & “Paint.Net” Graphics “General Specific Site Collection Moss2007 Admin” “InfoPath 2007 Browser Compatible Developer” (including InfoPath C# Code) “General Web Service &...

Try the installation again using a valid copy of the installation package 'sqlncli.msi'

יום שבת, ינואר 3, 2009

Problem: If SqlServer 2005 Setup fails and roll back with the following error message: "An installation package for the product Microsoft SQL Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'." Reason: It’s probably due to the fact that you have installed .NET Framework 3.5 BEFORE you have installed SqlServer 2005 ;) Solution: To work around this problem, uninstall SQL Native Client by using Add or Remove Programs. On a cluster, uninstall SQL Native Client from all nodes. Then, run SQL Server...
3 תגובות

Report Viewer for Visual Web Developer Express

יום שבת, דצמבר 27, 2008

Report Viewer for Visual Web Developer Express The Visual Web Developer Express is one of my favorites , both the previous 2005 & 2008 versions as well as the new and shining all around fully functional – Visual Web Developer 2008 SP1 Express Edition ( which has support for ClassLibrary & Silverlight 2.0 projects as part of the Solution – Single Environment ! ) It seems that only a few days a go the Microsoft Report Viewer Add-on for Visual Web Developer 2008 Express has been released Microsoft Report Viewer Add-on for Visual Web Developer...

Move from Access 2007 to Sql2008

יום שבת, דצמבר 20, 2008

I was working on a small webcast on migration from Access to SqlServer Express edition and it seems that from the 2008 version , it’s no longer possible (by default) from the Access ribbon strip (Express & Developer edition were tested ). This option worked on SqlServer 2005 ( All versions , as far as I know ) On the other hand, we know that even the Express edition of SqlServer 2008 contains the Import/Export Wizard ( which in the SqlServer2005 Express was absent )
תגובה אחת

Saving changes is not permitted … that require the table to be re-created.

יום ראשון, ספטמבר 14, 2008

Saving changes is not permitted ... that require the table to be re-created. For some of us who’ve been used to making changes in Tables using the SqlServer2005 Management Studio, the SqlServer2008 Management Studio show the following warning : Saving changes is not permitted ... that require the table to be re-created. Or in pictures And the “short” solution is the following
3 תגובות

Sharepoint 2007 DRP

יום שישי, אוגוסט 29, 2008

Sharepoint 2007 DRP High availability is one of the key issues in Moss2007 ( as like any other enterprise based application ) – Especially if the Moss provides the Central point for Content resources of a major Healthcare Industry ( which means 24-7 round the clock usage ! ) There are several 3rd party products which perform very complicated recovery issues in Both Sps2003 and Moss2007 , but there is a talk that in the next ServicePack if the Moss/Wss is based on a SqlServer 2008 – the versioning of Files could be done on a FileSystem...
אין תגובות