Working mode SqlServer
hello maintains sqlserver database in RAM, and will synchronize with disc; oracle as does every 10 seconds and 1 second approximately
View ArticleNew to SQL code - can someone explain what is happening here please? Doing...
So I've just started a new job and have inherited some SQL code - which I and the rest of the team do not understand (as it's written by someone who has now left).The code deals with inserting xml into...
View ArticleSql: why delete top (1) from table does not work in store procedure?
Inside store procedure, we try to delete top row from a table @TableDeclare @Temp Table (ItemNumber int Primary key)Insert into @Temp select 1UnionSelect 2Delete Top (1) From @Tempselect * from @Tempwe...
View ArticleSQL Server 2008 R2 VM only seeing 4 CPU's
Hi AllI have SQL Server 2008 R2 Server / CAL SQL licensingI have a Server 2008 / SQL Server 2008 R2 VM Guest Host is Hyper-V 2012 with 2x 6 core CPU's with HyperThreading, so 24 logical procsI have...
View ArticleNewbie
Error 40 "The System cannot find the file specified"..WHAT FILE??????????? I know my username/password, and I guessed the instance in the CMD prompt (sqlcmd -L)After a day of install of SQL Server 2012...
View ArticleUDP ports 137/138 has to be allowed for sql server remote communication?
Can I use the host file to resolve instead of using NetBIOS?I am not using any file sharing or replication service, just using sql remote communication from server 1 to server 2(SELECT, insert , update...
View Articlecan i change Data & log file path for a single/specific database in sql server?
Is it possible to change data & log file path for single or individual database and keeping other databases data n log file paths to default location only.
View ArticleRegarding sqlserver
Hi, we have two non cluster indexes on tableindex1index2when we retrieve data using select, based on index2 data should be retrievePlease help me
View ArticleSingle script doesnt run, if I separate it, it runs
Hello everyone! I have a script that when I run it in parts, it works perfectly, but if I compile it into one, it wont run, keep saying that the column that was added in the script before it doesnt...
View ArticleAverage no of farmers in each Mouza/Town.
I have a table name farmer data and it has attributes like farmer name, father name, pesticides used, town etc (these attributes would be required for query). also the data type of columns is var char....
View ArticleLooking for.....
Hi,I have spent about three hours looking for a good beginning book on SQL Server and Tools. The book I want is one that goes into the detailed environment of SQL Server(create database, create tables,...
View ArticleService Pack Upgradation
Hi,While upgrading SP i am getting below errror.Please helpERROR: sql server setup has encountered the following error:The NT service 'MsDtsServer100 could not started.Error code 0X84B20001
View ArticleLike operator ignores latin small letter a with dot above [ȧ] in select query.
Hi,below query returns result in both the casesActual DatancharTitle ----------- JȧSØÑ when running query...
View ArticleCannot step into the function when debug. Why?
Hi thereMS SQL has the debugging feature - nice. But I cannot use it. Once I setup the break point in the function code and click Debug button on the Sql Management Studio toolbar, it positions on the...
View ArticleWhy I cannot see the scalar function result?
Hi thereI have the following function:ALTER FUNCTION [dbo].[getVacQueuePriority]( @deadLine DateTime, @reqID integer ) RETURNS...
View ArticleLinked Server from SQL Server 2012 to SAS
Has anyone ever successfully setup a linked server to SAS? If so, what were the steps that you followed, or do you have any documentation on this? We have a base SAS 9.1 environment. I am trying to...
View ArticleDB Size and Space Available troubles
Hello GuysI have a DB with the "Size" of 20gb (SpaceAvailable 17.4GB), last friday the size was only 16GB... but the strange thing is, the "space Available" is now 17.4 GB... last friday it was...
View ArticleQuery With out using inner query..?
The image shows the design of my SQL table...and that is the output that i want...And With out using any SubQuery(InnerQuery) Plz help me to solve this
View ArticleDatabase file size in SQL Server 2008 R2
What's the database file size limitation of SQL Server 2008 R2 Enterprise Edition and Professional Edition?Thank.
View Articlecant start sql-server cervice
hii installed sql-server 2012, i got some problem in installation....i try again and now its work.MSSQLSERVER - not work , so i make hem disableMSSQLSERVER2 - work excellentif i open the service...
View Article