November on TechNet: Calling All SQL Server Gurus - Enlighten Us!
"An influential teacher, or popular expert" Oh mighty reader, we need your enlightenment! Only YOU can show us... the TRUE WAY to code! Win the love and adoration of generations to come, by giving...
View ArticleHow to signal a condition from inside the SP/Function
Hi thereI'm working on Pervasive -> MS SQL migration project. The Pervasive has the operator SIGNAL which allows you to signal an exception condition or a completion condition other than successful...
View ArticleNeed Help with sql server 2012, and sql server 2008
I am stumped and about ready to move to oracle. I have migrated a production database to SQL Server 2008 express on another server running windows 2008 r2 enterprise, and moved it to another server...
View ArticleSQLVDI errors on SQL Server 2008 R2
Several days ago the Veeam backup for my SQL Server 2008 R2 server started to fail with SQLVDI errors. I originally thought it was a Veeam issue, but last night I tried running Windows Server Backup...
View ArticleIdentity key error
I with a identity value. I then Inserted 988 test records. When I then inserted a new record the identity was 55. What could be the reason for this
View Articlebackup fail; looks like a login/ rights problem
SQL server 2008 R2 on WIN 7Using Management Studio Trying to learn backps; all fail with: Backup failed for Server 'WIN7\SQLEXPRESS'. (Microsoft.SqlServer.SmoExtended)For help, click:...
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 ArticleWorking 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 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 Article