Quantcast
Channel: Questions in topic: "sql-server-2005"
Browsing all 415 articles
Browse latest View live
↧

How to track modification counters in SQL 2005/08

Hi In SQL Server 2008 R2(SP2) onwards we have a DMV (sys.dm_db_stats_properties)to track the modification counters but in 2005 and 2008 how can I track this ?

View Article


Not able to login to SQL Server

I am getting the following error on my SQL Server SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows...

View Article


Isolation Levels issue

I read so many articals but am getting little bit confusion about repeatable read and serilazible snapshot levels. And i need good clarification about phantom reads, when am doing practically in...

View Article

SQL 2005 Cluster install reboot issue

Hi, I am currently tasked with restoring a node to our 3 node DR cluster as it failed a while back. The box was either fixed or replaced, however, last week I receivedthe following error when I ran...

View Article

most efficent way to flag records in sql 2005

I need a way to flag 3 records per segmentcode with a mtgflag = 1. If a segmentcode on a record does not have a mtgflag = 1, then flag any other record for that segmentcode randomly. Ex: I have 4...

View Article


Update field if value is NOT found

I want to flag 1 record **PER SEGMENT_CODE** by setting LiveSample to a "Y" IF MTGFlag = 1. If a segment code **DOES NOT** have a MTGFlag = 1 like CB3 in attachment, I want to set LiveSample = Y on any...

View Article

find series in number

i have data in this format 89279 89280 89281 89282 89283 89284 89285 89286 89287 89288 160447 160448 160449 160450 160451 160452 160453 160454 160455 160456 160457 160458 i want oput in this format...

View Article

Calculate commission using Premium,Calculate commision using Premium..

I have written a script where i am updating commission, when premium > 0, And commision = 0 If totalpremium =0. UPDATE psc SET psc.Commission = (CASE WHEN ISNULL(pc.TotalPremium,0) > 0 THEN...

View Article


Want to insert '&' symbol in data.

Hi All, I have a source table where one of column has data like: **Column** SD SD **..** **..** JK Jk **..** **..** I want to load this data into staging in format of: **Column** S&D S&D **..**...

View Article


Service Broker issue using WAITFOR (RECEIVE TOP (1000)

Has anyone run into this using Service Broker queues. I'm doing the following in a activation SP. WAITFOR (RECEIVE TOP (1000) queuing_order , conversation_handle , message_type_name , CONVERT(XML,...

View Article

can we need server restart after install microsoft .net framework 4?

Hi, We have .net framework 3.5 SP1 and we are using Microsoft(R) Windows(R) Server 2003 Standard x64 Edition So we are planning to install microsoft .net framework 4 in our server. In our server we are...

View Article

Replacing Logshipping with Replication/Mirrioring in SQL 2005

Hi, We are currently using Log shipping for HA. However, since the DB size and processes running at all times gives me a hard time to have the backup job completed during the night. So I would like to...

View Article

How to copy table with data from sql server 2005 to Mysql workbench 5.2ce

Can someone help me to find right to copy tales with data from SQL Server 2005 to MySQL workbench?

View Article


SQL Server 2008 R2 installation

Hello i want small information that can we download SQL Server 2008 R2 Enterprise edition and install it with out license and can we upload the license after getting the license.as my client is saying...

View Article

Types of pages in sql server 2005?

Is there any **videos** with the explanation on types of pages with script to see those pages how to work?

View Article


SQL Server Transactional Replication - Schema change failed on object -...

Greetings, this is my first question posted to SSC, please have mercy! :) We have Transactional Replication running from SQL Server 2005 to 2012 (both standard editions). The distributor sits with the...

View Article

how to split address field to street type, street name, number?

Im developing a web application in c #. Net to standardize street addresses. What I need to do now is the following: In a database sql server 2005 I have 3 tables: 1. Street address that need split,...

View Article


Mirroring from SQL 2005 to SQL2008 R2

Are there any problem to take a backup from SQL 2005, restore the backup on both the principal and the secondary server running SQL2008R2 and activate mirroring between them. It feels like there can be...

View Article

Transaction log backup vs Tail Log backup...

What is the difference between Log Backup and Tail Log backup... Internally how the SQL SERVER works on both types of backups... I mean T-log backup is when ever it fires on full recovery model it...

View Article

I want to know num of rows inserted

WHILE((SELECT COUNT(*) FROM tbl_craigslist_leads )>0) begin try insert into server_table select TOP(1)* from tbl_craigslist_leads end try begin catch if @@Error=2627 begin SELECT ERROR_NUMBER() AS...

View Article
Browsing all 415 articles
Browse latest View live