A foreign key accepting null values
Hello All,A foreign key should not accept null values right ( since it references the values of primary key column which cannot have nulls )?But we experienced this situation.Can anyone tell what might...
View ArticleConnection Failed SQL State: 'HYT00' SQL Server Error: 0 [Microsoft] [ODBC...
I backed up my database on old Notebook SQLSTRINGCONNECT worked all day for any database in SQL SERVR I createdhave brand new computer Notebookinstalled SQL SERVER 2008 THE EXACT SAME WAYI...
View ArticleSQL SERVER MANAGEMENT STUDIO 2008 - WINDOWS AUTHENTICATION (default username...
Hi Experts I use SQL SERVER MANAGEMENT STUDIO 2008; In that normally we have Windows authentication, server authentication ; Through server authentication I am able to login with out any user name and...
View ArticleLong running Query
Hi I need to show the demonstration on performance tuning on long running queries in my local,i dont have production database with me. Is there any script to make the query to run long and will do the...
View ArticleWindows Autherntication Mode and Weblogic date source
Hi,I installed SQL server 2008 and i tryed to create weblogic data source with my locally installed SQL server 2008.( Weblogic also locally insatlled) But it throws "This is the SQL server log in...
View Articledelete row from stored Procedure
Hi,In the below query have insert and update commnds .If i want delete existing row i dont know how to update the table..[SP_AEmpTimeSheet] -- Add the parameters for the stored procedure here...
View ArticleHow to write formulas based on text of columns in another table
We have thousands of formulas stored in a table 'Formulas'. How can we calculate values from a data table 'D1' based on the formulas in 'Formulas'Table 'D1' has columns:V1 V2 V3 V4 V5with standard...
View ArticleDowngrade SQL server 2012 Business Intelligence edition to SQL server 2008...
HiI have SQL server 2012 business intelligence volume licence, I want to downgrade it to SQL server 2008 enterprise. If yes than I would like to know the procedure for downgrading.Thanks for helpAnant...
View ArticleNever ending query execution
Hello All,When i executed a query till yesterday, its running fine.But today when i try to execute, the execution is never ending.Please help me by telling the possible reasons for this situation.Note:...
View Articleerror line 86
USE [redhotkitties2005db] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[proc_rhkprod_lock_items_for_paypal]@cfuseridid bigint,@transaction_guid uniqueidentifier = NULL AS...
View ArticleMsg 102, Level 15, State 1, Line 1 Incorrect syntax near ','.
USE [redhotkitties2005db] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[proc_carttotals] @appuserid int AS CREATE TABLE #TEMP (quantity INT, tblProductsFK INT, tblPeopleFK...
View ArticleNewbie Needs Help With Excel Import Into SQL
One of our departments would like a contacts database based on what they have entered into an Excel Spreadsheet. The spreadsheet has 50 columns and 25 rows. Do I just import what's in the spreadsheet...
View ArticleSQL Server 2008 Installation Error
I found this error when i am try to Install SQL Server 2008 on Windows 8TITLE: Microsoft SQL Server 2008 Setup ------------------------------ The following error has occurred: Error getting file...
View ArticleRequire SQL Server features for server application (.net)
Hi. I wrote a program that is installed on both client and server version. client versiondoes not require SQL Server, butI want to install SQL Server on server computerfor service to the clients. Now:...
View ArticleConnection failed SQL Server 2008 R2 with Instance Name but with IP connect
Hello,We have a server where SQL Server 2008 R2 is installed. Now from our local pc we connect to that database. I try to connect that database using instance name but cannot. If I put IP Address in...
View Articleneed help understanding what i am doing wrong in my insert statement
insert into employees (employeeid, firstname, lastname, title) Values ('1001', 'jack', null, 'shepard', 'salesperson'); insert into employees (employeeid, firstname, lastname, title) Values ('1002',...
View ArticleInstallation issue SQL server 2008 R2
I am installing sql server 2008 r2 enterprise on my server I am getting error as following1. First this error came "sql2008 R2\enterprise\resources\1033\setup.rll either not designed to run on windows...
View ArticleDoes configuring Instant file initialization do anything to speed up native...
I am trying to determine if setting up Instant file initialization would speed up a native SQL Backup Maintenance Plan Job
View ArticleCompletion Time
Hi All,Database backup was running since last one hour how can we check How much time take to complete this backup process.For this any script is there please let me know.subu
View Articlesimple recovery
Hi All,Its very basic question for my understanding I have try to learn my self but need some important and Perfect information request to you every body please answer the below.In Simple recovery...
View Article