hiding the USE line when modifying a procedure in a database
Hi,Whenever I do into a database to modify a procedure the proc was the "Use <database>" query at the top. Is there any way to prevent this from coming up when I click to modify a procedure? Thanks
View ArticleDeploying copies of an existing database to the same server
Hello. I'm trying to understand what is the best way to deploy a brand new database with the exact same schema as an existing DB on the same server, but with a different name. I want to preserve the...
View Articlei have some code
i have some code and i want to know what these are?select next_val sequence from dual ;another oneselect current _val sequence from dual;please help me fullness thanks in advance.
View ArticleSQL Fool's Index Defrag Script
Hi,I was looking at SQLFool's index defrag with the intention of running it on my databases.Can anybody please tell me how I should run it? Are there any instructions?The script can be found at...
View ArticleCompare two table columns and count ..
Hi friends..I need help.. I used CTE to retrieve 40 records. i have another table "Fam" it have 1000 records.. i need to search that 40 records in that 1000 records if there is any matches then i need...
View ArticleMemory issue on server
Below are the memory details on one of my production server in our environment.Total physical memory on server is 40GBsql server is assigned 32GBAmount of memory sql server is using is 28GB(total...
View ArticleHow to secure connection strings?
Dear All, I have a question about connection strings. i am sure there would be more than one buddies who will be able to help me.I am develope a web page using SQL 2005 and ASP. and I am using INC...
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 ArticleWindows 7 CREATE DATABASE permission denied in database 'master'. (Microsoft...
HiI have migrated to a new computer using Windows 7, 6 gig memory, I7 chip (old machine had xp) and have installed Visual Studio 2008 and SQL Server 2008 R2. I get CREATE DATABASE permission denied in...
View ArticleLock request time out period exceeded
Hi All,I am gettting this warning very frequently while trying to expand tables or use management studion when I am creating index, creating partition and also even if I run any select query in other...
View ArticleError while changing immediate_sync to false in sql server 2008 R2
Facing issue while disabling the immediate_sync in sql server 2008R2Below the query which i ran to find out the publication and immediate sync statusselect immediate_sync,publication from...
View ArticleParent Child dispaly
With my new data, need result for below scenario ´````````````` CREATE TABLE ´´´´´´´´´´´´´´´´ CREATE TABLE [dbo].[Travel_Master]( [Load_Id] [int] NULL, [Mode_Id] [nchar](2) NULL, [Mode_Info]...
View Articledatetime
hi,how to display only date format in sql 20051 edward 2014-01-05 00:00:00.000 2014-01-11 00:00:00.000 Sun 2014-01-05 00:00:00.000 Administrative Work edison 9:30am 5:30pm 5 30 10 07:15:00 NULL NULL...
View ArticleI am having problems with downoloading SQL Express 2012 to my laptop.
I have this two failed results.-SQL server Replication-Database Engine ServicesI think it is my laptop and I am trying to buy a new one.ANAcer Black Aspire V5-131-2629 11.6" Laptop PC with Intel...
View ArticleCan't login SQL Server 2008 R2 Express management studio
Hi i recently installed SQL Server 2008 R2 management studio. When I try to login i select 'Database engine' as the server type, I'm not sure what server name I'm supposed to be using but I tried...
View ArticleSQL 2000 instance was not upgraded to sql 2005 after in-place upgrade
Hi there, I just did an in-place upgrade of our sql 2000 to sql 2005. Here are the steps I did:1. Ran sql upgrade advisor.2. Reviewed and corrected issues in the upgrade advisor log.3. Ran the sql...
View Article"SqlServerWriter" has reported an error 0x800423f4
Hello,I have some backups set up. And we have just moved to external HDD as a backups storage. And from the moment we moved to this HDD backups fail with the following error (from log...
View ArticleSQL Server 2008 R2 license requirements in a proof of concept environment
We have a web application product that utilizes SQL Server as its backend database. For production systems, we deploy SQL Server 2008 R2 Enterprise edition.We have a customer that would like to do a...
View ArticleSQL Server 2008 First time Login failed
I try to login via Windows Authentication, it gives the following error:Login failed for the user 'pcname\SQLEXPRESS'.(Microsoft SQL Server, Error:18456).
View Articlehelp me to generate the query
The database scheme consists of four tables: - Product(maker, model, type) - PC(code, model, speed, ram, hd, cd, price) - Laptop(code, model, speed, ram, hd, screen, price) - Printer(code, model,...
View Article