Viewing 15 posts - 12,946 through 12,960 (of 26,486 total)
xenophilia (4/11/2012)
How would you trim a string that looks like this? I need only the string between the first set of backslashes.\Beverages\Soda Pop\Mountain Dew
Is the first backslash always...
April 11, 2012 at 3:09 pm
Nadrek (4/11/2012)
PaulB-TheOneAndOnly (4/9/2012)
The only way to know is to test and see what happens.
Either way the key portion of it all is the reorg storedproc, be sure the process does...
April 11, 2012 at 3:03 pm
Write a select query first to help you identify the data you need to insert.
April 11, 2012 at 2:24 pm
Tammy Robinson (4/11/2012)
Sorry, maybe I was a little unclear. I have a TABLE with the data already in it. I am not trying to create the table. I was just...
April 11, 2012 at 2:18 pm
roryp 96873 (4/11/2012)
You'll want to partition the row_number by year as well if you are going to have dates with different years.
Take a close look at the code in the...
April 11, 2012 at 2:02 pm
My experience setting up mirroring required a full backup and then a transaction log backup from the principal database.
I have had another DBA say the t-log wasn't needed, but I...
April 11, 2012 at 2:01 pm
GilaMonster (4/11/2012)
Sean Lange (4/11/2012)
April 11, 2012 at 1:46 pm
Please note how I set things up. This is what you really need to do when asking a question instead of relying on us to do it.
CREATE TABLE dbo.MyTable...
April 11, 2012 at 1:39 pm
You should probably read this: http://www.sqlservercentral.com/articles/Administration/64582/.
April 11, 2012 at 1:02 pm
It is quite interesting what one remembers when walking past a conversation one isn't involved in. Random information sometimes has a way making it to ones long term mamory...
April 11, 2012 at 12:48 pm
Could also be the UPDATE statement.
If you have a development system, try this:
SELECT 1;
WHILE @@ROWCOUNT > 0
BEGIN
UPDATE TOP(5000) w SET
...
April 11, 2012 at 12:44 pm
Here is my suggestion. Create an empty table, insert the data there, then using SQL, you can insert the appropriate records into the appropriate tables in a set-base manner.
April 11, 2012 at 12:33 pm
hbtkp (4/11/2012)
it doesnt matter , how do i get those value in select stm
It does matter.
Going down the same road as with of the other OPs. I think it's...
April 11, 2012 at 12:31 pm
Not sure but I think this individual, xenophilia, should change their name to xenosqlia.
April 11, 2012 at 12:28 pm
xenophilia (4/11/2012)
April 11, 2012 at 12:27 pm
Viewing 15 posts - 12,946 through 12,960 (of 26,486 total)