DCSIMG
Browse by Tags - MS Israel Community
  • Tips and Tricks #2– Installing SharePoint 2010 On SQL 2012 Denali

    התקנתי אצל אחד מהלקוחות SharePoint 2010 ביחד עם SQL 2012 CTP 3 code name Denali. כמובן שהתקנת ה SharePoint לא משתנה והכל עובד בצורה רגילה.   ישנו  stored procedure שההתקנה של SharePoint משתמשת בו אשר לא קיים כבר בגרסה הזו של ה-SQL,  אם תנסו להריץ את ה-configuration wizard או תנסו ליצור configuration database בצורה אחרת כנראה תקבלו את השגיאה הבאה: Could not find stored procedure ‘sp_dboption. מה שצריך לעשות זה פשוט להתקין את SP1 של SharePoint 2010 לפני הרצת ה-wizard או יצירת הדאטאבייס...
  • טיפ: יצירת טבלת כל הערים בישראל בSQL - המרת רשימה רגילה לטבלת SQL

    טיפ SQL–איך לקחת רשימה מאתר ולהפוך אותה לטבלה בדרך המהירה ביותר לא מעט פעמים אנו נזקקים להכניס הרבה מידע במכה אחת לתוך טבלת SQL. דוגמא קלאסית לזה היא רשימת ערים וישובים בישראל. קל למצוא אתרים שיש בהם רשימה של כל הישובים וגוגל מהיר יספיק על מנת למצוא אתר כזה . הבעיה היא שמרשימה כזו: לא תמיד ברור איך יוצרים טבלת SQL. טריק קטן שאני משתמש בו תמיד הוא לקחת את הרשימה, ולהעתיק אותה לתוך אקסל: (Copy + Paste פשוט)   אקסל מאפשר לכתוב נוסחאות פשוטות, שיאפשרו לנו להרכיב משפט SQL תקני בקלות, ולשכפל אותו...
  • MDX vs. SQL

    A while ago I posted about SQL and MDX in separated posts. This time I will walk you through MDX and SQL queries to illustrate the similarities and differences between the two query languages. All the queries are against AdventureWorksDW. I invite you to add comments to make this idea list, even bigger!   SQL MDX To retrieve a single value from a table, you need to use the Sum() function to add up the values of the selected measure for all rows and optionally assign it an alias as shown in this...
  • Microsoft SQL Server Migration Assistant

    Microsoft released a new suite of tools that can help you during migration from a third party database to Microsoft SQL. This tools can be downloaded from the following links: Microsoft SQL Server Migration Assistant for MySQL v5.1 Microsoft SQL Server Migration Assistant for Oracle v5.1 Microsoft SQL Server Migration Assistant for Sybase v5.1
  • Troubleshooting SQL Server 2005/2008 Performance and Scalability Flowchart

    לפני כמה שבועות הייתי נוכח בפגישה נכבדה של DBAs והייתה חגיגה ממש J. בפגישה הציגו מספר בעיות שכל אחת מהן גרמה למשתתפים להעמיק לדיון סוער עד כדי כך שהוריד בלט.......! אחת הבעיות האירה לי כי ישנה דרך נחמדה יותר לפתור דילמות וזו השיטה הטובה והישנה של תרשימי זרימה. חכמים אמרו (אלה שהקשבתי להם...) , שעם עובדות לא מתווכחים! וכך בילינו עד השעות הקטנות , לא ספרנו כבשים , אלא חצים. תחסכו לכם זמן , תיהנו מהזמן שלכם וזה ע"י תרשים מדהים (אמנם ותיק) אך כיף לזכור שהוא זמין ועדכני. הקליקו עליי להורדה. בהצלחה...
  • The Backstage of MCS

    בפוסט הזה אני מבקש לחשוף מיספר היבטים של פעילות יועצי MCS. חלק גדול מהפעילות מותאמת לפרויקט הספציפי שבו היועץ עובד. חלק מהפעילויות הן פעילויות שחוזרות על עצמן. בפעילויות אלו ארחיב בהמשך. מיקרוסופט מחלקת את המוצרים ל-Service Lines או בקיצור SL:   כל מוצר "יושב" ב-SL שלו. לדוגמא: Win 7 ב- SL2 SharePoint ב- SL3 BI, SQL והפיתוח ב- SL4 Dynamics CRM ב- SL יש גם פתרונות לורטיקאליים השונים והם יושבים ב-SL6. ייעוץ אסטרטגי שלנו לאירגונים (ESC/ITAP ) ממוקם ב- SL1 התמיכה (Premier) ב-SL7 – לא מופיעים...
  • Create OLAP Failed – XML parsing failed at line 1, column 0: A document must contain exactly one root element.

    Create OLAP Failed – XML parsing failed at line 1, column 0: A document must contain exactly one root element. I’ve visit one of my customers and saw a strange error in the event log: Errors in the metadata manager. An error occurred when instantiating a metadata object from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\TfsWarehouse.0.db\Today.886.dim.xml'. Detailed Message: Create OLAP failed Exception Message: XML parsing failed at line 1, column 0: A document must...
  • טיפ קצר: ייצוא מלא של הנתונים ב DB כולל סכמה ונתונים

    אפשרות חמודה שקיימת ב SQL Manegment Studio 2008 היא להגדיר לאופציית ה” GEnerate Scripts” של הדטאבייס גם לייצא את הנתונים (כלומר, לייצר משפטי INSERT לטבלאות). האפשרות הזאת לא קיימת בגרסא 2005 (יש Generate Scripts – אין Data – כלומר שלמדתי על בשרי כשלא הבנתי לאן נעלמה האפשרות), אבל אין שום מגבלה על התקנה ושימוש ב Management Studio 2008 גם מול instance של SQL Server 2005. השימוש העיקרי של האפשרות הזאת, הוא העברת מידע משרתי הפיתוח לפרודקשן כאשר רוצים להעביר טבלאות חדשות מסויימות או אובייקטים חדשים מסויימים...
  • Cannot open database "TfsWarehouse" requested by the login

    Cannot open database "TfsWarehouse" requested by the login I Installed TFS 2008 on Server 2008 with SQL 2008, everything during the installation went fine except the reports. When I tried to process the cube using SSMS I got the following error: Detailed Message: Cube processing runtime error: \r\nMicrosoft.AnalysisServices.OperationException: Internal error: The operation terminated unsuccessfully.Internal error: The operation terminated unsuccessfully.OLE DB error: OLE DB or ODBC error...
  • Insert and Update pattern for multiple threads application with SQL Server

    Hi, Have you ever try to insert a row in to a SQL table if the key does not exist and update a row if a key exists. Well this is very common scenario. Usually you would achieve this goal by writing SQL like: if exists ( select * from TestTable where ID = @id ) begin update TestTable set myCount = myCount + 1 where ID = @id end else begin insert into TestTable values ( @id , 1 ) end This code will work fine for single threaded applications but will not work for multiple threads application. To solve...

Page 1 of 2 (14 items) 1 2 Next >