Quantcast
Channel: ฟอรัม Getting started with SQL Server
Browsing all 8428 articles
Browse latest View live

Operand data type varchar is invalid for subtract operator error

on creating of sp, using the char index, i am getting error as CREATE TABLE [dbo].[TempTable]( [ID] [int] NOT NULL, [Name] [nvarchar](128) NULL, [ProductCategory] [nvarchar](64) NULL ) INSERT INTO...

View Article


optimizing the stored procedure

Hi,I am new to the optimizing stored procedureI am posting my procedure, please give me tips to optimize thatSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE procedure...

View Article


Can't login into SQL Server: due to remove AD role

hi everybodyI have windows server 2008 r2, with sql server 2008 installed on it and the SQL server was tied to windows authentication, and my windows had the DC role,I removed the DC role, now I can't...

View Article

Password expiry option for sql server logins

Hi Experts,Can we set 'password expiry option' at a time for sqlserver logins as in sybase.ThanksShashikala

View Article

Migration from MS Access 2003

Hello,I'm very new to MS SQL Server; I just downloaded Express 2005 yesterday.  I have it up and running; it seems to be working fine.Now onto business - I need to migrate data from existing MS Access...

View Article


Indexing a table

I've created a new table and added data to it. Now I want to index a given column. Will simply creating and saving the index index the column or do I need to do something else to create the actual...

View Article

Varchar(Max) field cutting off data after 8000 characters SQL Server 2008

Hi,We have a scenario on which we are preparing the SQL query dynamically by string concatenat and then at the end EXECUTING the query using EXECUTE statement but observed that the VARCHAR(MAX) data...

View Article

Sql server setup

Hi  gurus   I am new to sql server and I am in the process to deploy one on my small enterprise, I would like to know if someone can help me, on how to setup the server to better take advantage of the...

View Article


Long running query generates big log file. How to fix it?

Thanks

View Article


optimizing storedprocedure

Hi,This is my stored procedure, Is there any way to avoid temptable to improve performanceCREATE procedure [dbo].[sp_GetMALReportDetails](@CategoryID INT = null, @StatusID INT = null, @UserTypeId int =...

View Article

what is database re indexing

hiwhat  is database re indexing what is the concept of it, adil

View Article

what is database fragmentation

HiWhat is database fragmentation and how its happendis it relates to database insertion ,update,delete operationsadil

View Article

UPDATE, DELETE & SEARCH METHODS

please help me with an examples of update, search &or delete methods.im using C# and sql server. i want to update/delete/search information from the database using a GUIi want methods to do all...

View Article


BACKUP failed to complete the command BACKUP DATABASE. Check the backup...

Hi,We have a back up that is failing.The error is "BACKUP failed to complete the command BACKUP DATABASE RPS. Check the backup application log for detailed messages.".As I understand it the backup...

View Article

SQL log file

Dear all,I have a SQL 2008 R2 installed on a SCCM server and the Report Server database log file has grown massively (almost 400GB). However I have attempted to shrink it via the SQL server management...

View Article


Backup taking days together

Hello Everyone..Let suppose, a backup process is used to get completed in 2 hours.All of a sudden, if it is taking days together to be completed, what might be the reasons?Thanks and Regards, Junior...

View Article

Query Timing Out in Management Studio

SQL Server 2008 R2.  Management Studio.First, under Tools>Options>Query Execution, the timeout is set to "0" which is supposed to men unlimited execution wait!However, when trying to debug a...

View Article


Sql FULL Backup with "Copy_only" option

Does the "COPY_ONLY" Full back option have these two properties?1. Does NOT set the file backup archive bit2. Does NOT truncate the transaction logTIA,edm2P.S I am having conflicts with a third party...

View Article

Image may be NSFW.
Clik here to view.

Spread the Love! Be our SQL Server TechNet Guru, this Valentine's

TechNet loves you! We love your contributions at TechNet Wiki sooo much that we give you more than just love in return...We give you NOTORIETY, GLORY... and VIRTUAL MEDALS!That's not all, this love we...

View Article

How to fix this alert? What's happened? Thanks

thanks

View Article
Browsing all 8428 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>