maintenance

Technical Article

RE: Strange error from QA

  • Reply

I made the chnages but still got the error. I am psoting the entire query in cae it might help. ========================================== DECLARE @ID INT DECLARE @Name varchar(200) DECLARE @Text nVarchar(2000) DECLARE @cDate datetime DECLARE @ColID int DECLARE @Type varchar(10) -- Declare the cursor DECLARE CURSOR_OBJ CURSOR LOCAL FAST_FORWARD FOR SELECT TOP 100 PERCENT dbo.sysobjects.id, dbo.sysobjects.name, […]

You rated this post out of 5. Change rating

2003-06-18

Technical Article

RE: NT's System Monitor

  • Reply

I do this using a tool called typeperf. However typeperf can be a headache because you have to send a keystroke to the console to exit. So what I have is a dts package that using a vbscript to execute typeperf and send a keystroke. Then I I have another package that modifies the csv […]

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: switching off the identity on a column

  • Reply

Ok, I went back to BOL and looked at the syntax. The IDENTITY option is only available if you are adding a column. ALTER COLUMN allows you to add or drop ROWGUIDCOL but not IDENTITY. EM does it by creating a new table with the IDENTITY property, copying the data to it, dropping the old […]

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: switching off the identity on a column

  • Reply

As a final note, you may want to go into Enterprise Manager and change the table in the Design View, then click Save Script button and see what SQL internally thinks is the best method for handling this...Sometimes this technique is useful in figuring out some of the trickier DDL constructs... Good luck!

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: Stored Procs & Variables

  • Reply

Thanks too jpipes. Think that would work too. I just figured this out and it seems to work, this is what I've done: ....Get the field names into a rs as @FieldName then loop.... DECLARE @RetrievedValue nvarchar(50) , @sql nvarchar(1000), @col sysname, @colVal varchar(50) SELECT @col = @FieldName SELECT @sql = N'SELECT @colVal =' + […]

You rated this post out of 5. Change rating

2003-06-13

Technical Article

RE: ConnectionRead (recv())

  • Reply

Problem Solved. After running a packet sniffer for a while I discovered that there was an ARP request for the IP of the database server right before the problem. So as it turns out there was a network camara sharing its IP address. The camara was on the same network segment so its ARP request […]

You rated this post out of 5. Change rating

2003-06-11

11 reads

Technical Article

RE: Decimal versus Money and division

  • Reply

Hello BillyWilly, quote: No big deal - I'll just do some casting during division to get the 12 precision I want - just found this to be interesting. it is interesting! For further information on decimal data type see http://standards.ieee.org/reading/ieee/std_public/description/busarch/854-1987_desc.html or http://www2.hursley.ibm.com/decimal/decbits.html . Hope this will feed your appetite for information Cheers, Frank

You rated this post out of 5. Change rating

2003-06-10

1 reads

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers