Sql database recovery?
Databases in my MS SQL Server 2014 have a condition - suspend, according to SQL Management Studio. I can't bring them into a work state through standard procedures. I used third-party tools, but they...
View Articleadding one more column for SubTotal in Select statement
HI EXPERTS,need your help badly.......We have a table with 2 columns 'OrderNo' and 'Amount' as below [b]ORDERNO | AMOUNT[/b]1D1ZX000 | 9262.51D1ZX001 | 9000.01D1ZX001 | 9000.01D1ZX002 | 100001D1ZX003 |...
View ArticleWhen is an In-Memory table a good solution?
I've read through a few articles on In-Memory tables for 2014, such as the one below. It seems that there are a lot of limitations to the feature, or at least when combined with natively compiled...
View ArticleNCIT Solutions
NCIT Solutions Provides offshore IT, Web design, software programming services for clients in the US and worldwide, with offshore prices and best quality.The mission of NCIT Solutions is to provide...
View ArticleSQL Query
Please help me in doing this exercise.ItemID ItemName Price1 Item1 120.002 Item2 234.003 Item3 250.004 Item4 300.005 Item5 300.006 Item6 290.007 Item7 170.008 Item8 90.009 Item9 170.00the above is the...
View ArticleDatabase and its Objects Naming Standards
I am trying to establish the standards for naming convention in my new project. Can you please provide me the best standards which worked for you.ThanksEsha
View Articlecount the order on weekly basis
I want the count of orders of a particular table on weekly basis i.e if date given to me is 10\03\2014 then my output should be count of orders from date 10\03\2014 to 09\03\2014(one week) then count...
View ArticleMigrate from Oracle trigger to MSSQL trigger
Hi I am new to MSSQL server. I have problem in migration from ORACLE trigger to MSSQL server. Here below the trigger in Oracle..<<--------Trigger Begin----------->>create or replaceTRIGGER...
View ArticleGet SharePoint logged-in user using SQL Server
HiI have created a SharePoint external list using SQL Server, the data source is SQL Server. Is there way that I could get the logged-in SharePoint user and stored in SQL Seever?Thanks
View ArticleHow to remove trailing zeros from a decimal (type) value?
Hi Everyone,I would like to 'drop' some trailing zeros from a decimal value, e.g.: 50.000000, and I am wondering how to go about this?The value is definitely of decimal type, and in this instance I...
View ArticlePlease hlp me to creating package upsert
Hi, Please help me how to create package upsert industry and want to do update and insert operations from database.
View ArticleSQL Query to make a single records from multiple records based on different...
I need help in writing the query for the following, I need to collapse the continuity. If the termdate for an ID is one day less than the effdate of the next id (for the same ID) i need to collapse the...
View ArticleSanitising inputs when creating a sql string by concatenation in C#
I'm not sure if this is really the right sub forum but it seemed the closest fit. It's really about .Net development against SQLServer in general than anything to do with 2014 specifically. If I've...
View ArticleNeed help in getting SQL query
Hi All,Need your help on getting the sql query for the below dataEMP ID Flag Processing DateABC1 yes Current DateABC1 No Old DateDEF1 Yes Current DateDEF1 No Old DateGHI1 Yes Old DateJKL1 yes Current...
View ArticleInsert data from .pdf files
Hi everyone,We are facing a problem with loading data from .pdf files from vendor..pdf files have data in tabular format and we would like to insert those fields into a SQL table.We do not want to...
View Articleneer to select values which is in common
i have a temp table #student_detailswhich contains below valuesstudent_id subject_id 1 111 3 111 4 111 5 111 3 121 4 121i need to select the students which is common in both subjects,what should i...
View Articleimporting access 2007 to sql 2014 express
Anyone know of a way to move tables from access 2007 to SQL 2014 express?The import export data tool that comes with it will not even think about importing the indexes keys/autonumber.Migration...
View ArticleMemory Optimized tables - large data sets
Hi -I'm testing SQL 2014 - in particular, memory optimized tables. We loaded the memOptimized tables (2 Billion rows) from replica conventional tables. For clarity sake - we have conventional tables...
View ArticleSQL Server 2008 Select All Points within Polygon
I have a table which hold records that contain all the lat/long points. I want to select all records that are within a polygon. Any help with the actual SQL statement I need would be greatly appreciated.
View Article