How to get multiple sum values between two dates in single table
How to get multiple sum (monthly and quarterly) values between two dates from single table ...
View ArticleIntersect set operator
Hello everyone.Can we use INTERSECT set operator in a procedure or user defined function?-- Thanks and Regards Srikar Reddy Gondesi, Trainee SQL Server Database Administrator Miracle Software systems,...
View ArticleCalendar in SQl Server 2008
Hi , I want to print a calendar in SQL Server 2008 based on the Month entered. I should not use date functions, how can i get a calendar without using date functions?Please help me with the code.Thanks
View Articleinfo
what are the best book to learn about sql server 2012 from scratch with some background on sql from oracle and db2
View ArticleHow to Open Or read SQL Server log file .ldf
Hi all,How to Open Or read SQL Server logfile .ldf When ever we create database from sql server, it's create two file. (1) .mdf (2) .ldf.I want to see what's available inside the .ldffile. Thanks,Ashok
View Articlemonth date
I have in sql table column name "Datum" type date "yyyy.MM.dd." I want to make a query if month date i Datum = now month ("SELECT sum([Ob4])'Ob4' FROM arb WHERE month([datum]) = MONTH(date)", cs) like...
View ArticleUPDATE is not allowed error when trying to create stored procedure
One of our client's Train databases is getting the following error when we try to create a stored procedure that uses the UPDATETEXT statement:"UPDATETEXT is not allowed because the column is being...
View ArticleAbout data reader permission
Is data reader permission to that database enough to give user READ access on ALL objects (Tables/Views/Functions/Stored_Procedures) under that database ? or need something different?Thanks
View Articlesimple query
what query to write to count the no of commas in a given string 'abc,xyz,def,pqr,lmn'?
View ArticleHow to create conditional update trigger in sql server
How to create conditional update trigger in sql server
View ArticleIs it correct way to write the following trigger?
USE [dbo] GO /****** Object: Trigger [dbo].[month_u2] Script Date: 02/01/2014 13:18:59 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER TRIGGER [dbo].[month_u2] ON...
View ArticleClustered index on Client_ID+ORderNO+OrdersubNo, If i create 3 noncluster...
Dear All. We had Teradata 4700 SMP. We have moved data from TD to MS_SQL SERVER 2003. records are 19.65 Millions. table is >> Order_DtlColumns are:-Client_ID varchar 10Order_ID varchar...
View ArticleBackup Job for User db's is failing
Backup job for User databases is failing.I found below errorsView job historyStep 0:The job failed. The job was invoked by schedule 4(DBMP_User). The last step to run was step 1(subplan)Step 1:Message:...
View Articlecopy diagram to clipboard for sql server 2012 the row did not appear when...
hello,i've been trying to create database diagram on my database on sql server 2012 platform. i can create the diagram, but when copy it to clipboard and try to paste it on paint, only the tables name...
View ArticleDB snapshot updates failing during update - SQL Server 2005 SP4 EE 64bit-...
We're able to create a snapshot of a 1.4TB database by using the following SQL commands:use mastergoCREATE DATABASE tws_prod_snapshot ON( NAME = tws_prod, FILENAME = 'E:\MSSQL\DATA\tws_prod_ss_file.ss'...
View ArticleBooks or articles for management/executives
This is not necessarily MSSQL specific, but anything SQL Server specific probably wouldn't hurt.Our company is highly dependent upon millions of customers and billions of their transactions. We have...
View ArticleMultiple SQL Server Program Files
I am very inexperienced using SQL Server and having a problem installing SQL Server Management Studio. I think a big part of my problem is the number of SQL Server files on my computer. There are 11...
View ArticleConverting IBM ASC (Viewpoint) to SQL Server 2005
Is there any other way besides manually changing and moving ASC Sequels. I was thinking there was a way that will do the translation without having to manually do it. Also if there is a way will it...
View ArticleUnable to install SQL Server CE Server Tool on SQL Server 2000 SP 4
Hi I am facing problem with installing SQL Server CE Server Tool,I have installed SQL Server 2000 SP 4 which is working fine.While i am running Setup of "SQL Server 2000 Windows CE Edition version 2.0"...
View ArticlePlease setup information of sql server database on web server
I have create database name and userid and password and now i want to create tables on sql server through enterprise manager. I have problem to connect registration.
View Article