.::Eralp Erat's Solutions Diary::..

{#Every way that I Can share!}-MS Dynamics CRM-Sharepoint-Mobility-Infopath

Fast Way to show "how many records do you have in your SQL Server DB ?"

clock Kasım 19, 2011 12:58 by author NetZero2
SELECT
'[' + SCHEMA_NAME(t.schema_id) + '].[' + t.name + ']' AS fulltable_name,
SCHEMA_NAME(t.schema_id) AS schema_name,
t.name AS table_name,
i. ROWS
FROM
sys.tables AS t
INNER JOIN sys.sysindexes AS i ON t.object_id = i.id
AND i.indid < 2
order by 4 desc
 
the result is the following picture.. (my test database)
  
 
have a nice day!
 
E2 

Bu yazıyı ilk değerlendiren siz olun

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Use SCOPE_IDENTITY instead of @@IDENTITY

clock Temmuz 12, 2011 07:51 by author NetZero2

"When trying to retrieve the identity of the last row inserted in the table always use SCOPE_IDENTITY instead of @@IDENTITY. If you are simply inserting data into the database table using a simple INSERT query than you won't be able to see the disaster behind using @@IDENTITY. But as soon as you or your fellow developer start using triggers and tries to insert data into another table depending on the insertion in the first table the whole hell will break loose. Here is a small scenario. You write a query to insert data into table1, a trigger is fired which is used to insert data into table2. Now if inside your query you retrieve @@IDENTITY you will not get the identity of the last row inserted in table1 but you will get the identity of the last row inserted in table2 since technically that was the last identity that was generated and which offcourse you were not expecting. If you want to get the identity from table1 than you will use SCOPE_IDENTITY. Simply, @@IDENTIY will return you the last ID generated in any table. If you are firing triggers on 10 tables and if you do @@IDENTITY than it will return you the identity from the table10. I will soon write a small article on this topic."

 

PS: http://geekswithblogs.net/azamsharp/archive/2005/07/13/46220.aspx

Thanks to Mrs.Gulin. (@ABank)

2 kişi tarafından 5.0 olarak değerlendirildi

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Is there something special I need to do to get VS 2010 to realize that there is Sharepoint 2010 + SQL 2008 R2 on my box and to enable reporting and TFS sharepoint portal ?

clock Haziran 22, 2011 04:51 by author NetZero2

Ive tried EVERYTHING. I have installed multiple times combinations of SQL 2008 R2 + Sharepoint 2010 Foundation/Server and VS2010.

Is there something special I need to do to get VS 2010 to realize that there is Sharepoint 2010 + SQL 2008 R2 on my box and to enable reporting and TFS sharepoint portal ?

Maybe the option to enable it is hidden in some menu somewhere.

Any ideas what I can check ?

---

 Answer is below (Andddd Oscar goes to Stack Overflow!!)

---

I found this.. I guess this isnt possible on win7 + TFS2010 + SP2010? Update 4th May 2010 •Nilesh Deshpande from LightSpeedIT in Sydney was asking how he configures SharePoint integration when he has TFS installed on Windows 7. The answer is easy, if not one he will like. You can’t. When you install on Windows 7 you can only do a basic install and the Admin options you would need to configure SharePoint are not available. You will need to move you ProjectCollection to a TFS instance running on a Server OS to be able to do this. 

 

2 kişi tarafından 5.0 olarak değerlendirildi

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Yazar Hakkında

Eralp

Uludağ Üniversitesi bilgisayar programcılığı sonrasında işletme fakültesini bitiren Erat ; 1999 yılından bu yana yazılım sektörünün içerisinde yer almış ve ilgili olduğu projelerin çözüm üretilmesin de aktif olarak rol oynamıştır.Yaklaşık 6 yılını Türkiye’nin dört bir tarafında yer alan devlet hastanelerin bilgi yönetim sistemlerini tasarlamak ve geliştirmekle geçirmiş ; LIS , IVR ve Linux sistemlerinin entegrasyonu konusunda uzmanlaşmıştır.Bu konuda halen danışmanlık hizmeti vermektedir..Uzun yıllar “Object Pascal” ile uygulama geliştirmiştir.MCP , MCAD.NET ve MCSD.NET,MCTS (MS CRM 4 Customization) unvanlarına sahiptir..Aynı zamanda Mobile Cihazlar konusunda 2007 yılında Microsoft tarafından MVP unvanına layık görülmüştür.
Çeşitli kurumsal projelerin mimari tasarım ve yazılımlarını gerçekleştirmiştir.Son zamanlarda ağırlıklı olarak Microsoft Dynamics CRM ,Sharepoint ve entegrasyon bazlı olarak Axapta(Microsoft ERP) & Project Server ayrıca  IPAD,IPhone,Android (kurumsal ağırlıklı) projelerinde yer almaktadır.CRM ve Sharepoint konusunda başta finans sektörü olmak üzere Türkiye'nin alanında en büyük firmalarına kurumsal eğitimler vermektedir.Yazılım konusunda en büyük hayali, Türkiye’mizin bir yazılım üssü haline gelebilmesinde ön ayak olmaktır. Yazılımın belli bir forma sıkıştırılmasından hiç haz etmeyen ve fanatikliği değil sadece kaliteyi ön plana çıkarabilmek adına deneyimlerini ve yeni teknolojiler hakkında oluşan bilgi ve birikimlerini üniversitelerde genç dimağlarla paylaşmaktan büyük mutluluk duymaktadır.Pragmalinq Yazılım şirketinin kurucusudur.2007 yılında Boğaziçi Üniversitesi Makine Mühendisliği bölümünde C# eğitimleri vermiştir.Şu an Sakarya Üniversitesi Bilgisayar Mühendisliği 3.sınıfta olup paralelde e-Bilişim Mühendisliği dalında yüksek lisans yapmaktadır.

Kişisel İletişim İçin :  eralp.erat@gmail.com

 

infopath 2010



Cozumpark Bilisim Portali

 

Calendar

<<  Şubat 2012  >>
PaSaÇaPeCuCuPa
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Sign in