Insert in to table using Cursors ?
Hi,I have more than 300000 records ( more than 11 GB ) with content datatype in one table called "table1 ( server 1)"I would like to insert all data from "table1" to "table2 (server 2 )"If i try using...
View ArticleBizspark Member - Microsoft SQL Server License
Hi all,I have recently joined Bizspark programme and however, I am a bit confused by the Microsoft SQL Server license for Bizspark members.Question (1):I can find SQL Server 2012 Standard Edition with...
View Articlecolumns with same name
What can be done to have two identical column name in table?Is it possible?
View ArticleCan I compare two databases from within SQL Server Management Studio
Hi everyone. I haven't found anything online, so I wanted to ask here. I have two SQL Server databases running on our server. One is the production database, and another is my development database...
View Articledatetime conversion
I have a parameter datetime but i do not have the time setting on my reporting so i am converting my datetime parameter to date. Now when i select the date range of partdeclare @begindate datetime =...
View ArticleStrange phenomenon? Transient case sensitivity in one database
Hello,I received a report that someone experienced case sensitivity all of a sudden in a database that has never been case sensitive before. She said it only lasted a few minutes and then was fine....
View Articlefiles
HI,If a ldf file is deleted in a database what you can do( If backup is not available) and mdf file is deleted what u can do?
View ArticleDetermine feature avaibility in different editions
I have one query. Few days back I had a change scheduled for online index rebuild on SQL 2005. Unfortunately I forgot to check SQL server edition beforehand and change went unsuccessful it turned out...
View Articleis this script completed or any modification required..
SET NOCOUNT ON declare @a int select @a=count(*) from sys.databases where state > 0 if @a=0 Select 'GREEN' as Status, 'All Databases are Online!' as Description else begin create table #dbstate(id...
View ArticleQUERY PERFORMANCE
Hi,If we have select statement with many joins, how can we know which query is taking more time?
View Articlebackup related
from one database .mdf file deleted how recover it?with backup how to recover i know it..with out any backup,is there any chance to recover..?
View ArticleUpdate statistics
Hi,Update statistics run successfully on sunday. After that on wednesday large volume of data is inserted into the databases. What will you do on wednesday?
View ArticleBlocking
Hi,If you found a block on the server when update statistics is running then what u do?
View Articlesingle update query of single column
select status from t_statusResult ========== N S U N NNeed Update Query : N = U, S = N , U = SShanmugaRajIt is an table with Packge_ID , STATUS
View ArticleIndexes
Hi,If reorganize the index or rebuild the index, that time can we access the data?
View ArticleIdentify Orphaned Users
I am using sql server 2012 and have orphaned db users.How to identify which are orphaned users and which are not?Much appreciate if i can get a quick response in this regard.Thanksvemurudivya
View ArticleTEMPDB & Model Database Dependence
Hi allI'm just looking to clear something up regarding SQL startup, TEMPDB and its dependence on the Model databaseI have a "non-default" TempDB - by this I mean that I have Moved it to a different...
View Article