Viewing 15 posts - 8,371 through 8,385 (of 59,072 total)
Suppose you have column ID in table T. Try the following:
Select ID, CAST(ID as Varbinary(255)) as Hex From T.
I find this to be sufficient in almost every case (and...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2019 at 2:32 pm
Hi,
just take a look to dbatools.io.
With a few commands you are able to copy database, jobs and logins from server a to server b.
It is realy simple.
Kind regards,
Andreas
If you're...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2019 at 1:41 pm
Shifting gears a bit, have a look at the original post on the following thread (no need to pile on.. I'm just confused) ...
The OP posted this early on...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2019 at 6:20 am
Thank you for the thoughtful reply. Indexes can be a load of "fun", especially when they belong to 3rd parties that have such things a VARCHAR(1) and other datatype attrocities.
You...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2019 at 4:52 am
@JeffModen,
Okay, I know it took longer than expected, but I finally got my hands on the code that updates that table. Here's the process. Once a record has been...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 9:07 pm
To help resolve this problem across the board, for all your queries, you really need to re-cluster the CommoditySupplier table. This is a classic case of the "default clustering...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 4:23 pm
Hi Jeff ,
I'm using SQL Server 2012. I just need to split the values and bring in a select statement. I don't want to insert them anywhere.
The see...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 4:10 pm
Prior to doing a fail over, see if there are any Killed/Rolled Rollbacks.
If there are, I'd say there's a 99.5 % chance that you've been bitten by a problem with...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 4:04 pm
Yes, you can do it using something like VirtualBox on your PC - but you'll need to have plenty of RAM and spare disk space. There are various...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 3:45 pm
Hi Jeff ,
I'm using SQL Server 2012. I just need to split the values and bring in a select statement. I don't want to insert them anywhere.
The see the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 3:12 pm
Hi Guys ,
I have column with Values like 1111\123132\34342323\1212. I used the above code to split it . But this doesn't work. The code returns blank. Can you please...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 1:54 pm
I don't know much about SSIS but, if I had to guess, I'd say that the 1900 date has absolutely nothing to do with file names. I'd say that SSIS...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 1:26 pm
p.s. You might want to post the stored procedure and the contents (or a least a sample of) the control table. See the first link in my signature line below...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 1:21 pm
thanks for your answer. I googled batch mode and I guess I need some more experience and knowledge before I'd be able to transform my code into batch mode.
Probably...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 1:19 pm
Hi Jeff
Yes the datatype is represented that way within the DB.
I'm also worried about Policy and BatchMonth. I will talk to the Database Administrator as Policy should be Char while...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2019 at 1:10 pm
Viewing 15 posts - 8,371 through 8,385 (of 59,072 total)